Browse Source

[FIX] account_bank_statement_import_paypal: Declare import type

If not, no import option is available
12.0
Pedro M. Baeza 5 years ago
committed by GitHub
parent
commit
d68748d11b
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      account_bank_statement_import_paypal/models/account_journal.py

7
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
Loading…
Cancel
Save