From 8b7fef2a0ae3416d380d3a125b174d6d34c5da19 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 - - +