Skip to content

Commit 18fde9d

Browse files
kcv-odooAntoineVDV
authored andcommitted
[IMP] payment_iyzico: update field string
This commit update Iyzico related payment provider string to match with Iyzico dashboard and documentation to not confuse new user. task-5067754 Part-of: odoo#228969 Related: odoo/documentation#14702 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
1 parent ab94f82 commit 18fde9d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

addons/payment_iyzico/models/payment_provider.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ class PaymentProvider(models.Model):
2020
code = fields.Selection(
2121
selection_add=[('iyzico', "Iyzico")], ondelete={'iyzico': 'set default'}
2222
)
23-
iyzico_key_id = fields.Char(string="Iyzico Key Id", required_if_provider='iyzico', copy=False)
23+
iyzico_key_id = fields.Char(string="Iyzico API Key", required_if_provider='iyzico', copy=False)
2424
iyzico_key_secret = fields.Char(
25-
string="Iyzico Key Secret",
25+
string="Iyzico Secret Key",
2626
required_if_provider='iyzico',
2727
copy=False,
2828
groups='base.group_system',

addons/payment_iyzico/views/payment_provider_views.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
<group name="provider_credentials" position="inside">
1010
<group name="iyzico_credentials" invisible="code != 'iyzico'">
1111
<field
12-
string="Key Id"
12+
string="API Key"
1313
name="iyzico_key_id"
1414
required="code == 'iyzico' and state != 'disabled'"
1515
/>
1616
<field
17-
string="Key Secret"
17+
string="Secret Key"
1818
name="iyzico_key_secret"
1919
required="code == 'iyzico' and state != 'disabled'"
2020
password="True"

0 commit comments

Comments
 (0)