From 76cab083513ded257f6173704602c5cb27178f2a Mon Sep 17 00:00:00 2001 From: sheetalPatil Date: Mon, 9 Jul 2018 19:09:56 +0530 Subject: [PATCH] [ADD]:Added Upstream patch for payment_paypal --- addons/payment_paypal/__init__.py | 1 + addons/payment_paypal/__manifest__.py | 1 + 2 files changed, 2 insertions(+) diff --git a/addons/payment_paypal/__init__.py b/addons/payment_paypal/__init__.py index 81ea421d..96f1329b 100644 --- a/addons/payment_paypal/__init__.py +++ b/addons/payment_paypal/__init__.py @@ -3,3 +3,4 @@ from . import models from . import controllers +from flectra.addons.payment.models.payment_acquirer import create_missing_journal_for_acquirers diff --git a/addons/payment_paypal/__manifest__.py b/addons/payment_paypal/__manifest__.py index 9d2ef260..05be1da0 100644 --- a/addons/payment_paypal/__manifest__.py +++ b/addons/payment_paypal/__manifest__.py @@ -14,4 +14,5 @@ 'data/payment_acquirer_data.xml', ], 'installable': True, + 'post_init_hook': 'create_missing_journal_for_acquirers', }