From d68748d11b653105e5941803747b3f948755001a Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Mon, 1 Jul 2019 18:59:05 +0200 Subject: [PATCH] [FIX] account_bank_statement_import_paypal: Declare import type If not, no import option is available --- .../models/account_journal.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/account_bank_statement_import_paypal/models/account_journal.py b/account_bank_statement_import_paypal/models/account_journal.py index 5123a3c..c30bf53 100644 --- a/account_bank_statement_import_paypal/models/account_journal.py +++ b/account_bank_statement_import_paypal/models/account_journal.py @@ -11,3 +11,10 @@ class AccountJournal(models.Model): comodel_name='account.bank.statement.import.paypal.map', string='Paypal Map', ) + + + def _get_bank_statements_available_import_formats(self): + res = super()._get_bank_statements_available_import_formats() + res.append('Paypal') + return res +