-
+
-
+
Shipping address:
-
+
Shipping address:
-
-
VAT:
+
+
VAT:
-
+
Shipping address:
-
-
VAT:
+
+
VAT:
-
+
@@ -169,22 +236,25 @@
- |
- |
- |
+ |
+ |
+ |
-
-
+
+
|
-
+
|
Additional Information
-
+
@@ -193,7 +263,10 @@
-
+
diff --git a/rma/security/rma.xml b/rma/security/rma.xml
index d0ea0ffc..d6de5e04 100644
--- a/rma/security/rma.xml
+++ b/rma/security/rma.xml
@@ -1,72 +1,100 @@
-
+
RMA
-
+
30
RMA Customer User
-
-
+
+
RMA Supplier User
-
-
+
+
RMA Manager
-
-
-
+
+
+
Addresses in RMA
-
-
+
+
RMA Groups
-
+
-
+
-
+
rma order multi-company
-
-
- ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
+
+
+ ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
rma order line multi-company
-
-
- ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
+
+
+ ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
rma operation multi-company
-
-
- ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
+
+
+ ['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]
diff --git a/rma/views/product_view.xml b/rma/views/product_view.xml
index ffb37dcd..368b3e49 100644
--- a/rma/views/product_view.xml
+++ b/rma/views/product_view.xml
@@ -1,19 +1,29 @@
-
+
product.category.form
product.category
-
+
-
-
-
+
+
+
@@ -22,17 +32,24 @@
product.template.stock.property.form.inherit
product.template
-
+
-
-
-
-
+
+
+
+
diff --git a/rma/views/res_config_settings_views.xml b/rma/views/res_config_settings_views.xml
index 5f20fa52..d3e205c4 100644
--- a/rma/views/res_config_settings_views.xml
+++ b/rma/views/res_config_settings_views.xml
@@ -1,23 +1,28 @@
-
res.config.settings.view.form.inherit.rma
res.config.settings
-
+
-
+
Return Merchandise Authorization
-
+
-
+
Display 3 fields on rma: partner, invoice address, delivery address.
@@ -25,10 +30,10 @@
-
+
-
+
Group RMA lines in one RMA group
@@ -36,10 +41,10 @@
-
+
-
+
Enable RMA invoicing
diff --git a/rma/views/res_partner_view.xml b/rma/views/res_partner_view.xml
index 3c9755f0..fd3e277f 100644
--- a/rma/views/res_partner_view.xml
+++ b/rma/views/res_partner_view.xml
@@ -1,4 +1,4 @@
-
+
@@ -7,14 +7,19 @@
-
diff --git a/rma/views/rma_menu.xml b/rma/views/rma_menu.xml
index 3d5bdf73..4cd225b4 100644
--- a/rma/views/rma_menu.xml
+++ b/rma/views/rma_menu.xml
@@ -6,94 +6,143 @@
name="RMA"
groups="rma.group_rma_customer_user,rma.group_rma_supplier_user,rma.group_rma_manager"
web_icon="rma,static/description/icon.png"
- sequence="100"/>
+ sequence="100"
+ />
-
+ parent="menu_rma_root"
+ />
+ action="action_rma_customer"
+ />
+ action="action_rma_customer_lines"
+ />
-
+ parent="menu_rma_root"
+ />
+ action="action_rma_supplier"
+ />
+ action="action_rma_supplier_lines"
+ />
-
+ parent="menu_rma_root"
+ />
-
+
-
+ action="action_rma_operation_customer"
+ />
-
+ action="action_rma_operation_supplier"
+ />
-
-
-
-
+
+
+
+
-
-
+
-
+
+ action="account.res_partner_action_supplier"
+ sequence="60"
+ />
diff --git a/rma/views/rma_operation_view.xml b/rma/views/rma_operation_view.xml
index 8b98317e..39d992b3 100644
--- a/rma/views/rma_operation_view.xml
+++ b/rma/views/rma_operation_view.xml
@@ -1,15 +1,15 @@
-
+
rma.operation.tree
rma.operation
-
-
-
-
-
+
+
+
+
+
@@ -21,38 +21,52 @@
diff --git a/rma/views/rma_order_line_view.xml b/rma/views/rma_order_line_view.xml
index fc203ba5..20c4ee4d 100644
--- a/rma/views/rma_order_line_view.xml
+++ b/rma/views/rma_order_line_view.xml
@@ -1,24 +1,26 @@
-
+
rma.order.line.tree
rma.order.line
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -27,19 +29,24 @@
rma.order.line.supplier.tree
rma.order.line
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
@@ -50,160 +57,235 @@
@@ -215,38 +297,66 @@
@@ -387,36 +547,79 @@
rma.order.line
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
@@ -428,31 +631,37 @@
[('type','=', 'customer')]
{"search_default_assigned_to":uid}
tree,form
-
+
Supplier RMA
rma.order.line
[('type','=', 'supplier')]
- {"search_default_assigned_to":uid, "supplier":1}
+ {"search_default_assigned_to":uid, "supplier":1}
tree,form
-
+
-
-
+
+
tree
-
+
-
-
+
+
form
-
-
+
+
diff --git a/rma/views/rma_order_view.xml b/rma/views/rma_order_view.xml
index 982908fe..e471e9e9 100644
--- a/rma/views/rma_order_view.xml
+++ b/rma/views/rma_order_view.xml
@@ -1,14 +1,18 @@
-
+
rma.order.tree
rma.order
-
-
-
-
+
+
+
+
@@ -18,11 +22,14 @@
rma.order
-
-
-
-
+
+
+
+
@@ -32,102 +39,153 @@
rma.order
@@ -138,100 +196,145 @@
rma.order
@@ -242,15 +345,23 @@
rma.order
-
-
-
-
+
+
+
+
-
-
+
+
@@ -262,7 +373,7 @@
[('type','=', 'customer')]
{'customer':1}
tree,form
-
+
@@ -271,22 +382,20 @@
[('type','=', 'supplier')]
{'supplier':1}
tree,form
-
+
-
-
+
+
tree
-
+
-
-
+
+
form
-
-
+
+
diff --git a/rma/views/stock_view.xml b/rma/views/stock_view.xml
index e8d4655f..c097ff3c 100644
--- a/rma/views/stock_view.xml
+++ b/rma/views/stock_view.xml
@@ -1,4 +1,4 @@
-
+
rma.move.form
@@ -7,19 +7,22 @@
-
+
-
+
stock.location.route.form
-
+
stock.location.route
-
+
diff --git a/rma/views/stock_warehouse.xml b/rma/views/stock_warehouse.xml
index 617e2cab..ebdf941c 100644
--- a/rma/views/stock_warehouse.xml
+++ b/rma/views/stock_warehouse.xml
@@ -1,21 +1,24 @@
-
+
view_warehouse_form
stock.warehouse
-
+
-
-
+
+
-
+
-
-
-
-
+
+
+
+
diff --git a/rma/wizards/rma_add_stock_move_view.xml b/rma/wizards/rma_add_stock_move_view.xml
index f7512c4a..53e4f392 100644
--- a/rma/wizards/rma_add_stock_move_view.xml
+++ b/rma/wizards/rma_add_stock_move_view.xml
@@ -1,5 +1,4 @@
-
-
+
rma.add.stock.move.customer
@@ -7,61 +6,91 @@
-
+
Add from Stock Move
ir.actions.act_window
rma_add_stock_move
form
new
-
-
+
+
rma.order.form - stock.move wizard
rma.order
-
+
-
+
@@ -72,48 +101,66 @@
-
+
Add from Stock Move
ir.actions.act_window
rma_add_stock_move
form
new
-
-
+
+
-
+
rma.order.supplier.form - stock.move wizard
rma.order
-
+
-
+
diff --git a/rma/wizards/rma_make_picking_view.xml b/rma/wizards/rma_make_picking_view.xml
index b9aee580..63cefc0b 100644
--- a/rma/wizards/rma_make_picking_view.xml
+++ b/rma/wizards/rma_make_picking_view.xml
@@ -1,29 +1,34 @@
-
-
+
rma_picking
rma_make_picking.wizard
@@ -34,24 +39,30 @@
rma_make_picking.wizard
@@ -63,10 +74,10 @@
rma_make_picking.wizard
form
new
-
-
+
+
{'picking_type': 'incoming'}
-
+
@@ -75,24 +86,32 @@
rma_make_picking.wizard
form
new
-
-
+
+
{'picking_type': 'outgoing'}
-
+
rma.order.line.form
rma.order.line
-
+
@@ -100,15 +119,23 @@
rma.order.line.supplier.form
rma.order.line
-
+
diff --git a/rma/wizards/rma_order_line_make_supplier_rma_view.xml b/rma/wizards/rma_order_line_make_supplier_rma_view.xml
index bc9cc547..cbba885c 100644
--- a/rma/wizards/rma_order_line_make_supplier_rma_view.xml
+++ b/rma/wizards/rma_order_line_make_supplier_rma_view.xml
@@ -1,74 +1,87 @@
-
+
-
+
RMA Line Make Supplier RMA
rma.order.line.make.supplier.rma
form
-
+
Create Supplier RMA
ir.actions.act_window
rma.order.line.make.supplier.rma
form
-
+
new
-
+
rma.order.line.supplier.rma.form
rma.order.line
-
+
-
+ string="Create Supplier RMA"
+ class="oe_highlight"
+ type="action"
+ />
diff --git a/rma_account/data/rma_operation.xml b/rma_account/data/rma_operation.xml
index 139981df..2c320f3b 100644
--- a/rma_account/data/rma_operation.xml
+++ b/rma_account/data/rma_operation.xml
@@ -1,4 +1,4 @@
-
+
@@ -16,8 +16,8 @@
ordered
no
customer
-
-
+
+
@@ -27,8 +27,8 @@
no
ordered
supplier
-
-
+
+
diff --git a/rma_account/views/account_move_view.xml b/rma_account/views/account_move_view.xml
index 8c927540..b1a9e47f 100644
--- a/rma_account/views/account_move_view.xml
+++ b/rma_account/views/account_move_view.xml
@@ -1,18 +1,27 @@
-
+
account.move.form
account.move
-
+
-