From 748f30be6af627fc1b9b6d819996c25e4c585112 Mon Sep 17 00:00:00 2001 From: Jordi Ballester Alomar Date: Wed, 10 Jun 2020 05:53:13 +0200 Subject: [PATCH 1/2] 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 | 8 ++------ 2 files changed, 3 insertions(+), 7 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 115f1b7..3bb9455 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 @@ -187,5 +187,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 9a5f372..8ff91e1 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 @@ -121,12 +121,8 @@ - - btn-default - Cancel - - -