diff --git a/addons/stock/models/stock_move.py b/addons/stock/models/stock_move.py index feec9ba4f14..735f0c53f94 100644 --- a/addons/stock/models/stock_move.py +++ b/addons/stock/models/stock_move.py @@ -146,7 +146,7 @@ class StockMove(models.Model): restrict_partner_id = fields.Many2one('res.partner', 'Owner ', help="Technical field used to depict a restriction on the ownership of quants to consider when marking this move as 'done'") route_ids = fields.Many2many('stock.location.route', 'stock_location_route_move', 'move_id', 'route_id', 'Destination route', help="Preferred route") warehouse_id = fields.Many2one('stock.warehouse', 'Warehouse', help="Technical field depicting the warehouse to consider for the route selection on the next procurement (if any).") - has_tracking = fields.Selection(related='product_id.tracking', string='Product with Tracking') + has_tracking = fields.Selection(related='product_id.tracking', string='Product with Tracking', readonly=True) quantity_done = fields.Float('Quantity Done', compute='_quantity_done_compute', digits=dp.get_precision('Product Unit of Measure'), inverse='_quantity_done_set') show_operations = fields.Boolean(related='picking_id.picking_type_id.show_operations') show_details_visible = fields.Boolean('Details Visible', compute='_compute_show_details_visible')