[FIX] account_bank_statement_import_paypal: adjust tz mapping

This commit is contained in:
Alexey Pelykh
2020-07-17 06:19:57 +02:00
committed by Carlos Roca
parent b847d3827d
commit 9b1f75c055

View File

@@ -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