From 7e19aba68320d6d4ae5107a65a56d46a1831a00f Mon Sep 17 00:00:00 2001 From: Jordi Ballester Alomar Date: Wed, 10 Jun 2020 05:53:13 +0200 Subject: [PATCH] Fixes account_bank_statement_import_txt_xlsx adjusting wizard after https://github.com/OCA/server-ux/pull/165 has been merged. --- .../account_bank_statement_import_sheet_mapping_wizard.py | 2 +- .../account_bank_statement_import_sheet_mapping_wizard.xml | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/account_bank_statement_import_txt_xlsx/wizards/account_bank_statement_import_sheet_mapping_wizard.py b/account_bank_statement_import_txt_xlsx/wizards/account_bank_statement_import_sheet_mapping_wizard.py index 2919f7b0..c39cadd2 100644 --- a/account_bank_statement_import_txt_xlsx/wizards/account_bank_statement_import_sheet_mapping_wizard.py +++ b/account_bank_statement_import_txt_xlsx/wizards/account_bank_statement_import_sheet_mapping_wizard.py @@ -171,5 +171,5 @@ class AccountBankStatementImportSheetMappingWizard(models.TransientModel): "res_id": mapping.id, "view_mode": "form", "view_id": False, - "target": "new", + "target": "current", } diff --git a/account_bank_statement_import_txt_xlsx/wizards/account_bank_statement_import_sheet_mapping_wizard.xml b/account_bank_statement_import_txt_xlsx/wizards/account_bank_statement_import_sheet_mapping_wizard.xml index 93f2a6c8..54cfc3f9 100644 --- a/account_bank_statement_import_txt_xlsx/wizards/account_bank_statement_import_sheet_mapping_wizard.xml +++ b/account_bank_statement_import_txt_xlsx/wizards/account_bank_statement_import_sheet_mapping_wizard.xml @@ -140,16 +140,13 @@ - - btn-default - Cancel - - +