Cédric Krier pushed to branch branch/default at Tryton / Tryton


Commits:
386a850b by Cédric Krier at 2023-02-07T23:03:17+01:00
Remove non-standard work day unit

Since 5b0f99f81e32 it is not possible to customize rate and factor of unit
which makes such non-standard unit more an issue than a feature.

Closes #12071
- - - - -


2 changed files:

- modules/product/CHANGELOG
- modules/product/uom.xml


Changes:

=====================================
modules/product/CHANGELOG
=====================================
@@ -1,3 +1,4 @@
+* Remove non-standard work day unit
 * Add energy units and category
 * Add barcode function on product identifier
 * Add identifier_get to product


=====================================
modules/product/uom.xml
=====================================
@@ -142,13 +142,6 @@
             <field name="factor" eval="1."/>
             <field name="rate" eval="1."/>
         </record>
-        <record model="product.uom" id="uom_work_day">
-            <field name="name">Work Day</field>
-            <field name="symbol">wd</field>
-            <field name="category" ref="uom_cat_time"/>
-            <field name="factor" eval="8."/>
-            <field name="rate" eval="0.125"/>
-        </record>
         <record model="product.uom" id="uom_day">
             <field name="name">Day</field>
             <field name="symbol">d</field>



View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/386a850b55c7e57af47119a0c3ad7ea529e6269c

-- 
View it on Heptapod: 
https://foss.heptapod.net/tryton/tryton/-/commit/386a850b55c7e57af47119a0c3ad7ea529e6269c
You're receiving this email because of your account on foss.heptapod.net.


Reply via email to