[FIX] sale: fix related to the print of edi document (the partner address was not displayed because we changed the name of variable by mistake)

bzr revid: qdp-launchpad@openerp.com-20120402150747-47u9r3j1y486s0h8
This commit is contained in:
Quentin (OpenERP) 2012-04-02 17:07:47 +02:00
parent 5e78e516f0
commit b750360694
1 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ class sale_order(osv.osv, EDIMixin):
'__import_module': 'purchase',
'company_address': res_company.edi_export_address(cr, uid, order.company_id, context=context),
'partner_id': res_partner_obj.edi_export(cr, uid, [order.partner_id], context=context)[0],
'partner_address': res_partner_obj.edi_export(cr, uid, [order.partner_id], context=context)[0],
'currency': self.pool.get('res.currency').edi_export(cr, uid, [order.pricelist_id.currency_id],
context=context)[0],
@ -214,4 +214,4 @@ class sale_order_line(osv.osv, EDIMixin):
edi_doc_list.append(edi_doc)
return edi_doc_list
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4:
# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: