summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier BOL (xbo) <xbo@odoo.com>2020-12-11 11:53:48 +0100
committerXavier BOL (xbo) <xbo@odoo.com>2020-12-21 15:35:20 +0100
commitcfb5eb052a4400053d18bc7494b16b2d23ef5ae6 (patch)
treeba95ad3b1ed18ea8159f0ae5a510467ace6b4e7c
parent782fbd8075d82393c1a33cc52f34006a9fb340a8 (diff)
[FIX] sale_timesheet: change uom in a demo product
Before this commit, the uom of 'Service on Timesheet' product is in Unit (it's the uom by default). In this commit, we change the uom of this product to set it as product_uom_hour task-2409761
-rw-r--r--addons/sale_timesheet/data/sale_service_data.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/addons/sale_timesheet/data/sale_service_data.xml b/addons/sale_timesheet/data/sale_service_data.xml
index b0042b6acdc..1cc43e67f4c 100644
--- a/addons/sale_timesheet/data/sale_service_data.xml
+++ b/addons/sale_timesheet/data/sale_service_data.xml
@@ -5,6 +5,8 @@
<field name="name">Service on Timesheet</field>
<field name="type">service</field>
<field name="list_price">40</field>
+ <field name="uom_id" ref="uom.product_uom_hour"/>
+ <field name="uom_po_id" ref="uom.product_uom_hour"/>
<field name="service_policy">delivered_timesheet</field>
<field name="image_1920" type="base64" file="sale_timesheet/static/img/product_product_time_product.png"/>
</record>