From 75b1d41237aeb03406ff606a1ea3fc1b3f27a0cb Mon Sep 17 00:00:00 2001 From: Damien Bouvy <dbo@odoo.com> Date: Mon, 4 Nov 2019 17:10:01 +0000 Subject: [PATCH] [FIX] payment_paypal: include Build Notation reference closes odoo/odoo#39772 Signed-off-by: Damien Bouvy (dbo) <dbo@odoo.com> --- addons/payment_paypal/tests/test_paypal.py | 1 + addons/payment_paypal/views/payment_paypal_templates.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/addons/payment_paypal/tests/test_paypal.py b/addons/payment_paypal/tests/test_paypal.py index 676e3e0a08dc..9d447d5e1b5e 100644 --- a/addons/payment_paypal/tests/test_paypal.py +++ b/addons/payment_paypal/tests/test_paypal.py @@ -55,6 +55,7 @@ class PaypalForm(PaypalCommon): 'first_name': 'Norbert', 'last_name': 'Buyer', 'amount': '0.01', + 'bn': 'OdooInc_SP', 'currency_code': 'EUR', 'address1': 'Huge Street 2/543', 'city': 'Sin City', diff --git a/addons/payment_paypal/views/payment_paypal_templates.xml b/addons/payment_paypal/views/payment_paypal_templates.xml index 5678a460aaca..cba56f677c1f 100644 --- a/addons/payment_paypal/views/payment_paypal_templates.xml +++ b/addons/payment_paypal/views/payment_paypal_templates.xml @@ -6,6 +6,7 @@ <input type="hidden" name="data_set" t-att-data-action-url="tx_url" data-remove-me=""/> <input type="hidden" name="cmd" t-att-value="cmd"/> <input type="hidden" name="business" t-att-value="business"/> + <input type="hidden" name="bn" value="OdooInc_SP" /> <input type="hidden" name="item_name" t-att-value="item_name"/> <input type="hidden" name="item_number" t-att-value="item_number"/> <input type="hidden" name="amount" t-att-value="amount"/> -- GitLab