Skip to content

Commit

Permalink
[IMP] rma: rma operation required for picking return wizard only if q…
Browse files Browse the repository at this point in the history
…uantity set

Co-authored-by: Jacques-Etienne Baudoux <[email protected]>
  • Loading branch information
sbejaoui and jbaudoux authored Aug 16, 2024
1 parent 3f0d9cf commit a93dca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rma/wizard/stock_picking_return_views.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<xpath expr="//field[@name='product_return_moves']//tree" position="inside">
<field
name="rma_operation_id"
attrs="{'column_invisible': [('parent.create_rma', '=', False)], 'required': [('parent.create_rma', '=', True)]}"
attrs="{'column_invisible': [('parent.create_rma', '=', False)], 'required': [('parent.create_rma', '=', True), ('quantity', '>', 0)]}"
/>
</xpath>
<field name="product_return_moves" position="before">
Expand Down

0 comments on commit a93dca8

Please sign in to comment.