Public bug reported: 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 ?? ** Affects: openobject-addons Importance: Undecided Status: New -- 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 _______________________________________________ Mailing list: https://launchpad.net/~c2c-oerpscenario Post to : c2c-oerpscenario@lists.launchpad.net Unsubscribe : https://launchpad.net/~c2c-oerpscenario More help : https://help.launchpad.net/ListHelp