From f67b4c95052c585b6a945889099647f10431fccc Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Tue, 8 Apr 2014 21:41:50 +0200 Subject: [PATCH] fix _get_source_loc providing a tuple instead of an id --- crm_claim_rma/wizard/claim_make_picking.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crm_claim_rma/wizard/claim_make_picking.py b/crm_claim_rma/wizard/claim_make_picking.py index fe824a88..a8bedf2b 100644 --- a/crm_claim_rma/wizard/claim_make_picking.py +++ b/crm_claim_rma/wizard/claim_make_picking.py @@ -90,7 +90,7 @@ class claim_make_picking(orm.TransientModel): loc_id = self.pool.get('res.partner').read( cr, uid, context['partner_id'], ['property_stock_customer'], - context=context)['property_stock_customer'] + context=context)['property_stock_customer'][0] return loc_id def _get_common_dest_location_from_line(self, cr, uid, line_ids, context):