From e6b7bc7dc009573870df686a59377dbf6bb2bf03 Mon Sep 17 00:00:00 2001 From: Luc De Meyer Date: Sat, 5 Aug 2023 19:33:05 +0200 Subject: [PATCH] rename field labels with duplicates --- account_ebics/models/ebics_userid.py | 2 +- account_ebics/wizards/ebics_xfer.py | 4 ++-- account_ebics/wizards/ebics_xfer.xml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/account_ebics/models/ebics_userid.py b/account_ebics/models/ebics_userid.py index 9fdd034..89a9977 100644 --- a/account_ebics/models/ebics_userid.py +++ b/account_ebics/models/ebics_userid.py @@ -129,7 +129,7 @@ class EbicsUserID(models.Model): "by means of the SWIFT 3SKey token.", ) swift_3skey_certificate = fields.Binary(string="3SKey Certficate") - swift_3skey_certificate_fn = fields.Char(string="EBICS certificate name") + swift_3skey_certificate_fn = fields.Char(string="3SKey Certificate Filename") # X.509 Distinguished Name attributes used to # create self-signed X.509 certificates ebics_key_x509 = fields.Boolean( diff --git a/account_ebics/wizards/ebics_xfer.py b/account_ebics/wizards/ebics_xfer.py index f5a9f6b..de50344 100644 --- a/account_ebics/wizards/ebics_xfer.py +++ b/account_ebics/wizards/ebics_xfer.py @@ -70,9 +70,9 @@ class EbicsXfer(models.TransientModel): date_from = fields.Date() date_to = fields.Date() upload_data = fields.Binary(string="File to Upload") - upload_fname = fields.Char(default="") + upload_fname = fields.Char(string="Upload Filename", default="") upload_fname_dummy = fields.Char( - related="upload_fname", string="Upload Filename", readonly=True + related="upload_fname", string="Dummy Upload Filename", readonly=True ) format_id = fields.Many2one( comodel_name="ebics.file.format", diff --git a/account_ebics/wizards/ebics_xfer.xml b/account_ebics/wizards/ebics_xfer.xml index 9cb67fb..4fdcac1 100644 --- a/account_ebics/wizards/ebics_xfer.xml +++ b/account_ebics/wizards/ebics_xfer.xml @@ -82,7 +82,7 @@ - +