diff --git a/rma/views/rma_order_line_view.xml b/rma/views/rma_order_line_view.xml index 6a7b9fe3..86aac3cc 100644 --- a/rma/views/rma_order_line_view.xml +++ b/rma/views/rma_order_line_view.xml @@ -640,5 +640,16 @@ + + Request Approval + + + code + +if records.filtered(lambda x: x.state == "draft"): + records.filtered(lambda x: x.state == "draft").action_rma_to_approve() + + +