diff options
| author | Victor Feyens <vfe@odoo.com> | 2019-04-10 09:56:23 +0000 |
|---|---|---|
| committer | jem-odoo <jem@openerp.com> | 2019-05-14 12:26:41 +0000 |
| commit | 59059a480f22197ff141173f053fd59ffeb56223 (patch) | |
| tree | 61891f14ff6816f95bb988ad37154f49d17fd720 /addons/uom/data/uom_data.xml | |
| parent | 7702f2e59a69518f5fd70a39c1918ad5121ede9f (diff) | |
[IMP] uom: rename measurement type 'time' into 'working_time'
This commit rename the measrurement_type 'time' into
'working_time' to be more precise, as time might means
duration.
This changes prepare the distinction between 'working time'
and international duration unit.
Task-1971491
Diffstat (limited to 'addons/uom/data/uom_data.xml')
| -rw-r--r-- | addons/uom/data/uom_data.xml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/addons/uom/data/uom_data.xml b/addons/uom/data/uom_data.xml index 2c5cf503797..0e79ad9cce7 100644 --- a/addons/uom/data/uom_data.xml +++ b/addons/uom/data/uom_data.xml @@ -14,7 +14,7 @@ </record> <record id="uom_categ_wtime" model="uom.category"> <field name="name">Working Time</field> - <field name="measure_type">time</field> + <field name="measure_type">working_time</field> </record> <record id="uom_categ_length" model="uom.category"> <field name="name">Length / Distance</field> @@ -39,6 +39,7 @@ <field name="factor_inv" eval="12"/> <field name="uom_type">bigger</field> </record> + <record id="product_uom_kgm" model="uom.uom"> <field name="category_id" ref="product_uom_categ_kgm"/> <field name="name">kg</field> @@ -51,6 +52,7 @@ <field name="factor" eval="1000"/> <field name="uom_type">smaller</field> </record> + <record id="product_uom_day" model="uom.uom"> <field name="name">Day(s)</field> <field eval="uom_categ_wtime" name="category_id"/> |
