[FIX] mrp: Two fields with the same label on stock.move
The field quantity_done_store had the same label as the field product_uom_qty on model "stock.move" and there were confusions in the pivot view of "stock.move". opw:1841097
This commit is contained in:
@@ -2161,6 +2161,11 @@ msgstr ""
|
||||
msgid "Quantity To Produce"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp
|
||||
#: model:ir.model.fields,field_description:mrp.field_stock_move_quantity_done_store
|
||||
msgid "Quantity done store"
|
||||
msgstr ""
|
||||
|
||||
#. module: mrp
|
||||
#: model:ir.model.fields,field_description:mrp.field_mrp_routing_workcenter_batch_size
|
||||
msgid "Quantity to Process"
|
||||
|
||||
@@ -91,7 +91,7 @@ class StockMove(models.Model):
|
||||
quantity_available = fields.Float(
|
||||
'Quantity Available', compute="_qty_available",
|
||||
digits=dp.get_precision('Product Unit of Measure'))
|
||||
quantity_done_store = fields.Float('Quantity', digits=0)
|
||||
quantity_done_store = fields.Float('Quantity done store', digits=0)
|
||||
quantity_done = fields.Float(
|
||||
'Quantity', compute='_qty_done_compute', inverse='_qty_done_set',
|
||||
digits=dp.get_precision('Product Unit of Measure'))
|
||||
|
||||
Reference in New Issue
Block a user