add website_decimal_quantity

This commit is contained in:
Luis 2026-10-02 10:05:22 +02:00
parent 0323b6672e
commit 9d69e5f095
67 changed files with 1858 additions and 0 deletions

View 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>