summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Dony <odo@openerp.com>2011-10-05 12:37:06 +0200
committerOlivier Dony <odo@openerp.com>2011-10-05 12:37:06 +0200
commit0cf579abe1a5f50e1d655de8dc7bee3375ab3ee8 (patch)
treed3a241927410d5b93555239de1a77d9056cd808b
parent170e6fbba1230206f742b733ede7cec4bd8eb804 (diff)
[IMP] account: edi export company_paypal_account
bzr revid: odo@openerp.com-20111005103706-409wncn3oltzd5aj
-rw-r--r--addons/account/edi/invoice.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/account/edi/invoice.py b/addons/account/edi/invoice.py
index de2a4e76c24..468bbfeecbb 100644
--- a/addons/account/edi/invoice.py
+++ b/addons/account/edi/invoice.py
@@ -47,7 +47,6 @@ class account_invoice(osv.osv, EDIMixin):
'uos_id': True,
'product_id': True,
'price_unit': True,
- #'price_subtotal': True,
'quantity': True,
'discount': True,
'note': True,
@@ -68,6 +67,7 @@ class account_invoice(osv.osv, EDIMixin):
edi_doc = super(account_invoice,self).edi_export(cr, uid, [invoice], edi_struct, context)[0]
edi_doc.update({
'company_address': res_company.edi_export_address(cr, uid, invoice.company_id, context=context),
+ 'company_paypal_account': invoice.paypal_account,
#'company_logo': #TODO
})
edi_doc_list.append(edi_doc)