[FIX] mrp: don't show reserved column for byproducts
No longer show the reserved column from by-products production registration on an MO. Task ID: 2797692 closes odoo/odoo#87225 Pr: https://github.com/odoo/odoo/pull/86768 X-original-commit: 7aa08fe325490bf6ca5efe8b9b7be4bcae843826 Signed-off-by: Tiffany Chang <tic@odoo.com>
This commit is contained in:
@@ -343,6 +343,7 @@ class StockMove(models.Model):
|
||||
elif self.production_id:
|
||||
action['views'] = [(self.env.ref('mrp.view_stock_move_operations_finished').id, 'form')]
|
||||
action['context']['show_source_location'] = False
|
||||
action['context']['show_reserved_quantity'] = False
|
||||
return action
|
||||
|
||||
def _action_cancel(self):
|
||||
|
||||
Reference in New Issue
Block a user