add website_decimal_quantity
This commit is contained in:
parent
0323b6672e
commit
9d69e5f095
67 changed files with 1858 additions and 0 deletions
19
website_decimal_quantity/data/uom_category_data.xml
Normal file
19
website_decimal_quantity/data/uom_category_data.xml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<odoo>
|
||||
<data noupdate="1">
|
||||
<!-- Set allow_decimal_quantity to True for Weight category -->
|
||||
<record id="uom.product_uom_categ_kgm" model="uom.category">
|
||||
<field name="allow_decimal_quantity">True</field>
|
||||
</record>
|
||||
|
||||
<!-- Set allow_decimal_quantity to True for Volume category -->
|
||||
<record id="uom.product_uom_categ_vol" model="uom.category">
|
||||
<field name="allow_decimal_quantity">True</field>
|
||||
</record>
|
||||
|
||||
<!-- Set allow_decimal_quantity to False for Unit category (default is False anyway) -->
|
||||
<record id="uom.product_uom_categ_unit" model="uom.category">
|
||||
<field name="allow_decimal_quantity">False</field>
|
||||
</record>
|
||||
</data>
|
||||
</odoo>
|
||||
Loading…
Add table
Add a link
Reference in a new issue