[FIX+IMP] account_payment_order: Better error messages on "Add to order"

- The filter for payment order lines should be applied after checking
  the lack of payment mode.
- Added message when the payment mode is not valid for payment orders.
- Added message specifying the payment order where the line is already
  present.

TT44762
This commit is contained in:
Pedro M. Baeza
2023-08-18 17:28:35 +02:00
committed by David Ramia
parent 8667d74eed
commit f8043265ac
44 changed files with 853 additions and 180 deletions

View File

@@ -2,10 +2,13 @@
Account Payment Order
=====================
.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:dccb6822d0839fced2673dc87add4abf53d1a4edb30b69ca61d515277c3d0bcb
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png
:target: https://odoo-community.org/page/development-status
@@ -19,11 +22,11 @@ Account Payment Order
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/173/16.0
:alt: Try me on Runbot
.. |badge5| image:: https://img.shields.io/badge/runboat-Try%20me-875A7B.png
:target: https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&target_branch=16.0
:alt: Try me on Runboat
|badge1| |badge2| |badge3| |badge4| |badge5|
|badge1| |badge2| |badge3| |badge4| |badge5|
This module adds support for payment orders and debit orders.
@@ -65,7 +68,7 @@ Bug Tracker
Bugs are tracked on `GitHub Issues <https://github.com/OCA/bank-payment/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
If you spotted it first, help us to smash it by providing a detailed and welcomed
`feedback <https://github.com/OCA/bank-payment/issues/new?body=module:%20account_payment_order%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.
Do not contact contributors directly about support or help with technical issues.

View File

@@ -9,7 +9,7 @@
{
"name": "Account Payment Order",
"version": "16.0.1.2.1",
"version": "16.0.1.2.2",
"license": "AGPL-3",
"author": "ACSONE SA/NV, "
"Therp BV, "

View File

@@ -729,8 +729,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -749,6 +749,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -776,7 +783,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1069,6 +1076,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -736,8 +736,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -756,6 +756,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -783,7 +790,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1076,6 +1083,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -737,8 +737,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -757,6 +757,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -784,7 +791,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1077,6 +1084,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -764,11 +764,9 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
"No s'ha creat cap línia de pagament per a la factura %s perquè ja existeix o "
"perquè aquesta factura ja està pagada."
#. module: account_payment_order
#. odoo-python
@@ -788,6 +786,13 @@ msgstr ""
"No s'ha trobat cap gestor per a aquest mètode de pagament. Potser no heu "
"instal·lat el mòdul Odoo relacionat."
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -815,8 +820,8 @@ msgstr "Número d'error"
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgstr "Número de missatges que requereixen una acció"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error_counter
@@ -1110,6 +1115,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
@@ -1265,6 +1278,17 @@ msgstr ""
"altrament, es crearan ordres de pagament noves (una per cada mode de "
"pagament)."
#~ msgid "Number of messages which requires an action"
#~ msgstr "Número de missatges que requereixen una acció"
#, python-format
#~ msgid ""
#~ "No Payment Line created for invoice %s because it already exists or "
#~ "because this invoice is already paid."
#~ msgstr ""
#~ "No s'ha creat cap línia de pagament per a la factura %s perquè ja "
#~ "existeix o perquè aquesta factura ja està pagada."
#~ msgid "Accounting Entries Options"
#~ msgstr "Opcions d'assentaments comptables"

View File

@@ -732,8 +732,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -752,6 +752,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -779,7 +786,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1072,6 +1079,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -736,8 +736,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -756,6 +756,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -783,7 +790,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1076,6 +1083,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -739,8 +739,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -759,6 +759,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -786,7 +793,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1082,6 +1089,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -741,8 +741,8 @@ msgstr "Nächster Aktivitätstyp"
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -761,6 +761,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -788,8 +795,8 @@ msgstr "Anzahl der Bankzeilen"
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgstr "Anzahl der Nachrichten, die eine Aktion erfordern"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error_counter
@@ -1081,6 +1088,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
@@ -1226,6 +1241,9 @@ msgid "otherwise, new payment orders will be created (one per payment mode)."
msgstr ""
"Andernfalls werden neue Zahlungsaufträge erstellt (einer pro Zahlungsart)."
#~ msgid "Number of messages which requires an action"
#~ msgstr "Anzahl der Nachrichten, die eine Aktion erfordern"
#~ msgid "Accounting Entries Options"
#~ msgstr "Optionen für Buchungseinträge"

View File

@@ -738,8 +738,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -758,6 +758,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -785,7 +792,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1078,6 +1085,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -770,11 +770,9 @@ msgstr "Tipo de la siguiente actividad"
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
"No se ha creado línea de pago para la factura %s porque ya existe o porque "
"la factura ya está pagada."
#. module: account_payment_order
#. odoo-python
@@ -794,6 +792,13 @@ msgstr ""
"Sin manejador para este método de pago. Tal vez no ha instalado el módulo de "
"Odoo relacionado."
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -821,8 +826,8 @@ msgstr "Número de errores"
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgstr "Número de mensajes que requieren una acción"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error_counter
@@ -1123,6 +1128,14 @@ msgid ""
msgstr ""
"¡La cantidad para el partner '%(partner)s' es negativa o nula (%(amount).2f)!"
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
@@ -1282,6 +1295,17 @@ msgid "otherwise, new payment orders will be created (one per payment mode)."
msgstr ""
"En caso contrario, se crearán nuevas órdenes (una por cada modo de pago)."
#~ msgid "Number of messages which requires an action"
#~ msgstr "Número de mensajes que requieren una acción"
#, python-format
#~ msgid ""
#~ "No Payment Line created for invoice %s because it already exists or "
#~ "because this invoice is already paid."
#~ msgstr ""
#~ "No se ha creado línea de pago para la factura %s porque ya existe o "
#~ "porque la factura ya está pagada."
#~ msgid "Accounting Entries Options"
#~ msgstr "Opciones de asientos contables"

View File

@@ -760,11 +760,9 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
"No se ha creado línea de pago para la factura %s porque ya existe o porque "
"la factura ya está pagada."
#. module: account_payment_order
#. odoo-python
@@ -784,6 +782,13 @@ msgstr ""
"Sin manejador para este método de pago. Tal vez no ha instalado el módulo de "
"Odoo relacionado."
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -811,8 +816,8 @@ msgstr "Número de errores"
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgstr "Número de mensajes que requieren una acción"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error_counter
@@ -1106,6 +1111,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
@@ -1259,6 +1272,17 @@ msgid "otherwise, new payment orders will be created (one per payment mode)."
msgstr ""
"En caso contrario, se crearán nuevas órdenes (una por cada modo de pago)."
#~ msgid "Number of messages which requires an action"
#~ msgstr "Número de mensajes que requieren una acción"
#, python-format
#~ msgid ""
#~ "No Payment Line created for invoice %s because it already exists or "
#~ "because this invoice is already paid."
#~ msgstr ""
#~ "No se ha creado línea de pago para la factura %s porque ya existe o "
#~ "porque la factura ya está pagada."
#~ msgid "Accounting Entries Options"
#~ msgstr "Opciones de asientos contables"

View File

@@ -761,11 +761,9 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
"No se ha creado ninguna línea de pago para la factura %s porque ya existe o "
"porque esta factura ya está pagada."
#. module: account_payment_order
#. odoo-python
@@ -785,6 +783,13 @@ msgstr ""
"No hay administrador para este método de pago. Tal vez no haya instalado el "
"módulo Odoo relacionado."
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -812,8 +817,8 @@ msgstr "Número de errores"
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgstr "Número de mensajes que requieren alguna acción"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error_counter
@@ -1107,6 +1112,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
@@ -1259,6 +1272,17 @@ msgid "otherwise, new payment orders will be created (one per payment mode)."
msgstr ""
"de lo contrario, se crearán nuevos pagos de nómina (una por modo de pago)."
#~ msgid "Number of messages which requires an action"
#~ msgstr "Número de mensajes que requieren alguna acción"
#, python-format
#~ msgid ""
#~ "No Payment Line created for invoice %s because it already exists or "
#~ "because this invoice is already paid."
#~ msgstr ""
#~ "No se ha creado ninguna línea de pago para la factura %s porque ya existe "
#~ "o porque esta factura ya está pagada."
#~ msgid "Accounting Entries Options"
#~ msgstr "Opciones de Asientos Contables"

View File

@@ -737,8 +737,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -757,6 +757,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -784,7 +791,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1077,6 +1084,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -737,8 +737,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -757,6 +757,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -784,7 +791,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1077,6 +1084,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -737,8 +737,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -757,6 +757,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -784,7 +791,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1077,6 +1084,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -737,8 +737,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -757,6 +757,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -784,7 +791,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1077,6 +1084,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -737,8 +737,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -757,6 +757,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -784,7 +791,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1077,6 +1084,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -736,8 +736,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -756,6 +756,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -783,7 +790,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1076,6 +1083,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -736,8 +736,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -756,6 +756,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -783,7 +790,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1076,6 +1083,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -28,8 +28,8 @@ msgid ""
"data-oe-model=account.payment.order data-oe-id=%(order_id)d>%(name)s</a>."
msgstr ""
"%(count)d lignes de paiement ajoutées à l'ordre de paiement brouillon "
"existant <a href=# data-oe-model=account.payment.order data-oe-"
"id=%(order_id)d>%(name)s</a>."
"existant <a href=# data-oe-model=account.payment.order data-oe-id="
"%(order_id)d>%(name)s</a>."
#. module: account_payment_order
#. odoo-python
@@ -41,8 +41,8 @@ msgid ""
"has been automatically created."
msgstr ""
"%(count)d lignes de paiement ajoutées au nouvel ordre de paiement en "
"brouillon<a href=# data-oe-model=account.payment.order data-oe-"
"id=%(order_id)d>%(name)s</a>, qui a été automatiquement créé."
"brouillon<a href=# data-oe-model=account.payment.order data-oe-id="
"%(order_id)d>%(name)s</a>, qui a été automatiquement créé."
#. module: account_payment_order
#: model_terms:ir.ui.view,arch_db:account_payment_order.print_account_payment_order_document
@@ -774,11 +774,9 @@ msgstr "Type d'activité à venir"
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
"Aucune ligne de paiement créée pour la facture %s parce qu'elle existe déjà "
"ou parce que cette facture est déjà payée."
#. module: account_payment_order
#. odoo-python
@@ -798,6 +796,13 @@ msgstr ""
"Aucun gestionnaire pour ce mode de paiement. Vous n'avez peut-être pas "
"installé le module Odoo associé."
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -825,8 +830,8 @@ msgstr "Nombre d'erreurs"
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgstr "Nombre de messages nécessitant une action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error_counter
@@ -1125,8 +1130,16 @@ msgstr "Modèle technique pour imprimer un order de paiement"
msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
"Le montant pour le partenaire '%(partner)s' est négatif ou nul (%(amount).2f)"
" !"
"Le montant pour le partenaire '%(partner)s' est négatif ou nul "
"(%(amount).2f) !"
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
@@ -1286,6 +1299,17 @@ msgid "otherwise, new payment orders will be created (one per payment mode)."
msgstr ""
"Sinon, de nouveaux ordres de paiement seront créés (un par mode de paiement)."
#~ msgid "Number of messages which requires an action"
#~ msgstr "Nombre de messages nécessitant une action"
#, python-format
#~ msgid ""
#~ "No Payment Line created for invoice %s because it already exists or "
#~ "because this invoice is already paid."
#~ msgstr ""
#~ "Aucune ligne de paiement créée pour la facture %s parce qu'elle existe "
#~ "déjà ou parce que cette facture est déjà payée."
#~ msgid "Accounting Entries Options"
#~ msgstr "Options des pièces comptables"

View File

@@ -763,11 +763,9 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
"Aucune ligne de paiement créée pour la facture %s parce qu'elle existe déjà "
"ou parce que cette facture est déjà payée."
#. module: account_payment_order
#. odoo-python
@@ -787,6 +785,13 @@ msgstr ""
"Aucun gestionnaire pour ce mode de paiement. Vous n'avez peut-être pas "
"installé le module Odoo associé."
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -814,7 +819,7 @@ msgstr "Nombre d'erreurs"
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1109,6 +1114,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
@@ -1262,6 +1275,14 @@ msgid "otherwise, new payment orders will be created (one per payment mode)."
msgstr ""
"sinon, de nouveaux ordres de paiement seront créés (un par mode de paiement)."
#, python-format
#~ msgid ""
#~ "No Payment Line created for invoice %s because it already exists or "
#~ "because this invoice is already paid."
#~ msgstr ""
#~ "Aucune ligne de paiement créée pour la facture %s parce qu'elle existe "
#~ "déjà ou parce que cette facture est déjà payée."
#~ msgid "Accounting Entries Options"
#~ msgstr "Options des pièces comptables"

View File

@@ -736,8 +736,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -756,6 +756,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -783,7 +790,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1076,6 +1083,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -742,8 +742,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -762,6 +762,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -789,7 +796,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1087,6 +1094,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -738,8 +738,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -758,6 +758,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -785,7 +792,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1079,6 +1086,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -737,8 +737,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -757,6 +757,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -784,7 +791,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1077,6 +1084,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -746,8 +746,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -766,6 +766,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -795,7 +802,7 @@ msgstr "Samme eller tomme"
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1094,6 +1101,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -762,8 +762,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -782,6 +782,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -810,7 +817,7 @@ msgstr "Aantal fouten"
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1108,6 +1115,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -737,8 +737,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -757,6 +757,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -784,7 +791,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1077,6 +1084,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -738,8 +738,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -758,6 +758,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -785,7 +792,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1078,6 +1085,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -737,8 +737,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -757,6 +757,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -784,7 +791,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1077,6 +1084,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -736,8 +736,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -756,6 +756,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -783,7 +790,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1076,6 +1083,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -742,8 +742,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -762,6 +762,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -789,7 +796,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1087,6 +1094,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -737,8 +737,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -757,6 +757,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -784,7 +791,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1077,6 +1084,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -737,8 +737,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -757,6 +757,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -784,7 +791,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1077,6 +1084,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -738,8 +738,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -758,6 +758,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -785,7 +792,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1078,6 +1085,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -743,8 +743,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -763,6 +763,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -790,7 +797,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1088,6 +1095,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -736,8 +736,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -756,6 +756,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -783,8 +790,8 @@ msgstr "Antal fel"
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgstr "Antal meddelanden som behöver en åtgärd"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_has_error_counter
@@ -1076,6 +1083,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
@@ -1221,6 +1236,9 @@ msgstr ""
msgid "otherwise, new payment orders will be created (one per payment mode)."
msgstr ""
#~ msgid "Number of messages which requires an action"
#~ msgstr "Antal meddelanden som behöver en åtgärd"
#~ msgid "Bank Transactions"
#~ msgstr "Banktransaktioner"

View File

@@ -736,8 +736,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -756,6 +756,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -783,7 +790,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1076,6 +1083,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -736,8 +736,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -756,6 +756,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -783,7 +790,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1076,6 +1083,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -736,8 +736,8 @@ msgstr ""
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"No Payment Line created for invoice %s because it already exists or because "
"this invoice is already paid."
"No Payment Line created for invoice %s because its payment mode is not "
"intended for payment orders."
msgstr ""
#. module: account_payment_order
@@ -756,6 +756,13 @@ msgid ""
"Odoo module."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid "No pending AR/AP lines to add on %s"
msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__name
msgid "Number"
@@ -783,7 +790,7 @@ msgstr ""
#. module: account_payment_order
#: model:ir.model.fields,help:account_payment_order.field_account_payment_order__message_needaction_counter
msgid "Number of messages which requires an action"
msgid "Number of messages requiring action"
msgstr ""
#. module: account_payment_order
@@ -1076,6 +1083,14 @@ msgid ""
"The amount for Partner '%(partner)s' is negative or null (%(amount).2f) !"
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0
#, python-format
msgid ""
"The invoice %(move)s is already added in the payment order(s) %(order)s."
msgstr ""
#. module: account_payment_order
#. odoo-python
#: code:addons/account_payment_order/models/account_move.py:0

View File

@@ -62,12 +62,10 @@ class AccountMove(models.Model):
not x.reconciled
and x.account_id.account_type
in ("asset_receivable", "liability_payable")
and not any(
p_state in ("draft", "open", "generated")
for p_state in x.payment_line_ids.mapped("state")
)
)
)
if not pre_applicable_lines:
raise UserError(_("No pending AR/AP lines to add on %s") % move.name)
payment_modes = pre_applicable_lines.mapped("payment_mode_id")
if not payment_modes:
raise UserError(_("No Payment Mode on invoice %s") % move.name)
@@ -78,11 +76,24 @@ class AccountMove(models.Model):
raise UserError(
_(
"No Payment Line created for invoice %s because "
"it already exists or because this invoice is "
"already paid."
"its payment mode is not intended for payment orders."
)
% move.name
)
payment_lines = applicable_lines.payment_line_ids.filtered(
lambda l: l.state in ("draft", "open", "generated")
)
if payment_lines:
raise UserError(
_(
"The invoice %(move)s is already added in the payment "
"order(s) %(order)s."
)
% {
"move": move.name,
"order": payment_lines.order_id.mapped("name"),
}
)
for payment_mode in payment_modes:
payorder = apoo.search(
move.get_account_payment_domain(payment_mode), limit=1

View File

@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8" ?>
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="Docutils 0.15.1: http://docutils.sourceforge.net/" />
<meta name="generator" content="Docutils: https://docutils.sourceforge.io/" />
<title>Account Payment Order</title>
<style type="text/css">
/*
:Author: David Goodger (goodger@python.org)
:Id: $Id: html4css1.css 7952 2016-07-26 18:15:59Z milde $
:Id: $Id: html4css1.css 8954 2022-01-20 10:10:25Z milde $
:Copyright: This stylesheet has been placed in the public domain.
Default cascading style sheet for the HTML output of Docutils.
See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
See https://docutils.sourceforge.io/docs/howto/html-stylesheets.html for how to
customize this style sheet.
*/
@@ -366,26 +366,28 @@ ul.auto-toc {
<!-- !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! source digest: sha256:dccb6822d0839fced2673dc87add4abf53d1a4edb30b69ca61d515277c3d0bcb
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
<p><a class="reference external" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external" href="https://github.com/OCA/bank-payment/tree/16.0/account_payment_order"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external" href="https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external" href="https://runbot.odoo-community.org/runbot/173/16.0"><img alt="Try me on Runbot" src="https://img.shields.io/badge/runbot-Try%20me-875A7B.png" /></a></p>
<p><a class="reference external image-reference" href="https://odoo-community.org/page/development-status"><img alt="Mature" src="https://img.shields.io/badge/maturity-Mature-brightgreen.png" /></a> <a class="reference external image-reference" href="http://www.gnu.org/licenses/agpl-3.0-standalone.html"><img alt="License: AGPL-3" src="https://img.shields.io/badge/licence-AGPL--3-blue.png" /></a> <a class="reference external image-reference" href="https://github.com/OCA/bank-payment/tree/16.0/account_payment_order"><img alt="OCA/bank-payment" src="https://img.shields.io/badge/github-OCA%2Fbank--payment-lightgray.png?logo=github" /></a> <a class="reference external image-reference" href="https://translation.odoo-community.org/projects/bank-payment-16-0/bank-payment-16-0-account_payment_order"><img alt="Translate me on Weblate" src="https://img.shields.io/badge/weblate-Translate%20me-F47D42.png" /></a> <a class="reference external image-reference" href="https://runboat.odoo-community.org/builds?repo=OCA/bank-payment&amp;target_branch=16.0"><img alt="Try me on Runboat" src="https://img.shields.io/badge/runboat-Try%20me-875A7B.png" /></a></p>
<p>This module adds support for payment orders and debit orders.</p>
<p><strong>Table of contents</strong></p>
<div class="contents local topic" id="contents">
<ul class="simple">
<li><a class="reference internal" href="#installation" id="id1">Installation</a></li>
<li><a class="reference internal" href="#configuration" id="id2">Configuration</a></li>
<li><a class="reference internal" href="#usage" id="id3">Usage</a></li>
<li><a class="reference internal" href="#bug-tracker" id="id4">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="id5">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="id6">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="id7">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="id8">Maintainers</a></li>
<li><a class="reference internal" href="#installation" id="toc-entry-1">Installation</a></li>
<li><a class="reference internal" href="#configuration" id="toc-entry-2">Configuration</a></li>
<li><a class="reference internal" href="#usage" id="toc-entry-3">Usage</a></li>
<li><a class="reference internal" href="#bug-tracker" id="toc-entry-4">Bug Tracker</a></li>
<li><a class="reference internal" href="#credits" id="toc-entry-5">Credits</a><ul>
<li><a class="reference internal" href="#authors" id="toc-entry-6">Authors</a></li>
<li><a class="reference internal" href="#contributors" id="toc-entry-7">Contributors</a></li>
<li><a class="reference internal" href="#maintainers" id="toc-entry-8">Maintainers</a></li>
</ul>
</li>
</ul>
</div>
<div class="section" id="installation">
<h1><a class="toc-backref" href="#id1">Installation</a></h1>
<h1><a class="toc-backref" href="#toc-entry-1">Installation</a></h1>
<p>This module depends on:</p>
<ul class="simple">
<li>account_payment_partner</li>
@@ -395,29 +397,29 @@ ul.auto-toc {
<p>This modules is part of the OCA/bank-payment suite.</p>
</div>
<div class="section" id="configuration">
<h1><a class="toc-backref" href="#id2">Configuration</a></h1>
<h1><a class="toc-backref" href="#toc-entry-2">Configuration</a></h1>
<p>This module adds several options on Payment Modes, cf Invoicing/Accounting &gt;
Configuration &gt; Management &gt; Payment Modes.</p>
</div>
<div class="section" id="usage">
<h1><a class="toc-backref" href="#id3">Usage</a></h1>
<h1><a class="toc-backref" href="#toc-entry-3">Usage</a></h1>
<p>You can create a Payment order via the menu Invoicing/Accounting &gt; Vendors &gt; Payment Orders and then select the move lines to pay.</p>
<p>You can create a Debit order via the menu Invoicing/Accounting &gt; Customers &gt; Debit Orders and then select the move lines to debit.</p>
<p>This module also adds an action <em>Add to Payment Order</em> on supplier invoices and <em>Add to Debit Order</em> on customer invoices.</p>
<p>You can print a Payment order via the menu Invoicing/Accounting &gt; Vendors &gt; Payment Orders and then select the payment oder to print.</p>
</div>
<div class="section" id="bug-tracker">
<h1><a class="toc-backref" href="#id4">Bug Tracker</a></h1>
<h1><a class="toc-backref" href="#toc-entry-4">Bug Tracker</a></h1>
<p>Bugs are tracked on <a class="reference external" href="https://github.com/OCA/bank-payment/issues">GitHub Issues</a>.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
If you spotted it first, help us to smash it by providing a detailed and welcomed
<a class="reference external" href="https://github.com/OCA/bank-payment/issues/new?body=module:%20account_payment_order%0Aversion:%2016.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**">feedback</a>.</p>
<p>Do not contact contributors directly about support or help with technical issues.</p>
</div>
<div class="section" id="credits">
<h1><a class="toc-backref" href="#id5">Credits</a></h1>
<h1><a class="toc-backref" href="#toc-entry-5">Credits</a></h1>
<div class="section" id="authors">
<h2><a class="toc-backref" href="#id6">Authors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-6">Authors</a></h2>
<ul class="simple">
<li>ACSONE SA/NV</li>
<li>Therp BV</li>
@@ -426,7 +428,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
</ul>
</div>
<div class="section" id="contributors">
<h2><a class="toc-backref" href="#id7">Contributors</a></h2>
<h2><a class="toc-backref" href="#toc-entry-7">Contributors</a></h2>
<ul class="simple">
<li>Stéphane Bidoul &lt;<a class="reference external" href="mailto:stephane.bidoul&#64;acsone.eu">stephane.bidoul&#64;acsone.eu</a>&gt;</li>
<li>Alexis de Lattre &lt;<a class="reference external" href="mailto:alexis.delattre&#64;akretion.com">alexis.delattre&#64;akretion.com</a>&gt;</li>
@@ -465,7 +467,7 @@ If you spotted it first, help us smashing it by providing a detailed and welcome
</ul>
</div>
<div class="section" id="maintainers">
<h2><a class="toc-backref" href="#id8">Maintainers</a></h2>
<h2><a class="toc-backref" href="#toc-entry-8">Maintainers</a></h2>
<p>This module is maintained by the OCA.</p>
<a class="reference external image-reference" href="https://odoo-community.org"><img alt="Odoo Community Association" src="https://odoo-community.org/logo.png" /></a>
<p>OCA, or the Odoo Community Association, is a nonprofit organization whose