diff --git a/rma/views/rma_order_line_view.xml b/rma/views/rma_order_line_view.xml index 2e4edbed..f2daa31e 100644 --- a/rma/views/rma_order_line_view.xml +++ b/rma/views/rma_order_line_view.xml @@ -213,12 +213,18 @@ - + - + @@ -274,7 +280,11 @@ /> - + diff --git a/rma/wizards/rma_make_picking_view.xml b/rma/wizards/rma_make_picking_view.xml index 111a9ee2..d1902fdb 100644 --- a/rma/wizards/rma_make_picking_view.xml +++ b/rma/wizards/rma_make_picking_view.xml @@ -108,26 +108,26 @@ name="%(action_rma_picking_in)d" string="Create Incoming Shipment" class="oe_highlight" - attrs="{'invisible':['|', ('qty_to_receive', '=', 0), ('state', '!=', 'approved')]}" + attrs="{'invisible':['|', '|', ('qty_to_receive', '=', 0), ('state', '!=', 'approved'), ('receipt_policy', '=', 'no')]}" type="action" />