[FIX] payment_paypal: add company name in paypal item name
So the company name is displayed in the paypal payment form
This commit is contained in:
parent
21b1203ee0
commit
8852ab03e7
|
@ -107,7 +107,7 @@ class AcquirerPaypal(osv.Model):
|
|||
paypal_tx_values.update({
|
||||
'cmd': '_xclick',
|
||||
'business': acquirer.paypal_email_account,
|
||||
'item_name': tx_values['reference'],
|
||||
'item_name': '%s: %s' % (acquirer.company_id.name, tx_values['reference']),
|
||||
'item_number': tx_values['reference'],
|
||||
'amount': tx_values['amount'],
|
||||
'currency_code': tx_values['currency'] and tx_values['currency'].name or '',
|
||||
|
|
Loading…
Reference in New Issue