diff --git a/__init__.py b/__init__.py new file mode 100644 index 0000000..c6fde16 --- /dev/null +++ b/__init__.py @@ -0,0 +1,14 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import controllers +from . import models + +from odoo.addons.payment import setup_provider, reset_payment_provider + + +def post_init_hook(env): + setup_provider(env, 'mollie') + + +def uninstall_hook(env): + reset_payment_provider(env, 'mollie') diff --git a/__manifest__.py b/__manifest__.py new file mode 100644 index 0000000..492ac01 --- /dev/null +++ b/__manifest__.py @@ -0,0 +1,21 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +{ + 'name': 'Payment Provider: Mollie', + 'version': '1.0', + 'category': 'Accounting/Payment Providers', + 'sequence': 350, + 'summary': "A Dutch payment provider covering several European countries.", + 'author': 'Odoo S.A., Applix BV, Droggol Infotech Pvt. Ltd.', + 'website': 'https://www.mollie.com', + 'depends': ['payment'], + 'data': [ + 'views/payment_mollie_templates.xml', + 'views/payment_provider_views.xml', + + 'data/payment_provider_data.xml', + ], + 'post_init_hook': 'post_init_hook', + 'uninstall_hook': 'uninstall_hook', + 'license': 'LGPL-3' +} diff --git a/const.py b/const.py new file mode 100644 index 0000000..a6dd9c5 --- /dev/null +++ b/const.py @@ -0,0 +1,69 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +# List of ISO 15897 locale supported by Mollie +# See full details at `locale` parameter at https://docs.mollie.com/reference/v2/payments-api/create-payment +SUPPORTED_LOCALES = [ + 'en_US', 'nl_NL', 'nl_BE', 'fr_FR', + 'fr_BE', 'de_DE', 'de_AT', 'de_CH', + 'es_ES', 'ca_ES', 'pt_PT', 'it_IT', + 'nb_NO', 'sv_SE', 'fi_FI', 'da_DK', + 'is_IS', 'hu_HU', 'pl_PL', 'lv_LV', + 'lt_LT' +] + +# Currency codes in ISO 4217 format supported by mollie. +# Note: support varies per payment method. +# See https://docs.mollie.com/payments/multicurrency. Last seen online: 22 September 2022. +SUPPORTED_CURRENCIES = [ + 'AED', + 'AUD', + 'BGN', + 'BRL', + 'CAD', + 'CHF', + 'CZK', + 'DKK', + 'EUR', + 'GBP', + 'HKD', + 'HRK', + 'HUF', + 'ILS', + 'ISK', + 'JPY', + 'MXN', + 'MYR', + 'NOK', + 'NZD', + 'PHP', + 'PLN', + 'RON', + 'RUB', + 'SEK', + 'SGD', + 'THB', + 'TWD', + 'USD', + 'ZAR' +] + +# The codes of the payment methods to activate when Mollie is activated. +DEFAULT_PAYMENT_METHODS_CODES = [ + # Primary payment methods. + 'card', + 'ideal', + # Brand payment methods. + 'visa', + 'mastercard', + 'amex', + 'discover', +] + +# Mapping of payment method codes to Mollie codes. +PAYMENT_METHODS_MAPPING = { + 'apple_pay': 'applepay', + 'card': 'creditcard', + 'bank_transfer': 'banktransfer', + 'p24': 'przelewy24', + 'sepa_direct_debit': 'directdebit', +} diff --git a/controllers/__init__.py b/controllers/__init__.py new file mode 100644 index 0000000..80ee4da --- /dev/null +++ b/controllers/__init__.py @@ -0,0 +1,3 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import main diff --git a/controllers/main.py b/controllers/main.py new file mode 100644 index 0000000..f41fd99 --- /dev/null +++ b/controllers/main.py @@ -0,0 +1,53 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +import logging +import pprint + +from odoo import http +from odoo.exceptions import ValidationError +from odoo.http import request + +_logger = logging.getLogger(__name__) + + +class MollieController(http.Controller): + _return_url = '/payment/mollie/return' + _webhook_url = '/payment/mollie/webhook' + + @http.route( + _return_url, type='http', auth='public', methods=['GET', 'POST'], csrf=False, + save_session=False + ) + def mollie_return_from_checkout(self, **data): + """ Process the notification data sent by Mollie after redirection from checkout. + + The route is flagged with `save_session=False` to prevent Odoo from assigning a new session + to the user if they are redirected to this route with a POST request. Indeed, as the session + cookie is created without a `SameSite` attribute, some browsers that don't implement the + recommended default `SameSite=Lax` behavior will not include the cookie in the redirection + request from the payment provider to Odoo. As the redirection to the '/payment/status' page + will satisfy any specification of the `SameSite` attribute, the session of the user will be + retrieved and with it the transaction which will be immediately post-processed. + + :param dict data: The notification data (only `id`) and the transaction reference (`ref`) + embedded in the return URL + """ + _logger.info("handling redirection from Mollie with data:\n%s", pprint.pformat(data)) + request.env['payment.transaction'].sudo()._handle_notification_data('mollie', data) + return request.redirect('/payment/status') + + @http.route(_webhook_url, type='http', auth='public', methods=['POST'], csrf=False) + def mollie_webhook(self, **data): + """ Process the notification data sent by Mollie to the webhook. + + :param dict data: The notification data (only `id`) and the transaction reference (`ref`) + embedded in the return URL + :return: An empty string to acknowledge the notification + :rtype: str + """ + _logger.info("notification received from Mollie with data:\n%s", pprint.pformat(data)) + try: + request.env['payment.transaction'].sudo()._handle_notification_data('mollie', data) + except ValidationError: # Acknowledge the notification to avoid getting spammed + _logger.exception("unable to handle the notification data; skipping to acknowledge") + return '' # Acknowledge the notification diff --git a/data/neutralize.sql b/data/neutralize.sql new file mode 100644 index 0000000..836ec38 --- /dev/null +++ b/data/neutralize.sql @@ -0,0 +1,3 @@ +-- disable mollie payment provider +UPDATE payment_provider + SET mollie_api_key = NULL; diff --git a/data/payment_provider_data.xml b/data/payment_provider_data.xml new file mode 100644 index 0000000..1e85f7d --- /dev/null +++ b/data/payment_provider_data.xml @@ -0,0 +1,9 @@ + + + + + mollie + + + + diff --git a/i18n/ar.po b/i18n/ar.po new file mode 100644 index 0000000..db932f6 --- /dev/null +++ b/i18n/ar.po @@ -0,0 +1,102 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# Malaz Abuidris , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Malaz Abuidris , 2023\n" +"Language-Team: Arabic (https://app.transifex.com/odoo/teams/41243/ar/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ar\n" +"Plural-Forms: nplurals=6; plural=n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "مفتاح الواجهة البرمجية للتطبيق " + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "تم إلغاء الدفع مع الحالة: %s " + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "رمز " + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "تعذر إنشاء الاتصال بالواجهة البرمجية للتطبيق. " + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "مفتاح الواجهة البرمجية لـ Mollie " + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "لم يتم العثور على معاملة تطابق المرجع %s. " + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "مزود الدفع " + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "معاملة الدفع " + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "تم استلام البيانات مع حالة دفع غير صالحة: %s " + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" +"مفتاح الواجهة البرمجية للتطبيق الاختباري أو الحي بناءً على تهيئة مزود الدفع " + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" +"فشل التواصل مع الواجهة البرمجية للتطبيق. لقد منحنا Mollie المعلومات التالية:" +" '%s' " + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "الكود التقني لمزود الدفع هذا. " diff --git a/i18n/bg.po b/i18n/bg.po new file mode 100644 index 0000000..700c8da --- /dev/null +++ b/i18n/bg.po @@ -0,0 +1,100 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# aleksandar ivanov, 2023 +# Maria Boyadjieva , 2023 +# Turhan Aydin , 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Turhan Aydin , 2024\n" +"Language-Team: Bulgarian (https://app.transifex.com/odoo/teams/41243/bg/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: bg\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API Key" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Код" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Неуспешно установяване на връзката с API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Не е открита транзакция, съответстваща с референция %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Доставчик на разплащания" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Платежна транзакция" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "" diff --git a/i18n/ca.po b/i18n/ca.po new file mode 100644 index 0000000..1a17c2e --- /dev/null +++ b/i18n/ca.po @@ -0,0 +1,103 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Quim - eccit , 2023 +# Martin Trigaux, 2023 +# Ivan Espinola, 2023 +# RGB Consulting , 2023 +# marcescu, 2023 +# Guspy12, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Guspy12, 2023\n" +"Language-Team: Catalan (https://app.transifex.com/odoo/teams/41243/ca/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ca\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API Key" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "Pagament cancel·lat amb estat: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Codi" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "No s'ha pogut establir la connexió a l'API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Clau de l'API Mollie" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "No s'ha trobat cap transacció que coincideixi amb la referència %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Proveïdor de pagament" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Transacció de pagament" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Dades rebudes amb un estat de pagament no vàlid:%s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "El codi tècnic d'aquest proveïdor de pagaments." diff --git a/i18n/cs.po b/i18n/cs.po new file mode 100644 index 0000000..033ae36 --- /dev/null +++ b/i18n/cs.po @@ -0,0 +1,100 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Jiří Podhorecký, 2023 +# Ivana Bartonkova, 2023 +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Czech (https://app.transifex.com/odoo/teams/41243/cs/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: cs\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "Klíč API" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Kód" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Nepodařilo se navázat spojení s rozhraním API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Nebyla nalezena žádná transakce odpovídající odkazu %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Poskytovatel platby" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Platební transakce" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Přijatá data s neplatným stavem platby: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "" diff --git a/i18n/da.po b/i18n/da.po new file mode 100644 index 0000000..40c64a7 --- /dev/null +++ b/i18n/da.po @@ -0,0 +1,99 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Martin Trigaux, 2023 +# lhmflexerp , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: lhmflexerp , 2023\n" +"Language-Team: Danish (https://app.transifex.com/odoo/teams/41243/da/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: da\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API nøgle" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Kode" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Betalingsudbyder" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Betalingstransaktion" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "" diff --git a/i18n/de.po b/i18n/de.po new file mode 100644 index 0000000..935a06c --- /dev/null +++ b/i18n/de.po @@ -0,0 +1,101 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# Larissa Manderfeld, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Larissa Manderfeld, 2023\n" +"Language-Team: German (https://app.transifex.com/odoo/teams/41243/de/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: de\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API-Schlüssel" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "Abgebrochene Zahlung mit Status: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Code" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Verbindung mit API konnte nicht hergestellt werden." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "API-Schlüssel von Mollie" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Keine Transaktion gefunden, die der Referenz %s entspricht." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Zahlungsanbieter" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Zahlungstransaktion" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Erhaltene Daten mit ungültigem Zahlungsstatus: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "Die Test- oder Live-API-Schlüssel je nach Konfiguration des Anbieters" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" +"Die Kommunikation mit der API ist fehlgeschlagen. Mollie hat uns folgende " +"Informationen übermittelt: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "Der technische Code dieses Zahlungsanbieters." diff --git a/i18n/es.po b/i18n/es.po new file mode 100644 index 0000000..f2b3aab --- /dev/null +++ b/i18n/es.po @@ -0,0 +1,102 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# Larissa Manderfeld, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Larissa Manderfeld, 2023\n" +"Language-Team: Spanish (https://app.transifex.com/odoo/teams/41243/es/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "Clave API" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "Pago cancelado con el estado: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Código" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "No se ha podido establecer la conexión con el API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Clave API de Mollie" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "" +"No se ha encontrado ninguna transacción que coincida con la referencia %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Proveedor de pago" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Transacción de pago" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Información recibida con estado de pago no válido: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "Clave API de prueba o real según la configuración del proveedor." + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" +"Falló la comunicación con la API. Mollie nos dio la siguiente información: " +"%s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "El código técnico de este proveedor de pagos." diff --git a/i18n/es_419.po b/i18n/es_419.po new file mode 100644 index 0000000..124adea --- /dev/null +++ b/i18n/es_419.po @@ -0,0 +1,101 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# Fernanda Alvarez, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Fernanda Alvarez, 2023\n" +"Language-Team: Spanish (Latin America) (https://app.transifex.com/odoo/teams/41243/es_419/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: es_419\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "Clave API" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "Pago cancelado con el estado: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Código" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "No se pudo establecer la conexión con la API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Clave API de Mollie" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "No se encontró ninguna transacción que coincida con la referencia %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Proveedor de pago" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Transacción de pago" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Información recibida con estado de pago no válido: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "Clave API de prueba o real según la configuración del proveedor." + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" +"Falló la comunicación con la API. Mollie proporcionó la siguiente " +"información: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "El código técnico de este proveedor de pagos." diff --git a/i18n/et.po b/i18n/et.po new file mode 100644 index 0000000..f0ba08f --- /dev/null +++ b/i18n/et.po @@ -0,0 +1,102 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Martin Trigaux, 2023 +# Marek Pontus, 2023 +# Leaanika Randmets, 2023 +# Rivo Zängov , 2023 +# Anna, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Anna, 2023\n" +"Language-Team: Estonian (https://app.transifex.com/odoo/teams/41243/et/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: et\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API võti" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Kood" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Could not establish the connection to the API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Makseteenuse pakkuja" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Maksetehing" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "Antud makseteenuse pakkuja tehniline kood." diff --git a/i18n/fa.po b/i18n/fa.po new file mode 100644 index 0000000..e86c3e7 --- /dev/null +++ b/i18n/fa.po @@ -0,0 +1,100 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Hamed Mohammadi , 2023 +# odooers ir, 2023 +# Martin Trigaux, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Martin Trigaux, 2023\n" +"Language-Team: Persian (https://app.transifex.com/odoo/teams/41243/fa/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fa\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "کلید API" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "کد" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "سرویس دهنده پرداخت" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "تراکنش پرداخت" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "" diff --git a/i18n/fi.po b/i18n/fi.po new file mode 100644 index 0000000..64d9b4a --- /dev/null +++ b/i18n/fi.po @@ -0,0 +1,101 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Veikko Väätäjä , 2023 +# Jarmo Kortetjärvi , 2023 +# Kari Lindgren , 2023 +# Ossi Mantylahti , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Ossi Mantylahti , 2023\n" +"Language-Team: Finnish (https://app.transifex.com/odoo/teams/41243/fi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fi\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API Avain" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Koodi" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Yhteyttä API:han ei saatu muodostettua." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Viitettä %s vastaavaa tapahtumaa ei löytynyt." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Maksupalveluntarjoaja" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Maksutapahtuma" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "Tämän maksupalveluntarjoajan tekninen koodi." diff --git a/i18n/fr.po b/i18n/fr.po new file mode 100644 index 0000000..01ddbe5 --- /dev/null +++ b/i18n/fr.po @@ -0,0 +1,101 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# Jolien De Paepe, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Jolien De Paepe, 2023\n" +"Language-Team: French (https://app.transifex.com/odoo/teams/41243/fr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: fr\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "Clé API" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "Paiement annulé avec le statut : %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Code" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Impossible d'établir la connexion avec l'API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Clé API Mollie" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Aucune transaction ne correspond à la référence %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Fournisseur de paiement" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Transaction de paiement" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Données reçues avec un statut de paiement invalide : %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "La clé API Test ou Live selon la configuration du fournisseur" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" +"Échec de la communication avec l'API. Mollie nous a fourni les informations " +"suivantes : %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "Le code technique de ce fournisseur de paiement." diff --git a/i18n/he.po b/i18n/he.po new file mode 100644 index 0000000..f2af072 --- /dev/null +++ b/i18n/he.po @@ -0,0 +1,101 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Martin Trigaux, 2023 +# ExcaliberX , 2023 +# Ha Ketem , 2023 +# ZVI BLONDER , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: ZVI BLONDER , 2023\n" +"Language-Team: Hebrew (https://app.transifex.com/odoo/teams/41243/he/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: he\n" +"Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n == 2 && n % 1 == 0) ? 1: (n % 10 == 0 && n % 1 == 0 && n > 10) ? 2 : 3;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "מפתח API" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "קוד" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "לא הצלחנו להתחבר ל-API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "לא נמצאה עסקה המתאימה למספר האסמכתא %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "עסקת תשלום" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "התקבלו נתונים עם סטטוס תשלום לא תקין: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "" diff --git a/i18n/hu.po b/i18n/hu.po new file mode 100644 index 0000000..476c274 --- /dev/null +++ b/i18n/hu.po @@ -0,0 +1,99 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# gezza , 2023 +# Martin Trigaux, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Martin Trigaux, 2023\n" +"Language-Team: Hungarian (https://app.transifex.com/odoo/teams/41243/hu/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: hu\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API kulcs" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Kód" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Fizetési szolgáltató" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Fizetési tranzakció" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "" diff --git a/i18n/id.po b/i18n/id.po new file mode 100644 index 0000000..1ee5fc8 --- /dev/null +++ b/i18n/id.po @@ -0,0 +1,100 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# Abe Manyo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Abe Manyo, 2023\n" +"Language-Team: Indonesian (https://app.transifex.com/odoo/teams/41243/id/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: id\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API Key" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "Pembayaran dibatalkan dengan status: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Kode" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Tidak dapat membuat hubungan ke API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Mollie API Key" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Tidak ada transaksi dengan referensi %s yang cocok." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Penyedia Pembayaran" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Transaksi Tagihan" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Menerima data dengan status pembayaran tidak valid: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "Test atau Live API Key bergantung pada konfigurasi penyedia" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" +"Komunikasi dengan API gagal. Mollie memberikan kita informasi berikut: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "Kode teknis penyedia pembayaran ini." diff --git a/i18n/it.po b/i18n/it.po new file mode 100644 index 0000000..f11cde8 --- /dev/null +++ b/i18n/it.po @@ -0,0 +1,102 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# Marianna Ciofani, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Marianna Ciofani, 2023\n" +"Language-Team: Italian (https://app.transifex.com/odoo/teams/41243/it/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: it\n" +"Plural-Forms: nplurals=3; plural=n == 1 ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "Chiave API" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "Pagamento annullato con stato: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Codice" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Impossibile stabilire la connessione all'API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Mollie API Key" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Nessuna transazione trovata corrispondente al riferimento %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Fornitore di pagamenti" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Transazione di pagamento" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Dati ricevuti con stato di pagamento non valido: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" +"La chiave API test o live che dipende dalla configurazione del fornitore" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" +"La comunicazione con l'API non è riuscita. Mollie ha fornito le seguenti " +"informazioni: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "Codice tecnico del fornitore di pagamenti." diff --git a/i18n/ja.po b/i18n/ja.po new file mode 100644 index 0000000..cb35b14 --- /dev/null +++ b/i18n/ja.po @@ -0,0 +1,99 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# Junko Augias, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Junko Augias, 2023\n" +"Language-Team: Japanese (https://app.transifex.com/odoo/teams/41243/ja/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ja\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "APIキー" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "以下ステイタスの取消済支払: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "コード" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "APIへの接続を確立できませんでした。" + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Mollie API キー" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "参照に一致する取引が見つかりません%s。" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "決済プロバイダー" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "決済トランザクション" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "無効な支払ステータスのデータを受信しました: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "プロバイダの設定に応じて、テストAPIキーまたはライブAPIキー。" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "APIとの通信に失敗しました。Mollieは以下の情報を提供しています: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "この決済プロバイダーのテクニカルコード。" diff --git a/i18n/ko.po b/i18n/ko.po new file mode 100644 index 0000000..52b127b --- /dev/null +++ b/i18n/ko.po @@ -0,0 +1,99 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# Daye Jeong, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Daye Jeong, 2023\n" +"Language-Team: Korean (https://app.transifex.com/odoo/teams/41243/ko/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ko\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API 키" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "결제 취소 상태: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "코드" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "API 연결을 설정할 수 없습니다." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "모바일 API 키" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "%s 참조와 일치하는 거래 항목이 없습니다." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "결제대행업체" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "지불 거래" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "잘못된 결제 상태의 데이터가 수신되었습니다: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "공급업체 설정에 따른 테스트 또는 라이브 API 키" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "API와의 통신에 실패했습니다. Mollie에서 다음 정보를 확인했습니다: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "이 결제대행업체의 기술 코드입니다." diff --git a/i18n/lt.po b/i18n/lt.po new file mode 100644 index 0000000..4d55c4b --- /dev/null +++ b/i18n/lt.po @@ -0,0 +1,100 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Silvija Butko , 2023 +# Martin Trigaux, 2023 +# Linas Versada , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Linas Versada , 2023\n" +"Language-Team: Lithuanian (https://app.transifex.com/odoo/teams/41243/lt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lt\n" +"Plural-Forms: nplurals=4; plural=(n % 10 == 1 && (n % 100 > 19 || n % 100 < 11) ? 0 : (n % 10 >= 2 && n % 10 <=9) && (n % 100 > 19 || n % 100 < 11) ? 1 : n % 1 != 0 ? 2: 3);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API raktas" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Kodas" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Mokėjimo operacija" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "" diff --git a/i18n/lv.po b/i18n/lv.po new file mode 100644 index 0000000..a444f34 --- /dev/null +++ b/i18n/lv.po @@ -0,0 +1,101 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Arnis Putniņš , 2023 +# Martin Trigaux, 2023 +# Armīns Jeltajevs , 2023 +# JanisJanis , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: JanisJanis , 2023\n" +"Language-Team: Latvian (https://app.transifex.com/odoo/teams/41243/lv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: lv\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n != 0 ? 1 : 2);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API Key" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Kods" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Maksājumu sniedzējs" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Maksājuma darījums" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "" diff --git a/i18n/nl.po b/i18n/nl.po new file mode 100644 index 0000000..90f8042 --- /dev/null +++ b/i18n/nl.po @@ -0,0 +1,102 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# Jolien De Paepe, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Jolien De Paepe, 2023\n" +"Language-Team: Dutch (https://app.transifex.com/odoo/teams/41243/nl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: nl\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API key" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "Geannuleerde betaling met status: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Code" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Kan geen verbinding maken met de API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Mollie API Key" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Geen transactie gevonden die overeenkomt met referentie %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Betaalprovider" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Betalingstransactie" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Gegevens ontvangen met ongeldige betalingsstatus: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" +"De Test of Live API Key afhankelijk van de configuratie van de provider" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" +"De communicatie met de API is mislukt. Mollie gaf ons de volgende " +"informatie: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "De technische code van deze betaalprovider." diff --git a/i18n/payment_mollie.pot b/i18n/payment_mollie.pot new file mode 100644 index 0000000..1f287a2 --- /dev/null +++ b/i18n/payment_mollie.pot @@ -0,0 +1,94 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 21:56+0000\n" +"Last-Translator: \n" +"Language-Team: \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Plural-Forms: \n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "" diff --git a/i18n/pl.po b/i18n/pl.po new file mode 100644 index 0000000..f38d91b --- /dev/null +++ b/i18n/pl.po @@ -0,0 +1,98 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Polish (https://app.transifex.com/odoo/teams/41243/pl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pl\n" +"Plural-Forms: nplurals=4; plural=(n==1 ? 0 : (n%10>=2 && n%10<=4) && (n%100<12 || n%100>14) ? 1 : n!=1 && (n%10>=0 && n%10<=1) || (n%10>=5 && n%10<=9) || (n%100>=12 && n%100<=14) ? 2 : 3);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "Klucz API" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Kod" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Nie można nawiązać połączenia z interfejsem API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Nie znaleziono transakcji pasującej do referencji %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Dostawca Płatności" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Transakcja płatności" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "Kod techniczny tego dostawcy usług płatniczych." diff --git a/i18n/pt.po b/i18n/pt.po new file mode 100644 index 0000000..e25fc30 --- /dev/null +++ b/i18n/pt.po @@ -0,0 +1,98 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Portuguese (https://app.transifex.com/odoo/teams/41243/pt/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "Chave API" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Código" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Transação de Pagamento" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "" diff --git a/i18n/pt_BR.po b/i18n/pt_BR.po new file mode 100644 index 0000000..b05f3d6 --- /dev/null +++ b/i18n/pt_BR.po @@ -0,0 +1,102 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# Maitê Dietze, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Maitê Dietze, 2023\n" +"Language-Team: Portuguese (Brazil) (https://app.transifex.com/odoo/teams/41243/pt_BR/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: pt_BR\n" +"Plural-Forms: nplurals=3; plural=(n == 0 || n == 1) ? 0 : n != 0 && n % 1000000 == 0 ? 1 : 2;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "Chave de API" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "Pagamento cancelado com status: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Código" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Não foi possível estabelecer a conexão com a API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Chave da API Mollie" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Nenhuma transação encontrada com a referência %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Provedor de serviços de pagamento" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Transação de pagamento" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Dados recebidos com status de pagamento inválido: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" +"A chave de API de teste ou ativa, dependendo da configuração do provedor" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" +"A comunicação com a API falhou. O Mollie nos forneceu as seguintes " +"informações: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "O código técnico deste provedor de pagamento." diff --git a/i18n/ru.po b/i18n/ru.po new file mode 100644 index 0000000..a262d4a --- /dev/null +++ b/i18n/ru.po @@ -0,0 +1,101 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# ILMIR , 2023 +# Martin Trigaux, 2023 +# Wil Odoo, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2024\n" +"Language-Team: Russian (https://app.transifex.com/odoo/teams/41243/ru/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: ru\n" +"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || (n%100>=11 && n%100<=14)? 2 : 3);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "Ключ API" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "Отменен платеж со статусом: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Код" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Не удалось установить соединение с API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Mollie API Key" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Не найдено ни одной транзакции, соответствующей ссылке %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Поставщик платежей" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "платеж" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Получены данные с недопустимым статусом платежа: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "Тестовый или живой API-ключ в зависимости от конфигурации провайдера" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" +"Связь с API не удалась. Молли предоставила нам следующую информацию: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "Технический код данного провайдера платежей." diff --git a/i18n/sk.po b/i18n/sk.po new file mode 100644 index 0000000..582d3c6 --- /dev/null +++ b/i18n/sk.po @@ -0,0 +1,98 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Slovak (https://app.transifex.com/odoo/teams/41243/sk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n == 1 ? 0 : n % 1 == 0 && n >= 2 && n <= 4 ? 1 : n % 1 != 0 ? 2: 3);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API Kľúč" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Kód" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Platobná transakcia" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "" diff --git a/i18n/sl.po b/i18n/sl.po new file mode 100644 index 0000000..ba06c68 --- /dev/null +++ b/i18n/sl.po @@ -0,0 +1,99 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Martin Trigaux, 2023 +# Tomaž Jug , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Tomaž Jug , 2023\n" +"Language-Team: Slovenian (https://app.transifex.com/odoo/teams/41243/sl/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sl\n" +"Plural-Forms: nplurals=4; plural=(n%100==1 ? 0 : n%100==2 ? 1 : n%100==3 || n%100==4 ? 2 : 3);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API ključ" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Oznaka" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Ponudnik plačil" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Plačilna transakcija" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "" diff --git a/i18n/sr.po b/i18n/sr.po new file mode 100644 index 0000000..4b5e5f5 --- /dev/null +++ b/i18n/sr.po @@ -0,0 +1,100 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Martin Trigaux, 2023 +# Dragan Vukosavljevic , 2023 +# コフスタジオ, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: コフスタジオ, 2024\n" +"Language-Team: Serbian (https://app.transifex.com/odoo/teams/41243/sr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sr\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API ljuč" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Kod" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Could not establish the connection to the API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "No transaction found matching reference %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Provajder plaćanja" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Transakcija plaćanja" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "The technical code of this payment provider." diff --git a/i18n/sv.po b/i18n/sv.po new file mode 100644 index 0000000..567bb04 --- /dev/null +++ b/i18n/sv.po @@ -0,0 +1,101 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Kim Asplund , 2023 +# Martin Trigaux, 2023 +# Anders Wallenquist , 2023 +# Lasse L, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Lasse L, 2023\n" +"Language-Team: Swedish (https://app.transifex.com/odoo/teams/41243/sv/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: sv\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API-nyckel" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Kod" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Det gick inte att upprätta anslutningen till API:et." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Ingen transaktion hittades som matchar referensen %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Betalningsleverantör" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Betalningstransaktion" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "Den tekniska koden för denna betalningsleverantör." diff --git a/i18n/th.po b/i18n/th.po new file mode 100644 index 0000000..0899d9e --- /dev/null +++ b/i18n/th.po @@ -0,0 +1,100 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# Rasareeyar Lappiam, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Rasareeyar Lappiam, 2024\n" +"Language-Team: Thai (https://app.transifex.com/odoo/teams/41243/th/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: th\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "คีย์ API" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "ยกเลิกการชำระเงินที่มีสถานะ: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "โค้ด" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "ไม่สามารถสร้างการเชื่อมต่อกับ API ได้" + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "คีย์ API ของ Mollie " + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "ไม่พบธุรกรรมที่ตรงกับการอ้างอิง %s" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "ผู้ให้บริการชำระเงิน" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "ธุรกรรมสำหรับการชำระเงิน" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "ได้รับข้อมูลที่มีสถานะการชำระเงินไม่ถูกต้อง: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "รหัส Test หรือ Live API ขึ้นอยู่กับการกำหนดค่าของผู้ให้บริการ" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" +"การสื่อสารกับ API ล้มเหลว Mollie ให้ข้อมูลเกี่ยวกับปัญหาดังต่อไปนี้:%s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "รหัสทางเทคนิคของผู้ให้บริการชำระเงินรายนี้" diff --git a/i18n/tr.po b/i18n/tr.po new file mode 100644 index 0000000..1d01d27 --- /dev/null +++ b/i18n/tr.po @@ -0,0 +1,101 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Murat Kaplan , 2023 +# Martin Trigaux, 2023 +# Ertuğrul Güreş , 2023 +# Ediz Duman , 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Ediz Duman , 2023\n" +"Language-Team: Turkish (https://app.transifex.com/odoo/teams/41243/tr/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: tr\n" +"Plural-Forms: nplurals=2; plural=(n > 1);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API Anahtarı" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "Durumu iptal edilen ödeme: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Kod" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "API bağlantısı kurulamadı." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Mollie API Anahtarı" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Referans %s eşleşen bir işlem bulunamadı." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Ödeme Sağlayıcı" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Ödeme İşlemi" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Geçersiz ödeme durumuyla alınan veriler: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "Bu ödeme sağlayıcısının teknik kodu." diff --git a/i18n/uk.po b/i18n/uk.po new file mode 100644 index 0000000..80b3c2f --- /dev/null +++ b/i18n/uk.po @@ -0,0 +1,100 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Martin Trigaux, 2023 +# Alina Lisnenko , 2023 +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Ukrainian (https://app.transifex.com/odoo/teams/41243/uk/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: uk\n" +"Plural-Forms: nplurals=4; plural=(n % 1 == 0 && n % 10 == 1 && n % 100 != 11 ? 0 : n % 1 == 0 && n % 10 >= 2 && n % 10 <= 4 && (n % 100 < 12 || n % 100 > 14) ? 1 : n % 1 == 0 && (n % 10 ==0 || (n % 10 >=5 && n % 10 <=9) || (n % 100 >=11 && n % 100 <=14 )) ? 2: 3);\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "Ключ API " + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "Скасований платіж зі статусом: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Код" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Не вдалося встановити з’єднання з API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "API ключ Mollie" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Не знайдено жодної транзакції, що відповідає референсу %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Провайдер платежу" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Платіжна операція" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Отримані дані з недійсним статусом платежу: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "Тестовий чи Live API ключ залежить від налаштувань провайдера" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "Технічний код цього провайдера платежу." diff --git a/i18n/vi.po b/i18n/vi.po new file mode 100644 index 0000000..e9ebf6f --- /dev/null +++ b/i18n/vi.po @@ -0,0 +1,100 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Wil Odoo, 2023\n" +"Language-Team: Vietnamese (https://app.transifex.com/odoo/teams/41243/vi/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: vi\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "Khóa API" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "Thanh toán đã huỷ với trạng thái: %s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "Mã" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "Không thể thiết lập kết nối với API." + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Mã khoá API Mollie" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "Không tìm thấy giao dịch nào khớp với mã %s." + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "Nhà cung cấp dịch vụ thanh toán" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "Giao dịch thanh toán" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "Dữ liệu đã nhận với trạng thái thanh toán không hợp lệ: %s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "" +"Mã khóa API kiểm thử hoặc đang sử dụng phụ thuộc vào cấu hình của nhà cung " +"cấp" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "Mã kỹ thuật của nhà cung cấp dịch vụ thanh toán này." diff --git a/i18n/zh_CN.po b/i18n/zh_CN.po new file mode 100644 index 0000000..51ea806 --- /dev/null +++ b/i18n/zh_CN.po @@ -0,0 +1,100 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# 山西清水欧度(QQ:54773801) <54773801@qq.com>, 2023 +# Chloe Wang, 2023 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Chloe Wang, 2023\n" +"Language-Team: Chinese (China) (https://app.transifex.com/odoo/teams/41243/zh_CN/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_CN\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API 密钥" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "取消了付款,状态为:%s" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "代码" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "无法建立与API的连接。" + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Mollie API 密钥" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "没有发现与参考文献%s相匹配的交易。" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "支付提供商" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "支付交易" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "收到的数据为无效的支付状态。%s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "测试或实时 API 密钥,取决于提供商的配置" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "与 API 的通信失败。Mollie提供了以下信息:%s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "该支付提供商的技术代码。" diff --git a/i18n/zh_TW.po b/i18n/zh_TW.po new file mode 100644 index 0000000..fc92eeb --- /dev/null +++ b/i18n/zh_TW.po @@ -0,0 +1,99 @@ +# Translation of Odoo Server. +# This file contains the translation of the following modules: +# * payment_mollie +# +# Translators: +# Wil Odoo, 2023 +# Tony Ng, 2024 +# +msgid "" +msgstr "" +"Project-Id-Version: Odoo Server 17.0\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2023-10-26 21:56+0000\n" +"PO-Revision-Date: 2023-10-26 23:09+0000\n" +"Last-Translator: Tony Ng, 2024\n" +"Language-Team: Chinese (Taiwan) (https://app.transifex.com/odoo/teams/41243/zh_TW/)\n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: \n" +"Language: zh_TW\n" +"Plural-Forms: nplurals=1; plural=0;\n" + +#. module: payment_mollie +#: model_terms:ir.ui.view,arch_db:payment_mollie.payment_provider_form +msgid "API Key" +msgstr "API 金鑰" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Canceled payment with status: %s" +msgstr "" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__code +msgid "Code" +msgstr "程式碼" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "Could not establish the connection to the API." +msgstr "無法建立與 API 的連線。" + +#. module: payment_mollie +#: model:ir.model.fields.selection,name:payment_mollie.selection__payment_provider__code__mollie +msgid "Mollie" +msgstr "Mollie" + +#. module: payment_mollie +#: model:ir.model.fields,field_description:payment_mollie.field_payment_provider__mollie_api_key +msgid "Mollie API Key" +msgstr "Mollie API 密鑰" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "No transaction found matching reference %s." +msgstr "沒有找到匹配參考 %s 的交易。" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_provider +msgid "Payment Provider" +msgstr "支付提供商" + +#. module: payment_mollie +#: model:ir.model,name:payment_mollie.model_payment_transaction +msgid "Payment Transaction" +msgstr "付款交易" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_transaction.py:0 +#, python-format +msgid "Received data with invalid payment status: %s" +msgstr "收到的付款狀態無效的資料:%s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__mollie_api_key +msgid "" +"The Test or Live API Key depending on the configuration of the provider" +msgstr "測試或實時 API 密鑰,取決於服務商的配置" + +#. module: payment_mollie +#. odoo-python +#: code:addons/payment_mollie/models/payment_provider.py:0 +#, python-format +msgid "" +"The communication with the API failed. Mollie gave us the following " +"information: %s" +msgstr "與 API 通訊失敗。Mollie 提供了以下資訊:%s" + +#. module: payment_mollie +#: model:ir.model.fields,help:payment_mollie.field_payment_provider__code +msgid "The technical code of this payment provider." +msgstr "此付款服務商的技術代碼。" diff --git a/models/__init__.py b/models/__init__.py new file mode 100644 index 0000000..08dfb8a --- /dev/null +++ b/models/__init__.py @@ -0,0 +1,4 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import payment_provider +from . import payment_transaction diff --git a/models/payment_provider.py b/models/payment_provider.py new file mode 100644 index 0000000..5a8e4a9 --- /dev/null +++ b/models/payment_provider.py @@ -0,0 +1,91 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +import logging +import pprint + +import requests +from werkzeug import urls + +from odoo import _, fields, models, service +from odoo.exceptions import ValidationError + +from odoo.addons.payment_mollie import const + +_logger = logging.getLogger(__name__) + + +class PaymentProvider(models.Model): + _inherit = 'payment.provider' + + code = fields.Selection( + selection_add=[('mollie', 'Mollie')], ondelete={'mollie': 'set default'} + ) + mollie_api_key = fields.Char( + string="Mollie API Key", + help="The Test or Live API Key depending on the configuration of the provider", + required_if_provider="mollie", groups="base.group_system" + ) + + #=== BUSINESS METHODS ===# + + def _get_supported_currencies(self): + """ Override of `payment` to return the supported currencies. """ + supported_currencies = super()._get_supported_currencies() + if self.code == 'mollie': + supported_currencies = supported_currencies.filtered( + lambda c: c.name in const.SUPPORTED_CURRENCIES + ) + return supported_currencies + + def _mollie_make_request(self, endpoint, data=None, method='POST'): + """ Make a request at mollie endpoint. + + Note: self.ensure_one() + + :param str endpoint: The endpoint to be reached by the request + :param dict data: The payload of the request + :param str method: The HTTP method of the request + :return The JSON-formatted content of the response + :rtype: dict + :raise: ValidationError if an HTTP error occurs + """ + self.ensure_one() + endpoint = f'/v2/{endpoint.strip("/")}' + url = urls.url_join('https://api.mollie.com/', endpoint) + + odoo_version = service.common.exp_version()['server_version'] + module_version = self.env.ref('base.module_payment_mollie').installed_version + headers = { + "Accept": "application/json", + "Authorization": f'Bearer {self.mollie_api_key}', + "Content-Type": "application/json", + # See https://docs.mollie.com/integration-partners/user-agent-strings + "User-Agent": f'Odoo/{odoo_version} MollieNativeOdoo/{module_version}', + } + + try: + response = requests.request(method, url, json=data, headers=headers, timeout=60) + try: + response.raise_for_status() + except requests.exceptions.HTTPError: + _logger.exception( + "Invalid API request at %s with data:\n%s", url, pprint.pformat(data) + ) + raise ValidationError( + "Mollie: " + _( + "The communication with the API failed. Mollie gave us the following " + "information: %s", response.json().get('detail', '') + )) + except (requests.exceptions.ConnectionError, requests.exceptions.Timeout): + _logger.exception("Unable to reach endpoint at %s", url) + raise ValidationError( + "Mollie: " + _("Could not establish the connection to the API.") + ) + return response.json() + + def _get_default_payment_method_codes(self): + """ Override of `payment` to return the default payment method codes. """ + default_codes = super()._get_default_payment_method_codes() + if self.code != 'mollie': + return default_codes + return const.DEFAULT_PAYMENT_METHODS_CODES diff --git a/models/payment_transaction.py b/models/payment_transaction.py new file mode 100644 index 0000000..a0ff0d2 --- /dev/null +++ b/models/payment_transaction.py @@ -0,0 +1,141 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +import logging +import pprint + +from werkzeug import urls + +from odoo import _, models +from odoo.exceptions import ValidationError + +from odoo.addons.payment_mollie import const +from odoo.addons.payment_mollie.controllers.main import MollieController + + +_logger = logging.getLogger(__name__) + + +class PaymentTransaction(models.Model): + _inherit = 'payment.transaction' + + def _get_specific_rendering_values(self, processing_values): + """ Override of payment to return Mollie-specific rendering values. + + Note: self.ensure_one() from `_get_processing_values` + + :param dict processing_values: The generic and specific processing values of the transaction + :return: The dict of provider-specific rendering values + :rtype: dict + """ + res = super()._get_specific_rendering_values(processing_values) + if self.provider_code != 'mollie': + return res + + payload = self._mollie_prepare_payment_request_payload() + _logger.info("sending '/payments' request for link creation:\n%s", pprint.pformat(payload)) + payment_data = self.provider_id._mollie_make_request('/payments', data=payload) + + # The provider reference is set now to allow fetching the payment status after redirection + self.provider_reference = payment_data.get('id') + + # Extract the checkout URL from the payment data and add it with its query parameters to the + # rendering values. Passing the query parameters separately is necessary to prevent them + # from being stripped off when redirecting the user to the checkout URL, which can happen + # when only one payment method is enabled on Mollie and query parameters are provided. + checkout_url = payment_data['_links']['checkout']['href'] + parsed_url = urls.url_parse(checkout_url) + url_params = urls.url_decode(parsed_url.query) + return {'api_url': checkout_url, 'url_params': url_params} + + def _mollie_prepare_payment_request_payload(self): + """ Create the payload for the payment request based on the transaction values. + + :return: The request payload + :rtype: dict + """ + user_lang = self.env.context.get('lang') + base_url = self.provider_id.get_base_url() + redirect_url = urls.url_join(base_url, MollieController._return_url) + webhook_url = urls.url_join(base_url, MollieController._webhook_url) + + return { + 'description': self.reference, + 'amount': { + 'currency': self.currency_id.name, + 'value': f"{self.amount:.2f}", + }, + 'locale': user_lang if user_lang in const.SUPPORTED_LOCALES else 'en_US', + 'method': [const.PAYMENT_METHODS_MAPPING.get( + self.payment_method_code, self.payment_method_code + )], + # Since Mollie does not provide the transaction reference when returning from + # redirection, we include it in the redirect URL to be able to match the transaction. + 'redirectUrl': f'{redirect_url}?ref={self.reference}', + 'webhookUrl': f'{webhook_url}?ref={self.reference}', + } + + def _get_tx_from_notification_data(self, provider_code, notification_data): + """ Override of payment to find the transaction based on Mollie data. + + :param str provider_code: The code of the provider that handled the transaction + :param dict notification_data: The notification data sent by the provider + :return: The transaction if found + :rtype: recordset of `payment.transaction` + :raise: ValidationError if the data match no transaction + """ + tx = super()._get_tx_from_notification_data(provider_code, notification_data) + if provider_code != 'mollie' or len(tx) == 1: + return tx + + tx = self.search( + [('reference', '=', notification_data.get('ref')), ('provider_code', '=', 'mollie')] + ) + if not tx: + raise ValidationError("Mollie: " + _( + "No transaction found matching reference %s.", notification_data.get('ref') + )) + return tx + + def _process_notification_data(self, notification_data): + """ Override of payment to process the transaction based on Mollie data. + + Note: self.ensure_one() + + :param dict notification_data: The notification data sent by the provider + :return: None + """ + super()._process_notification_data(notification_data) + if self.provider_code != 'mollie': + return + + payment_data = self.provider_id._mollie_make_request( + f'/payments/{self.provider_reference}', method="GET" + ) + + # Update the payment method. + payment_method_type = payment_data.get('method', '') + if payment_method_type == 'creditcard': + payment_method_type = payment_data.get('details', {}).get('cardLabel', '').lower() + payment_method = self.env['payment.method']._get_from_code( + payment_method_type, mapping=const.PAYMENT_METHODS_MAPPING + ) + self.payment_method_id = payment_method or self.payment_method_id + + # Update the payment state. + payment_status = payment_data.get('status') + if payment_status == 'pending': + self._set_pending() + elif payment_status == 'authorized': + self._set_authorized() + elif payment_status == 'paid': + self._set_done() + elif payment_status in ['expired', 'canceled', 'failed']: + self._set_canceled("Mollie: " + _("Canceled payment with status: %s", payment_status)) + else: + _logger.info( + "received data with invalid payment status (%s) for transaction with reference %s", + payment_status, self.reference + ) + self._set_error( + "Mollie: " + _("Received data with invalid payment status: %s", payment_status) + ) diff --git a/static/description/icon.png b/static/description/icon.png new file mode 100644 index 0000000..3bf9d9c Binary files /dev/null and b/static/description/icon.png differ diff --git a/static/description/icon.svg b/static/description/icon.svg new file mode 100644 index 0000000..9ec1b43 --- /dev/null +++ b/static/description/icon.svg @@ -0,0 +1 @@ + diff --git a/tests/__init__.py b/tests/__init__.py new file mode 100644 index 0000000..e17b403 --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1,4 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from . import common +from . import test_mollie diff --git a/tests/common.py b/tests/common.py new file mode 100644 index 0000000..4970151 --- /dev/null +++ b/tests/common.py @@ -0,0 +1,21 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from odoo.addons.payment.tests.common import PaymentCommon + + +class MollieCommon(PaymentCommon): + + @classmethod + def setUpClass(cls): + super().setUpClass() + + cls.mollie = cls._prepare_provider('mollie', update_values={ + 'mollie_api_key': 'dummy', + }) + cls.provider = cls.mollie + cls.currency = cls.currency_euro + + cls.notification_data = { + 'ref': cls.reference, + 'id': 'tr_ABCxyz0123', + } diff --git a/tests/test_mollie.py b/tests/test_mollie.py new file mode 100644 index 0000000..067ea26 --- /dev/null +++ b/tests/test_mollie.py @@ -0,0 +1,38 @@ +# Part of Odoo. See LICENSE file for full copyright and licensing details. + +from unittest.mock import patch + +from odoo.tests import tagged +from odoo.tools import mute_logger + +from odoo.addons.payment.tests.http_common import PaymentHttpCommon +from odoo.addons.payment_mollie.controllers.main import MollieController +from odoo.addons.payment_mollie.tests.common import MollieCommon + + +@tagged('post_install', '-at_install') +class MollieTest(MollieCommon, PaymentHttpCommon): + + def test_payment_request_payload_values(self): + tx = self._create_transaction(flow='redirect') + + payload = tx._mollie_prepare_payment_request_payload() + + self.assertDictEqual(payload['amount'], {'currency': 'EUR', 'value': '1111.11'}) + self.assertEqual(payload['description'], tx.reference) + + @mute_logger( + 'odoo.addons.payment_mollie.controllers.main', + 'odoo.addons.payment_mollie.models.payment_transaction', + ) + def test_webhook_notification_confirms_transaction(self): + """ Test the processing of a webhook notification. """ + tx = self._create_transaction('redirect') + url = self._build_url(MollieController._webhook_url) + with patch( + 'odoo.addons.payment_mollie.models.payment_provider.PaymentProvider' + '._mollie_make_request', + return_value={'status': 'paid'}, + ): + self._make_http_post_request(url, data=self.notification_data) + self.assertEqual(tx.state, 'done') diff --git a/views/payment_mollie_templates.xml b/views/payment_mollie_templates.xml new file mode 100644 index 0000000..990cd0a --- /dev/null +++ b/views/payment_mollie_templates.xml @@ -0,0 +1,13 @@ + + + + + + diff --git a/views/payment_provider_views.xml b/views/payment_provider_views.xml new file mode 100644 index 0000000..a13d104 --- /dev/null +++ b/views/payment_provider_views.xml @@ -0,0 +1,17 @@ + + + + + Mollie Provider Form + payment.provider + + + + + + + + + + +