[FIX] mrp: set decimal precsion on qty field for produce wizard
In manufacturing bom lines, digits_compute is set to the precision 'Product Unit of Measure'. It should be the case as well in the produce wizard, otherwise you won't be able to change the quantity within this wizard to the according product quantity precision opw-629657
This commit is contained in:
parent
20173836b1
commit
948befbb34
|
@ -29,7 +29,7 @@ class mrp_product_produce_line(osv.osv_memory):
|
|||
|
||||
_columns = {
|
||||
'product_id': fields.many2one('product.product', 'Product'),
|
||||
'product_qty': fields.float('Quantity (in default UoM)'),
|
||||
'product_qty': fields.float('Quantity (in default UoM)', digits_compute=dp.get_precision('Product Unit of Measure')),
|
||||
'lot_id': fields.many2one('stock.production.lot', 'Lot'),
|
||||
'produce_id': fields.many2one('mrp.product.produce'),
|
||||
'track_production': fields.related('product_id', 'track_production', type='boolean'),
|
||||
|
|
Loading…
Reference in New Issue