4ce7af3573
Set a default value for factor when creating a new uom. Could not create a new UoM with type reference (if creates a reference uom, no need to pass a factor). Change the readonly filter to (type = bigger) to make the field writable for reference uom. This is needed to force the reset of the factor when switching of type (onchange_type). As the field was readonly, kept the old value for factor. |
||
---|---|---|
.. | ||
i18n | ||
process | ||
report | ||
security | ||
test | ||
tests | ||
wizard | ||
__init__.py | ||
__openerp__.py | ||
_common.py | ||
partner.py | ||
partner_view.xml | ||
pricelist.py | ||
pricelist_view.xml | ||
product.py | ||
product_data.xml | ||
product_demo.xml | ||
product_image_demo.xml | ||
product_pricelist_demo.yml | ||
product_report.xml | ||
product_shortcut_data.xml | ||
product_view.xml |