From 752c5966eb397214d88eb5de843c357411949be6 Mon Sep 17 00:00:00 2001 From: Alexey Pelykh Date: Fri, 17 Jul 2020 06:19:57 +0200 Subject: [PATCH] [FIX] account_bank_statement_import_paypal: adjust tz mapping --- .../models/account_bank_statement_import_paypal_parser.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/account_bank_statement_import_paypal/models/account_bank_statement_import_paypal_parser.py b/account_bank_statement_import_paypal/models/account_bank_statement_import_paypal_parser.py index 7f9edbf..eaadfa9 100644 --- a/account_bank_statement_import_paypal/models/account_bank_statement_import_paypal_parser.py +++ b/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