Skip to content
Snippets Groups Projects
Commit bf2f3f6c authored by Naglis Jonaitis's avatar Naglis Jonaitis
Browse files

[IMP] mrp: remove `check_company` attribute from float field


Since `check_company` is intended for relational fields.

closes odoo/odoo#38908

Signed-off-by: default avatarSimon Lejeune (sle) <sle@openerp.com>
parent bb775152
No related branches found
No related tags found
No related merge requests found
......@@ -13,7 +13,7 @@ class StockMoveLine(models.Model):
production_id = fields.Many2one('mrp.production', 'Production Order', check_company=True)
lot_produced_ids = fields.Many2many('stock.production.lot', string='Finished Lot/Serial Number', check_company=True)
lot_produced_qty = fields.Float(
'Quantity Finished Product', digits='Product Unit of Measure', check_company=True,
'Quantity Finished Product', digits='Product Unit of Measure',
help="Informative, not used in matching")
done_move = fields.Boolean('Move Done', related='move_id.is_done', readonly=False, store=True) # TDE FIXME: naming
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment