diff --git a/crm_claim_rma/crm_claim_rma.py b/crm_claim_rma/crm_claim_rma.py
index fdd9760c..bf9cefbc 100644
--- a/crm_claim_rma/crm_claim_rma.py
+++ b/crm_claim_rma/crm_claim_rma.py
@@ -348,6 +348,8 @@ class crm_claim(orm.Model):
def name_get(self, cr, uid, ids, context=None):
res = []
+ if isinstance(ids, (int, long)):
+ ids = [ids]
for claim in self.browse(cr, uid, ids, context=context):
number = claim.number and str(claim.number) or ''
res.append((claim.id, '[' + number + '] ' + claim.name))
diff --git a/crm_claim_rma/crm_claim_rma_view.xml b/crm_claim_rma/crm_claim_rma_view.xml
index 4948c449..4567dbbc 100644
--- a/crm_claim_rma/crm_claim_rma_view.xml
+++ b/crm_claim_rma/crm_claim_rma_view.xml
@@ -306,6 +306,16 @@
attrs="{'invisible': ['|',('partner_id','=', False),('claim_type','in', ['customer','other'])]}"
context="{'search_default_partner_id': [partner_id],'search_default_user_id':False}"
/>
+
+
diff --git a/crm_claim_rma/stock_view.xml b/crm_claim_rma/stock_view.xml
index 823941c9..38776688 100644
--- a/crm_claim_rma/stock_view.xml
+++ b/crm_claim_rma/stock_view.xml
@@ -33,6 +33,7 @@
+