rename field labels with duplicates

This commit is contained in:
Luc De Meyer 2023-08-05 19:33:05 +02:00
parent 50badfea3b
commit e6b7bc7dc0
3 changed files with 4 additions and 4 deletions

View File

@ -129,7 +129,7 @@ class EbicsUserID(models.Model):
"by means of the SWIFT 3SKey token.", "by means of the SWIFT 3SKey token.",
) )
swift_3skey_certificate = fields.Binary(string="3SKey Certficate") 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 # X.509 Distinguished Name attributes used to
# create self-signed X.509 certificates # create self-signed X.509 certificates
ebics_key_x509 = fields.Boolean( ebics_key_x509 = fields.Boolean(

View File

@ -70,9 +70,9 @@ class EbicsXfer(models.TransientModel):
date_from = fields.Date() date_from = fields.Date()
date_to = fields.Date() date_to = fields.Date()
upload_data = fields.Binary(string="File to Upload") 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( 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( format_id = fields.Many2one(
comodel_name="ebics.file.format", comodel_name="ebics.file.format",

View File

@ -82,7 +82,7 @@
<separator string="Select your file :" colspan="2" /> <separator string="Select your file :" colspan="2" />
<field name="upload_data" filename="upload_fname" required="1" /> <field name="upload_data" filename="upload_fname" required="1" />
<field name="upload_fname" invisible="1" /> <field name="upload_fname" invisible="1" />
<field name="upload_fname_dummy" /> <field name="upload_fname_dummy" string="Upload Filename" />
<field <field
name="format_id" name="format_id"
required="1" required="1"