[FIX] stock: always show the detailed operation button
We want be able to click on the button right at the stock move creation Task: 3256447 X-original-commit: d8926ec8f4a2d8f7840ea4c0ddd8393a74e57d90 Part-of: odoo/odoo#126069
This commit is contained in:
@@ -249,7 +249,7 @@ class StockMove(models.Model):
|
||||
else:
|
||||
move.show_details_visible = (((consignment_enabled and move.picking_code != 'incoming') or
|
||||
show_details_visible or move.has_tracking != 'none') and
|
||||
move.state != 'draft' and
|
||||
(move.state != 'draft' or move.picking_id) and
|
||||
move.show_operations is False)
|
||||
|
||||
def _compute_show_reserved_availability(self):
|
||||
|
||||
Reference in New Issue
Block a user