diff --git a/rma_sale/views/rma_order_line_view.xml b/rma_sale/views/rma_order_line_view.xml index 2a8b36df..4d0f3322 100644 --- a/rma_sale/views/rma_order_line_view.xml +++ b/rma_sale/views/rma_order_line_view.xml @@ -41,7 +41,7 @@ /> - + @@ -50,7 +50,11 @@ - + @@ -67,13 +71,13 @@ name="%(action_rma_order_line_make_sale_order)d" string="Create Sales Quotation" class="oe_highlight" - attrs="{'invisible':['|', ('qty_to_sell', '=', 0), ('state', '!=', 'approved')]}" + attrs="{'invisible':['|', '|', ('qty_to_sell', '=', 0), ('state', '!=', 'approved'), ('sale_policy', '=', 'no')]}" type="action" />