[FIX] payment_paypal: tests

To avoid trouble when the company name is changed in demo data, we use
the company name variable in the test

closes odoo/odoo#30612
This commit is contained in:
Pierre Masereel
2019-02-04 10:18:47 +00:00
parent 1f5807f1c8
commit 240df8225c
+1 -1
View File
@@ -53,7 +53,7 @@ class PaypalForm(PaypalCommon):
form_values = {
'cmd': '_xclick',
'business': 'tde+paypal-facilitator@odoo.com',
'item_name': 'YourCompany: test_ref0',
'item_name': '%s: test_ref0' % (self.paypal.company_id.name),
'item_number': 'test_ref0',
'first_name': 'Norbert',
'last_name': 'Buyer',