From 2c98d044ac2c5a79b22970bded5b35f3f143e708 Mon Sep 17 00:00:00 2001 From: HviorForgeFlow Date: Fri, 29 May 2020 12:27:01 +0200 Subject: [PATCH] [IMP] Update pre-commit lints according with OCA ones --- rma_sale/data/rma_operation.xml | 10 +- rma_sale/views/rma_operation_view.xml | 10 +- rma_sale/views/rma_order_line_view.xml | 109 +++++++++++------- rma_sale/views/rma_order_view.xml | 22 ++-- rma_sale/views/sale_order_view.xml | 44 ++++--- rma_sale/wizards/rma_add_sale.xml | 94 +++++++++------ .../rma_order_line_make_sale_order_view.xml | 67 ++++++----- 7 files changed, 220 insertions(+), 136 deletions(-) diff --git a/rma_sale/data/rma_operation.xml b/rma_sale/data/rma_operation.xml index b0fcfd39..2cb1bcd9 100644 --- a/rma_sale/data/rma_operation.xml +++ b/rma_sale/data/rma_operation.xml @@ -1,4 +1,4 @@ - + @@ -9,8 +9,8 @@ no no customer - - + + @@ -21,8 +21,8 @@ no received customer - - + + diff --git a/rma_sale/views/rma_operation_view.xml b/rma_sale/views/rma_operation_view.xml index 4ab4a56d..a8b91640 100644 --- a/rma_sale/views/rma_operation_view.xml +++ b/rma_sale/views/rma_operation_view.xml @@ -1,13 +1,13 @@ - + rma.operation.tree rma.operation - + - + @@ -15,10 +15,10 @@ rma.operation.form rma.operation - + - + diff --git a/rma_sale/views/rma_order_line_view.xml b/rma_sale/views/rma_order_line_view.xml index c6d0f5e5..de05431b 100644 --- a/rma_sale/views/rma_order_line_view.xml +++ b/rma_sale/views/rma_order_line_view.xml @@ -1,41 +1,51 @@ - + rma.order.line.form rma.order.line - +
-
- + - - + + - + - + - + @@ -44,29 +54,35 @@ rma.order.line.supplier.form rma.order.line - +
-
- - + + - + - + @@ -75,24 +91,32 @@ rma.order.line.form rma.order.line - +
-
rma.order.line.supplier.form rma.order.line - +
-
@@ -100,11 +124,18 @@ rma.order.line.select - rma_sale rma.order.line - + - - + + diff --git a/rma_sale/views/rma_order_view.xml b/rma_sale/views/rma_order_view.xml index f3fd9c47..2bde19ac 100644 --- a/rma_sale/views/rma_order_view.xml +++ b/rma_sale/views/rma_order_view.xml @@ -1,17 +1,23 @@ - + rma.order.form rma.order - +
-
diff --git a/rma_sale/views/sale_order_view.xml b/rma_sale/views/sale_order_view.xml index 3bbdecbf..3c132486 100644 --- a/rma_sale/views/sale_order_view.xml +++ b/rma_sale/views/sale_order_view.xml @@ -1,16 +1,19 @@ - + sale.order.form sale.order - + - + expr="//notebook/page/field[@name='order_line']/form/group/group/field[@name='price_unit']" + position="after" + > + @@ -20,17 +23,26 @@ sale.order.form.sale.rma sale.order - + - - diff --git a/rma_sale/wizards/rma_add_sale.xml b/rma_sale/wizards/rma_add_sale.xml index ada0af02..6ebffb1b 100644 --- a/rma_sale/wizards/rma_add_sale.xml +++ b/rma_sale/wizards/rma_add_sale.xml @@ -1,50 +1,69 @@ - - + rma.add.sale rma_add_sale
- + - + - + - + context="{'partner_id': partner_id}" + /> - + - - - - - - - - - - - + + + + + + + + + + +
@@ -56,20 +75,25 @@ rma_add_sale form new - - + +
rma.order.form - sale wizard rma.order - + -