From 10ea8e0763b60f12d1b6755e2543523d32c1b8ae Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Sat, 4 Jan 2025 17:44:38 +0100 Subject: [PATCH] [IMP] account_ebics : remove obsolete 'view_type' in actions --- account_ebics/models/ebics_file.py | 1 - account_ebics/models/ebics_userid.py | 1 - account_ebics/wizards/ebics_admin_order.py | 1 - account_ebics/wizards/ebics_change_passphrase.py | 1 - account_ebics/wizards/ebics_xfer.py | 2 -- account_ebics_batch_payment/models/account_batch_payment.py | 1 - 6 files changed, 7 deletions(-) diff --git a/account_ebics/models/ebics_file.py b/account_ebics/models/ebics_file.py index 5d2e647..a63f2df 100644 --- a/account_ebics/models/ebics_file.py +++ b/account_ebics/models/ebics_file.py @@ -309,7 +309,6 @@ class EbicsFile(models.Model): return { "name": self.env._("Import EBICS File"), "res_id": self.id, - "view_type": "form", "view_mode": "form", "res_model": self._name, "view_id": result_view.id, diff --git a/account_ebics/models/ebics_userid.py b/account_ebics/models/ebics_userid.py index bba605b..2172f3a 100644 --- a/account_ebics/models/ebics_userid.py +++ b/account_ebics/models/ebics_userid.py @@ -587,7 +587,6 @@ class EbicsUserID(models.Model): view = self.env.ref("%s.ebics_change_passphrase_view_form" % module) return { "name": self.env._("EBICS keys change passphrase"), - "view_type": "form", "view_mode": "form", "res_model": "ebics.change.passphrase", "view_id": view.id, diff --git a/account_ebics/wizards/ebics_admin_order.py b/account_ebics/wizards/ebics_admin_order.py index 0825491..c20192b 100644 --- a/account_ebics/wizards/ebics_admin_order.py +++ b/account_ebics/wizards/ebics_admin_order.py @@ -42,7 +42,6 @@ class EbicsAdminOrder(models.TransientModel): return { "name": self.env._("EBICS Administrative Order result"), "res_id": self.id, - "view_type": "form", "view_mode": "form", "res_model": "ebics.admin.order", "view_id": result_view.id, diff --git a/account_ebics/wizards/ebics_change_passphrase.py b/account_ebics/wizards/ebics_change_passphrase.py index 728dd0c..94be2c1 100644 --- a/account_ebics/wizards/ebics_change_passphrase.py +++ b/account_ebics/wizards/ebics_change_passphrase.py @@ -109,7 +109,6 @@ class EbicsChangePassphrase(models.TransientModel): return { "name": self.env._("EBICS Keys Change Passphrase"), "res_id": self.id, - "view_type": "form", "view_mode": "form", "res_model": "ebics.change.passphrase", "view_id": result_view.id, diff --git a/account_ebics/wizards/ebics_xfer.py b/account_ebics/wizards/ebics_xfer.py index 88f61f7..562812c 100644 --- a/account_ebics/wizards/ebics_xfer.py +++ b/account_ebics/wizards/ebics_xfer.py @@ -205,7 +205,6 @@ class EbicsXfer(models.TransientModel): return { "name": self.env._("EBICS file transfer result"), "res_id": self.id, - "view_type": "form", "view_mode": "form", "res_model": "ebics.xfer", "view_id": result_view.id, @@ -347,7 +346,6 @@ class EbicsXfer(models.TransientModel): return { "name": self.env._("EBICS file transfer result"), "res_id": self.id, - "view_type": "form", "view_mode": "form", "res_model": "ebics.xfer", "view_id": result_view.id, diff --git a/account_ebics_batch_payment/models/account_batch_payment.py b/account_ebics_batch_payment/models/account_batch_payment.py index dbb4ae6..fc98660 100644 --- a/account_ebics_batch_payment/models/account_batch_payment.py +++ b/account_ebics_batch_payment/models/account_batch_payment.py @@ -46,7 +46,6 @@ class AccountBatchPayment(models.Model): view = self.env.ref("account_ebics.ebics_xfer_view_form_upload") act = { "name": self.env._("EBICS Upload"), - "view_type": "form", "view_mode": "form", "res_model": "ebics.xfer", "view_id": view.id,