stock_usability: clean-up zero-qty quants when opening quants from stock.location
When accessing stock.move.line from the show reservation on quants, in the form view of stock.move.line, have a link to the picking
This commit is contained in:
@@ -24,5 +24,5 @@ class StockQuant(models.Model):
|
||||
('package_id', '=', self.package_id.id or False),
|
||||
('result_package_id', '=', self.package_id.id or False),
|
||||
]
|
||||
action['context'] = {'create': 0}
|
||||
action['context'] = {'create': 0, 'stock_move_line_main_view': True}
|
||||
return action
|
||||
|
||||
Reference in New Issue
Block a user