c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #27806
[Bug 804357] Re: [V6.0.2] MRP - impossible to change decimal precision in wizard field inherited
*** This bug is a duplicate of bug 800970 ***
https://bugs.launchpad.net/bugs/800970
** This bug has been marked a duplicate of bug 800970
osv_memory cannot change decimal precision of fields, and probably because it ignores it
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/804357
Title:
[V6.0.2] MRP - impossible to change decimal precision in wizard field
inherited
Status in OpenERP Modules (addons):
New
Bug description:
For functionnal needs I inherit from the osv_memory wizard
"change_production_qty"
I redefine the field "product_qty" adding a decimal precision as
following :
_columns = {
'product_qty': fields.float('Product Qty', digits_compute= dp.get_precision('Manufacturing Product UoM'), required=True),
}
of course, the "manufacturing Product UoM" have been entered in
administration menu with 3 digits after comma.
--> the new decimalization isn't take in care !
This piece of code works somewhere else for other fields in other
modules ...... but i think perhaps not in an osv.osv_memory object ??
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/804357/+subscriptions
References