diff --git a/crm_claim_rma/account_invoice_view.xml b/crm_claim_rma/account_invoice_view.xml
index 0a6eb798..e4d699aa 100644
--- a/crm_claim_rma/account_invoice_view.xml
+++ b/crm_claim_rma/account_invoice_view.xml
@@ -14,10 +14,9 @@
account.invoice
- form
-
+
diff --git a/crm_claim_rma/crm_claim_rma.py b/crm_claim_rma/crm_claim_rma.py
index 363225cf..a95fb98d 100644
--- a/crm_claim_rma/crm_claim_rma.py
+++ b/crm_claim_rma/crm_claim_rma.py
@@ -88,7 +88,7 @@ class claim_line(osv.osv):
'guarantee_limit': fields.date('Warranty limit', help="The warranty limit is computed as: invoice date + warranty defined on selected product.", readonly=True),
'warning': fields.char('Warranty', size=64, readonly=True,help="If warranty has expired"), #select=1,
'warranty_type': fields.char('Warranty type', size=64, readonly=True,help="from product form"),
- "warranty_return_partner" : fields.many2one('res.partner.address', 'Warranty return',help="Where the customer has to send back the product(s)"),
+ "warranty_return_partner" : fields.many2one('res.partner', 'Warranty return',help="Where the customer has to send back the product(s)"),
'claim_id': fields.many2one('crm.claim', 'Related claim',help="To link to the case.claim object"),
'state' : fields.selection([('draft','Draft'),
('refused','Refused'),
@@ -303,7 +303,7 @@ class crm_claim(osv.osv):
res = super(crm_claim, self).onchange_partner_address_id(cr, uid, ids, add, email=email)
if add:
if not res['value']['email_from'] or not res['value']['partner_phone']:
- address = self.pool.get('res.partner.address').browse(cr, uid, add)
+ address = self.pool.get('res.partner').browse(cr, uid, add)
for other_add in address.partner_id.address:
if other_add.email and not res['value']['email_from']:
res['value']['email_from'] = other_add.email
diff --git a/crm_claim_rma/crm_claim_rma_data.xml b/crm_claim_rma/crm_claim_rma_data.xml
index 9d098335..3e1d97a5 100644
--- a/crm_claim_rma/crm_claim_rma_data.xml
+++ b/crm_claim_rma/crm_claim_rma_data.xml
@@ -21,7 +21,7 @@
After Sales Service
ASV
-
+
+
+
@@ -218,10 +217,16 @@
crm.claim
+
+
+
+
+
diff --git a/crm_claim_rma/res_company.py b/crm_claim_rma/res_company.py
index 8c41d327..a335752a 100644
--- a/crm_claim_rma/res_company.py
+++ b/crm_claim_rma/res_company.py
@@ -27,7 +27,7 @@ class res_company(osv.osv):
_inherit = "res.company"
_columns = {
- 'crm_return_address_id': fields.many2one('res.partner.address', 'Crm return address', help="Default address where the customers has to send back the returned product in a crm claim. If empty the address is the company address"),
+ 'crm_return_address_id': fields.many2one('res.partner', 'Crm return address', help="Default address where the customers has to send back the returned product in a crm claim. If empty the address is the company address"),
}
res_company()
diff --git a/crm_claim_rma/res_company_view.xml b/crm_claim_rma/res_company_view.xml
index c75338be..2e076d44 100644
--- a/crm_claim_rma/res_company_view.xml
+++ b/crm_claim_rma/res_company_view.xml
@@ -14,7 +14,6 @@
res.company
- form
diff --git a/crm_claim_rma/stock_view.xml b/crm_claim_rma/stock_view.xml
index 64256268..1760706b 100644
--- a/crm_claim_rma/stock_view.xml
+++ b/crm_claim_rma/stock_view.xml
@@ -14,7 +14,6 @@
stock.picking
- form
@@ -46,7 +45,6 @@
stock.picking
- form
@@ -65,10 +63,9 @@
stock.warehouse
- form
-
+
@@ -83,9 +80,8 @@
stock.picking
- form
-
+
diff --git a/crm_claim_rma/wizard/claim_make_picking_from_picking_view.xml b/crm_claim_rma/wizard/claim_make_picking_from_picking_view.xml
index 67091e11..77d31c42 100644
--- a/crm_claim_rma/wizard/claim_make_picking_from_picking_view.xml
+++ b/crm_claim_rma/wizard/claim_make_picking_from_picking_view.xml
@@ -10,7 +10,6 @@
claim_picking
claim_make_picking_from_picking.wizard
- form