Skip to content

Commit ebf94cb

Browse files
Merge branch 'release/4.1.0'
2 parents c9ad5ad + 3dc753a commit ebf94cb

File tree

14 files changed

+74
-166
lines changed

14 files changed

+74
-166
lines changed

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1-
4.0.0, 2024-05-30:
1+
4.1.0, 2025-04-03
2+
=============
3+
- Compatibility with Odoo 18.
4+
- Update list of supported payment means.
5+
- Update list of supported currencies.
6+
7+
4.0.0, 2024-05-30
28
=============
39
- New plugin for Odoo 17.

COPYING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright © 2024 Lyra Network.
1+
Copyright © 2024-2025 Lyra Network.
22

33
Lyra Collect plugin for Odoo is free software: you can redistribute it and/or modify
44
it under the terms of the GNU Affero General Public License as

payment_lyra/__manifest__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
{
1111
'name': 'Lyra Collect Payment Provider',
12-
'version': '4.0.0',
12+
'version': '4.1.0',
1313
'summary': 'Accept payments with Lyra Collect secure payment gateway.',
1414
'category': 'Accounting/Payment Providers',
1515
'author': 'Lyra Network',

payment_lyra/data/payment_method_data.xml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
<field name="image" type="base64" file="payment/static/img/card.png" />
1717
<field name="support_tokenization">False</field>
1818
<field name="support_express_checkout">False</field>
19-
<field name="support_refund"></field>
2019
</record>
2120

2221
<record id="payment_method_lyramulti" model="payment.method">
@@ -26,7 +25,6 @@
2625
<field name="image" type="base64" file="payment/static/img/card.png" />
2726
<field name="support_tokenization">False</field>
2827
<field name="support_express_checkout">False</field>
29-
<field name="support_refund"></field>
3028
</record>
3129

3230
<record id="payment_method_lyracb" model="payment.method">

payment_lyra/helpers/constants.py

Lines changed: 45 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
'LANGUAGE': 'en',
3232

3333
'GATEWAY_VERSION': 'V2',
34-
'PLUGIN_VERSION': '4.0.0',
35-
'CMS_IDENTIFIER': 'Odoo_17',
34+
'PLUGIN_VERSION': '4.1.0',
35+
'CMS_IDENTIFIER': 'Odoo_17-18',
3636
}
3737

3838
LYRA_LANGUAGES = {
@@ -62,11 +62,16 @@
6262
'AMEX': u'American Express',
6363
'ACCORD_STORE': u'Cartes Enseignes Partenaires',
6464
'ACCORD_STORE_SB': u'Cartes Enseignes Partenaires (sandbox)',
65+
'AKULAKU_ID': u'Akulaku PayLater',
66+
'AKULAKU_PH': u'Akulaku PayLater PH',
6567
'ALINEA': u'Carte myalinea',
6668
'ALINEA_CDX': u'Carte Cadeau Alinéa',
6769
'ALINEA_CDX_SB': u'Carte Cadeau Alinéa (sandbox)',
6870
'ALINEA_SB': u'Carte myalinea (sandbox)',
6971
'ALIPAY': u'Alipay',
72+
'ALIPAY_CN': u'AlipayCN',
73+
'ALIPAY_HK': u'AlipayHK',
74+
'ALIPAY_PLUS': u'Alipay+',
7075
'ALLOBEBE_CDX': u'Carte Cadeau Allobébé',
7176
'ALLOBEBE_CDX_SB': u'Carte Cadeau Allobébé (sandbox)',
7277
'ALMA': u'Alma en 1 fois',
@@ -81,18 +86,32 @@
8186
'AUCHAN_SB': u'Carte Auchan (sandbox)',
8287
'AURORE-MULTI': u'Cpay Aurore',
8388
'BANCONTACT': u'Bancontact Mistercash',
89+
'BILLEASE': u'BillEase',
8490
'BIZUM': u'Bizum',
8591
'BIZZBEE_CDX': u'Carte Cadeau Bizzbee',
8692
'BIZZBEE_CDX_SB': u'Carte Cadeau Bizzbee (sandbox)',
93+
'BOOST': u'Boost',
8794
'BOULANGER': u'Carte b+',
8895
'BOULANGER_SB': u'Carte b+ (sandbox)',
96+
'BPI': u'BPI',
8997
'BRICE_CDX': u'Carte Cadeau Brice',
9098
'BRICE_CDX_SB': u'Carte Cadeau Brice (sandbox)',
9199
'BUT': u'But',
92100
'CABAL': u'Cabal',
93101
'CARNET': u'Carnet',
94102
'CA_DO_CARTE': u'CA DO Carte',
95103
'CHQ_DEJ': u'Chèque Déjeuner',
104+
'COFIDIS_3X_BE': u'Cofidis en 3 fois',
105+
'COFIDIS_3X_FR': u'Cofidis en 3 fois',
106+
'COFIDIS_4X_ES': u'Cofidis en 4 vencimientos',
107+
'COFIDIS_4X_FR': u'Cofidis en 4 fois',
108+
'COFIDIS_DFPAY_FR': u'Cofidis Pay Later',
109+
'COFIDIS_LOAN_BE': u'Cofidis en 6-12-18 fois',
110+
'COFIDIS_LOAN_CB': u'Cofidis en 5-12 fois',
111+
'COFIDIS_LOAN_ES': u'Cofidis en 6-12-24 vencimientos',
112+
'COFIDIS_LOAN_FR': u'Amortissable',
113+
'COFIDIS_LOAN_IT': u'Cofidis Pagodil',
114+
'COFIDIS_PAY_FR': u'Cofidis Pay',
96115
'COM_BARRY_CDX': u'Carte Cadeau Comtesse du Barry',
97116
'COM_BARRY_CDX_SB': u'Carte Cadeau Comtesse du Barry (sandbox)',
98117
'CONECS': u'Conecs',
@@ -102,22 +121,30 @@
102121
'CORA_PREM': u'Cora Visa Premier',
103122
'CORA_VISA': u'Cora Visa',
104123
'CVCO': u'Chèque-Vacances Connect',
124+
'DANA': u'Dana',
105125
'DINERS': u'Diners',
106126
'DISCOVER': u'Discover',
107127
'ECCARD': u'EC Card',
108128
'EDENRED': u'Ticket Restaurant',
129+
'EDENRED_CC': u'Ticket Cheque Consommation',
109130
'EDENRED_EC': u'Ticket EcoCheque',
110131
'EDENRED_SC': u'Ticket Sport & Culture',
111132
'EDENRED_TC': u'Ticket Compliments',
112133
'EDENRED_TR': u'Ticket Restaurant',
113134
'ELO': u'Elo',
135+
'FLOA_10X': u'Floa en 10 fois',
136+
'FLOA_3X': u'Floa en 3 fois',
137+
'FLOA_4X': u'Floa en 4 fois',
138+
'FLOA_PAYLATER': u'Floa Pay Later',
114139
'FRANFINANCE_3X': u'Paiement en 3 fois',
115140
'FRANFINANCE_4X': u'Paiement en 4 fois',
116141
'FULLCB3X': u'Paiement en 3 fois CB',
117142
'FULLCB4X': u'Paiement en 4 fois CB',
143+
'GCASH': u'GCash',
118144
'GEMO_CDX': u'Carte Cadeau Gémo',
119145
'GEMO_CDX_SB': u'Carte Cadeau Gémo (sandbox)',
120146
'GIROPAY': u'Giropay',
147+
'GOOGLEPAY': u'Google Pay',
121148
'HIPER': u'Hiper',
122149
'HIPERCARD': u'Hipercard',
123150
'IDEAL': u'iDEAL',
@@ -132,11 +159,16 @@
132159
'JULES_CDX_SB': u'Carte Cadeau Jules (sandbox)',
133160
'KADEOS_CULTURE': u'Carte Kadéos Culture',
134161
'KADEOS_GIFT': u'Carte Kadéos Zénith',
162+
'KAKAOPAY': u'Kakao Pay',
163+
'KREDIVO_ID': u'Krevido',
135164
'LECLERC': u'Carte Reglo',
136165
'LEROY-MERLIN': u'Carte Maison Financement',
137166
'LEROY-MERLIN_SB': u'Carte Maison Financement (sandbox)',
138167
'MASTERPASS': u'MasterPass',
168+
'MAYA': u'Maya',
169+
'MB_WAY': u'MB Way',
139170
'MC_CORDOBESA': u'Mastercard Cordobesa',
171+
'MPAY': u'MPay',
140172
'MULTIBANCO': u'Multibanco',
141173
'MYBANK': u'MyBank',
142174
'NARANJA': u'Naranja',
@@ -146,36 +178,46 @@
146178
'ONEY_3X_4X': u'Paiement en 3 ou 4 fois Oney',
147179
'ONEY_ENSEIGNE': u'Cartes enseignes Oney',
148180
'ONEY_PAYLATER': u'Pay Later Oney',
181+
'PASS_BEAU_CDX': u'Carte Cadeau Passion Beauté',
182+
'PASS_BEAU_CDX_SB': u'Carte Cadeau Passion Beauté (sandbox)',
149183
'PAYCONIQ': u'Payconiq',
150184
'PAYDIREKT': u'Paydirekt',
151185
'PAYPAL': u'PayPal',
186+
'PAYPAL_BNPL': u'PayPal Pay Later',
187+
'PAYPAL_BNPL_SB': u'PayPal Pay Later Sandbox',
152188
'PAYPAL_SB': u'PayPal Sandbox',
153189
'PICWIC': u'Carte Picwic',
154190
'PICWIC_SB': u'Carte Picwic (sandbox)',
155191
'POSTFINANCE': u'PostFinance Card',
156192
'POSTFINANCE_EFIN': u'PostFinance E-Finance',
157193
'PRESTO': u'Presto',
158194
'PRZELEWY24': u'Przelewy24',
195+
'RABBIT_LINE_PAY': u'Rabbit Line Pay',
159196
'S-MONEY': u'S-money',
197+
'SAMSUNG_PAY': u'Samsung Pay',
160198
'SCT': u'Virement SEPA',
161199
'SDD': u'SEPA direct debit',
162200
'SODEXO': u'Pass Restaurant',
163201
'SOFORT_BANKING': u'Sofort',
164202
'SOROCRED': u'Sorocred',
165-
'UNION_PAY': u'UnionPay',
203+
'TNG': u'Touch \'n Go eWallet',
204+
'TOSS': u'Toss',
205+
'TRUEMONEY': u'TrueMoney Wallet',
166206
'UPI': u'UPI',
167207
'VILLAVERDE': u'Carte Cadeau VillaVerde',
168208
'VILLAVERDE_SB': u'Carte Cadeau VillaVerde (sandbox)',
169209
'WECHAT': u'WeChat Pay',
170210
}
171211

172212
LYRA_CURRENCIES = [
213+
['AUD', '036', 2],
173214
['CAD', '124', 2],
174215
['CHF', '756', 2],
175216
['DKK', '208', 2],
176217
['EUR', '978', 2],
177218
['GBP', '826', 2],
178219
['JPY', '392', 0],
220+
['MXN', '484', 2],
179221
['NOK', '578', 2],
180222
['PLN', '985', 2],
181223
['SEK', '752', 2],

payment_lyra/i18n/de.po

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
msgid ""
66
msgstr ""
7-
"Project-Id-Version: Odoo Server 16.0-20221206\n"
7+
"Project-Id-Version: Odoo Server 17.0-20221206\n"
88
"Report-Msgid-Bugs-To: \n"
99
"POT-Creation-Date: 2022-12-06 15:03+0100\n"
1010
"PO-Revision-Date: 2022-12-06 15:03+0100\n"
@@ -354,13 +354,6 @@ msgstr ""
354354
msgid "Last Updated on"
355355
msgstr ""
356356

357-
#. module: payment_lyra
358-
#: code:addons/payment_lyra/models/payment_acquirer.py:0
359-
#: model:ir.model.fields,help:payment_lyra.field_payment_acquirer__lyra_gateway_url
360-
#, python-format
361-
msgid "Link to the payment page."
362-
msgstr "Link zur Bezahlungsplattform."
363-
364357
#. module: payment_lyra
365358
#: model:account.payment.method,name:payment_lyra.payment_method_lyra
366359
msgid "Lyra Collect"
@@ -508,13 +501,6 @@ msgstr "Zahlungsmethoden"
508501
msgid "Payment Transaction"
509502
msgstr "Zahlungstransaktion"
510503

511-
#. module: payment_lyra
512-
#: code:addons/payment_lyra/models/payment_acquirer.py:0
513-
#: model:ir.model.fields,field_description:payment_lyra.field_payment_acquirer__lyra_gateway_url
514-
#, python-format
515-
msgid "Payment page URL"
516-
msgstr "Schnittstellen-URL"
517-
518504
#. module: payment_lyra
519505
#: code:addons/payment_lyra/models/payment_acquirer.py:0
520506
#: model:ir.model.fields,field_description:payment_lyra.field_payment_acquirer__lyra_multi_period

payment_lyra/i18n/en.po

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
msgid ""
66
msgstr ""
7-
"Project-Id-Version: Odoo Server 16.0-20221206\n"
7+
"Project-Id-Version: Odoo Server 17.0-20221206\n"
88
"Report-Msgid-Bugs-To: \n"
99
"POT-Creation-Date: 2022-12-06 15:03+0100\n"
1010
"PO-Revision-Date: 2022-12-06 15:03+0100\n"
@@ -354,13 +354,6 @@ msgstr ""
354354
msgid "Last Updated on"
355355
msgstr ""
356356

357-
#. module: payment_lyra
358-
#: code:addons/payment_lyra/models/payment_acquirer.py:0
359-
#: model:ir.model.fields,help:payment_lyra.field_payment_acquirer__lyra_gateway_url
360-
#, python-format
361-
msgid "Link to the payment page."
362-
msgstr ""
363-
364357
#. module: payment_lyra
365358
#: model:account.payment.method,name:payment_lyra.payment_method_lyra
366359
msgid "Lyra Collect"
@@ -509,13 +502,6 @@ msgstr ""
509502
msgid "Payment Transaction"
510503
msgstr "Payment Transaction"
511504

512-
#. module: payment_lyra
513-
#: code:addons/payment_lyra/models/payment_acquirer.py:0
514-
#: model:ir.model.fields,field_description:payment_lyra.field_payment_acquirer__lyra_gateway_url
515-
#, python-format
516-
msgid "Payment page URL"
517-
msgstr "Payment page URL"
518-
519505
#. module: payment_lyra
520506
#: code:addons/payment_lyra/models/payment_acquirer.py:0
521507
#: model:ir.model.fields,field_description:payment_lyra.field_payment_acquirer__lyra_multi_period

payment_lyra/i18n/es.po

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
msgid ""
66
msgstr ""
7-
"Project-Id-Version: Odoo Server 16.0-20221206\n"
7+
"Project-Id-Version: Odoo Server 17.0-20221206\n"
88
"Report-Msgid-Bugs-To: \n"
99
"POT-Creation-Date: 2022-12-06 15:03+0100\n"
1010
"PO-Revision-Date: 2022-12-06 15:03+0100\n"
@@ -355,13 +355,6 @@ msgstr ""
355355
msgid "Last Updated on"
356356
msgstr ""
357357

358-
#. module: payment_lyra
359-
#: code:addons/payment_lyra/models/payment_acquirer.py:0
360-
#: model:ir.model.fields,help:payment_lyra.field_payment_acquirer__lyra_gateway_url
361-
#, python-format
362-
msgid "Link to the payment page."
363-
msgstr "Enlace a la página de pago."
364-
365358
#. module: payment_lyra
366359
#: model:account.payment.method,name:payment_lyra.payment_method_lyra
367360
msgid "Lyra Collect"
@@ -510,13 +503,6 @@ msgstr "Métodos de pago"
510503
msgid "Payment Transaction"
511504
msgstr "Transacción de pago"
512505

513-
#. module: payment_lyra
514-
#: code:addons/payment_lyra/models/payment_acquirer.py:0
515-
#: model:ir.model.fields,field_description:payment_lyra.field_payment_acquirer__lyra_gateway_url
516-
#, python-format
517-
msgid "Payment page URL"
518-
msgstr "URL de página de pago"
519-
520506
#. module: payment_lyra
521507
#: code:addons/payment_lyra/models/payment_acquirer.py:0
522508
#: model:ir.model.fields,field_description:payment_lyra.field_payment_acquirer__lyra_multi_period

payment_lyra/i18n/fr.po

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#
55
msgid ""
66
msgstr ""
7-
"Project-Id-Version: Odoo Server 16.0-20221206\n"
7+
"Project-Id-Version: Odoo Server 17.0-20221206\n"
88
"Report-Msgid-Bugs-To: \n"
99
"POT-Creation-Date: 2022-12-06 15:03+0100\n"
1010
"PO-Revision-Date: 2022-12-06 15:03+0100\n"
@@ -310,7 +310,7 @@ msgid ""
310310
"Key provided by Lyra Collect for test mode (available in Lyra Expert Back "
311311
"Office)."
312312
msgstr ""
313-
"Clé fourni par Lyra Collect pour le mode test (disponible sur le Back Office"
313+
"Clé fournie par Lyra Collect pour le mode test (disponible sur le Back Office"
314314
" Lyra Expert)."
315315

316316
#. module: payment_lyra
@@ -348,13 +348,6 @@ msgstr ""
348348
msgid "Last Updated on"
349349
msgstr ""
350350

351-
#. module: payment_lyra
352-
#: code:addons/payment_lyra/models/payment_acquirer.py:0
353-
#: model:ir.model.fields,help:payment_lyra.field_payment_acquirer__lyra_gateway_url
354-
#, python-format
355-
msgid "Link to the payment page."
356-
msgstr "URL vers laquelle l'acheteur sera redirigé pour le paiement."
357-
358351
#. module: payment_lyra
359352
#: model:account.payment.method,name:payment_lyra.payment_method_lyra
360353
msgid "Lyra Collect"
@@ -503,13 +496,6 @@ msgstr "Méthodes de paiements"
503496
msgid "Payment Transaction"
504497
msgstr "Transaction"
505498

506-
#. module: payment_lyra
507-
#: code:addons/payment_lyra/models/payment_acquirer.py:0
508-
#: model:ir.model.fields,field_description:payment_lyra.field_payment_acquirer__lyra_gateway_url
509-
#, python-format
510-
msgid "Payment page URL"
511-
msgstr "URL de la page de paiement"
512-
513499
#. module: payment_lyra
514500
#: code:addons/payment_lyra/models/payment_acquirer.py:0
515501
#: model:ir.model.fields,field_description:payment_lyra.field_payment_acquirer__lyra_multi_period

0 commit comments

Comments
 (0)