Skip to content

Commit 50d0921

Browse files
[IMP] repair_picking_after_done: hide Create Transfer
As the remaining quantity can be negative, the condition to set the button invisible has to change to match this behavior
1 parent 98cf1bb commit 50d0921

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

repair_picking_after_done/views/repair.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
name="action_transfer_done_moves"
1212
string="Create Transfer"
1313
type="object"
14-
invisible="state != 'done' or remaining_quantity == 0 or not product_id"
14+
invisible="state != 'done' or remaining_quantity < 1 or not product_id"
1515
/>
1616
</header>
1717
</field>

0 commit comments

Comments
 (0)