Browse Source

[FIX] account_bank_statement_import_paypal: adjust tz mapping

12.0
Alexey Pelykh 5 years ago
parent
commit
752c5966eb
  1. 4
      account_bank_statement_import_paypal/models/account_bank_statement_import_paypal_parser.py

4
account_bank_statement_import_paypal/models/account_bank_statement_import_paypal_parser.py

@ -269,5 +269,7 @@ class AccountBankStatementImportPayPalParser(models.TransientModel):
@api.model
def _normalize_tz(self, value):
if value in ['PDT', 'PST']:
return 'PST8PDT'
return 'America/Los_Angeles'
elif value in ['CET', 'CEST']:
return 'Europe/Paris'
return value
Loading…
Cancel
Save