projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
63b2e2c
)
[FIX] account: paypal url generation should not crash for draft invoices that have...
author
Olivier Dony
<odo@openerp.com>
Tue, 30 Jul 2013 09:16:43 +0000
(11:16 +0200)
committer
Olivier Dony
<odo@openerp.com>
Tue, 30 Jul 2013 09:16:43 +0000
(11:16 +0200)
bzr revid: odo@openerp.com-
20130730091643
-27iwpblnjgjc8a2j
addons/account/edi/invoice.py
patch
|
blob
|
history
diff --git
a/addons/account/edi/invoice.py
b/addons/account/edi/invoice.py
index
9191392
..
2c2a754
100644
(file)
--- a/
addons/account/edi/invoice.py
+++ b/
addons/account/edi/invoice.py
@@
-266,7
+266,7
@@
class account_invoice(osv.osv, EDIMixin):
params = {
"cmd": "_xclick",
"business": inv.company_id.paypal_account,
- "item_name": inv.company_id.name + " Invoice " + inv.number,
+ "item_name": "%s Invoice %s" % (inv.company_id.name, inv.number or ''),
"invoice": inv.number,
"amount": inv.residual,
"currency_code": inv.currency_id.name,