From 4ebef78ce45d2040a6662cfbc0dd9798c247298b 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/data/rma_operation.xml | 22 +- rma/data/rma_sequence.xml | 24 +- rma/data/stock_data.xml | 195 ++--- rma/demo/stock_demo.xml | 95 +-- rma/report/rma_report.xml | 2 +- rma/report/rma_report_templates.xml | 189 +++-- rma/security/rma.xml | 82 +- rma/views/product_view.xml | 53 +- rma/views/res_config_settings_views.xml | 23 +- rma/views/res_partner_view.xml | 23 +- rma/views/rma_menu.xml | 113 ++- rma/views/rma_operation_view.xml | 78 +- rma/views/rma_order_line_view.xml | 709 ++++++++++++------ rma/views/rma_order_view.xml | 367 +++++---- rma/views/stock_view.xml | 13 +- rma/views/stock_warehouse.xml | 21 +- rma/wizards/rma_add_stock_move_view.xml | 155 ++-- rma/wizards/rma_make_picking_view.xml | 115 +-- .../rma_order_line_make_supplier_rma_view.xml | 83 +- 19 files changed, 1495 insertions(+), 867 deletions(-) diff --git a/rma/data/rma_operation.xml b/rma/data/rma_operation.xml index 9d1fc02f..92e3fec0 100644 --- a/rma/data/rma_operation.xml +++ b/rma/data/rma_operation.xml @@ -1,4 +1,4 @@ - + Replace After Receive @@ -6,8 +6,8 @@ ordered received customer - - + + @@ -16,8 +16,8 @@ ordered ordered supplier - - + + @@ -26,9 +26,9 @@ ordered no customer - - - + + + @@ -37,9 +37,9 @@ no ordered supplier - - - + + + diff --git a/rma/data/rma_sequence.xml b/rma/data/rma_sequence.xml index d025881e..db71c5ca 100644 --- a/rma/data/rma_sequence.xml +++ b/rma/data/rma_sequence.xml @@ -1,12 +1,12 @@ - + Customer RMA sequence rma.order.customer 5 RMAG/%(year)s/ - - + + @@ -14,9 +14,9 @@ rma.order.supplier 5 RTVG/%(year)s/ - - - + + + @@ -24,9 +24,9 @@ rma.order.line.customer 5 RMA/%(year)s/ - - - + + + @@ -34,9 +34,9 @@ rma.order.line.supplier 5 RTV/%(year)s/ - - - + + + diff --git a/rma/data/stock_data.xml b/rma/data/stock_data.xml index 08d4e687..eab5ee67 100644 --- a/rma/data/stock_data.xml +++ b/rma/data/stock_data.xml @@ -1,216 +1,233 @@ - + WH RMA internal - + DOC RCO 5 - + INC RCI 5 - + DOS RSO 5 - + INS RSI 5 - + DSS DSS 5 - + RMA → Customer - + RMA → Customer - - - + + + outgoing Customer → RMA - + Customer → RMA - - - + + + incoming RMA -> Supplier - + RMA -> Supplier - - - + + + outgoing Supplier -> RMA - + Supplier -> RMA - - - + + + incoming Customer -> Supplier - + Customer -> Supplier - - - + + + incoming Supplier -> Customer - + Supplier -> Customer - - - + + + incoming - - - - - + + + + + RMA Customer - + 10 - - - - + + + + RMA Supplier - + 10 - - - - + + + + RMA Dropship - + 10 - - - - + + + + Customer → RMA pull - - - + + + make_to_stock - - + + RMA → Customer pull - - - + + + make_to_stock - - + + RMA → Supplier pull - - - + + + make_to_stock - - + + Supplier → RMA pull - - - + + + make_to_stock - - + + Customer → Supplier pull - - + + make_to_stock - - + + Supplier → Customer pull - - + + make_to_stock - - + + diff --git a/rma/demo/stock_demo.xml b/rma/demo/stock_demo.xml index 0c22b4df..8149b189 100644 --- a/rma/demo/stock_demo.xml +++ b/rma/demo/stock_demo.xml @@ -1,4 +1,4 @@ - + @@ -6,57 +6,65 @@ RMA Customer Sequence out RMA/CUST/OUT 5 - + RMA Customer Sequence in RMA/CUST/IN 5 - + RMA Supplier Sequence out RMA/SUPP/OUT 5 - + RMA Supplier Sequence in RMA/SUPP/IN 5 - + RMA Dropship RMA/DS 5 - + Customer -> Supplier - - - - + + + + incoming Supplier -> Customer - - - - + + + + incoming @@ -64,58 +72,59 @@ RMA Customer 10 - - - - + + + + RMA Supplier 10 - - - - + + + + RMA Dropship 10 - - - - + + + + Customer → Supplier pull - - - + + + make_to_stock - - + + Supplier → Customer pull - - - + + + make_to_stock - - + + - + diff --git a/rma/report/rma_report.xml b/rma/report/rma_report.xml index b2222392..531fb5cb 100644 --- a/rma/report/rma_report.xml +++ b/rma/report/rma_report.xml @@ -1,4 +1,4 @@ - + +