From e2f51e7d00af6ace5e2ef14a575d480630fc7ae3 Mon Sep 17 00:00:00 2001 From: Thomas Binsfeld Date: Wed, 6 Feb 2019 17:34:16 +0100 Subject: [PATCH] [REF+IMP] account_payment_order: invoice addition + move generation + restrict payment modes selection on orders - allow add to order from invoice if order exists - payment line creation from move line Benefits of the batch creation of Odoo 12.0 The method returns the created payment lines - split generate_move method - only payment order option on payment methods New option on payment methods: payment order only (unchecked by default) allowing to enforce the use of payment orders for some payment methods --- account_payment_order/__manifest__.py | 1 + .../i18n/account_payment_order.pot | 76 ++++++++---- account_payment_order/i18n/am.po | 45 +++---- account_payment_order/i18n/ar.po | 45 +++---- account_payment_order/i18n/ca.po | 45 +++---- account_payment_order/i18n/cs.po | 45 +++---- account_payment_order/i18n/da_DK.po | 45 +++---- account_payment_order/i18n/de.po | 45 +++---- account_payment_order/i18n/el_GR.po | 45 +++---- account_payment_order/i18n/es.po | 45 +++---- account_payment_order/i18n/es_CR.po | 45 +++---- account_payment_order/i18n/es_EC.po | 45 +++---- account_payment_order/i18n/es_ES.po | 45 +++---- account_payment_order/i18n/es_MX.po | 45 +++---- account_payment_order/i18n/es_VE.po | 45 +++---- account_payment_order/i18n/et.po | 45 +++---- account_payment_order/i18n/fi.po | 45 +++---- account_payment_order/i18n/fr.po | 45 +++---- account_payment_order/i18n/gl.po | 45 +++---- account_payment_order/i18n/hr.po | 45 +++---- account_payment_order/i18n/it.po | 45 +++---- account_payment_order/i18n/lt.po | 45 +++---- account_payment_order/i18n/nb_NO.po | 45 +++---- account_payment_order/i18n/nl.po | 45 +++---- account_payment_order/i18n/nl_BE.po | 45 +++---- account_payment_order/i18n/nl_NL.po | 45 +++---- account_payment_order/i18n/pl.po | 45 +++---- account_payment_order/i18n/pt.po | 45 +++---- account_payment_order/i18n/pt_BR.po | 45 +++---- account_payment_order/i18n/pt_PT.po | 45 +++---- account_payment_order/i18n/ro.po | 45 +++---- account_payment_order/i18n/ru.po | 45 +++---- account_payment_order/i18n/sl.po | 45 +++---- account_payment_order/i18n/th.po | 45 +++---- account_payment_order/i18n/tr.po | 45 +++---- account_payment_order/i18n/vi.po | 45 +++---- account_payment_order/models/__init__.py | 3 + .../models/account_invoice.py | 3 +- .../models/account_journal.py | 33 ++++++ .../models/account_move_line.py | 6 +- .../models/account_payment.py | 30 +++++ .../models/account_payment_method.py | 15 +++ .../models/account_payment_order.py | 60 ++++++---- account_payment_order/tests/__init__.py | 1 + .../tests/test_account_payment.py | 112 ++++++++++++++++++ .../views/account_payment_method.xml | 18 +++ 46 files changed, 1160 insertions(+), 728 deletions(-) create mode 100644 account_payment_order/models/account_journal.py create mode 100644 account_payment_order/models/account_payment.py create mode 100644 account_payment_order/models/account_payment_method.py create mode 100644 account_payment_order/tests/test_account_payment.py create mode 100644 account_payment_order/views/account_payment_method.xml diff --git a/account_payment_order/__manifest__.py b/account_payment_order/__manifest__.py index 62d9bf9f0..9591300c6 100644 --- a/account_payment_order/__manifest__.py +++ b/account_payment_order/__manifest__.py @@ -22,6 +22,7 @@ 'base_iban', # for manual_bank_tranfer ], 'data': [ + 'views/account_payment_method.xml', 'security/payment_security.xml', 'security/ir.model.access.csv', 'wizard/account_payment_line_create_view.xml', diff --git a/account_payment_order/i18n/account_payment_order.pot b/account_payment_order/i18n/account_payment_order.pot index 9ba8e2f7c..342442e9b 100644 --- a/account_payment_order/i18n/account_payment_order.pot +++ b/account_payment_order/i18n/account_payment_order.pot @@ -14,13 +14,13 @@ msgstr "" "Plural-Forms: \n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "%d payment lines added to the new draft payment order %s which has been automatically created." msgstr "" @@ -123,6 +123,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -347,14 +352,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -578,6 +583,11 @@ msgstr "" msgid "Inbound" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_journal__inbound_payment_order_only +msgid "Inbound Payment Order Only" +msgstr "" + #. module: account_payment_order #: model:ir.model,name:account_payment_order.model_account_invoice msgid "Invoice" @@ -593,6 +603,11 @@ msgstr "" msgid "Is Follower" msgstr "" +#. module: account_payment_order +#: model:ir.model,name:account_payment_order.model_account_journal +msgid "Journal" +msgstr "" + #. module: account_payment_order #: model:ir.model,name:account_payment_order.model_account_move #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__move_ids @@ -686,7 +701,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -698,7 +713,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -742,19 +757,19 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "No Payment Line created for invoice %s because it already exists or because this invoice is already paid." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "No handler for this payment method. Maybe you haven't installed the related Odoo module." msgstr "" @@ -800,7 +815,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -839,6 +854,11 @@ msgstr "" msgid "One move per payment line" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_method__payment_order_only +msgid "Only for payment orders" +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_mode_form msgid "Options for Payment Orders" @@ -855,6 +875,11 @@ msgstr "" msgid "Outbound" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_journal__outbound_payment_order_only +msgid "Outbound Payment Order Only" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__partner_id #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__partner_id @@ -896,7 +921,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -915,6 +940,11 @@ msgstr "" msgid "Payment Method" msgstr "" +#. module: account_payment_order +#: model:ir.model,name:account_payment_order.model_account_payment_method +msgid "Payment Methods" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line_create__payment_mode #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__payment_mode_id @@ -975,7 +1005,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -986,13 +1016,14 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" #. module: account_payment_order +#: model:ir.model,name:account_payment_order.model_account_payment #: model:ir.ui.menu,name:account_payment_order.payment_root msgid "Payments" msgstr "" @@ -1090,7 +1121,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1107,19 +1138,19 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. The payment line %s has a maturity date %s which is after the computed payment date %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "The payment type (%s) is not the same as the payment type of the payment mode (%s)" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1129,6 +1160,11 @@ msgstr "" msgid "This field is used for payable and receivable journal entries. You can put the limit date for the payment of this line." msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,help:account_payment_order.field_account_payment_method__payment_order_only +msgid "This option helps enforcing the use of payment orders for some payment methods." +msgstr "" + #. module: account_payment_order #: model_terms:ir.ui.view,arch_db:account_payment_order.account_invoice_payment_line_multi_form msgid "This wizard will create payment lines for the selected invoices:" @@ -1223,7 +1259,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "You cannot delete an uploaded payment order. You can cancel it in order to do so." msgstr "" diff --git a/account_payment_order/i18n/am.po b/account_payment_order/i18n/am.po index a0f030cb7..cb0d422c3 100644 --- a/account_payment_order/i18n/am.po +++ b/account_payment_order/i18n/am.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -134,6 +134,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -363,14 +368,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -719,7 +724,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -731,7 +736,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -775,7 +780,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -783,13 +788,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -837,7 +842,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -941,7 +946,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1020,7 +1025,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1031,8 +1036,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1137,7 +1142,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1159,7 +1164,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1168,7 +1173,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1176,7 +1181,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1282,7 +1287,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/ar.po b/account_payment_order/i18n/ar.po index 698d0b3b8..317118f40 100644 --- a/account_payment_order/i18n/ar.po +++ b/account_payment_order/i18n/ar.po @@ -20,13 +20,13 @@ msgstr "" "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/ca.po b/account_payment_order/i18n/ca.po index dafbc1392..576dc7cf9 100644 --- a/account_payment_order/i18n/ca.po +++ b/account_payment_order/i18n/ca.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -134,6 +134,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -363,14 +368,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -719,7 +724,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -731,7 +736,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -775,7 +780,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -783,13 +788,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -837,7 +842,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -941,7 +946,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1033,8 +1038,8 @@ msgid "Payment lines" msgstr "Mode de pagament" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1139,7 +1144,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1161,7 +1166,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1170,7 +1175,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1178,7 +1183,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1284,7 +1289,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/cs.po b/account_payment_order/i18n/cs.po index cc48e040e..c1696b0e4 100644 --- a/account_payment_order/i18n/cs.po +++ b/account_payment_order/i18n/cs.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -134,6 +134,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -363,14 +368,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -719,7 +724,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -731,7 +736,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -775,7 +780,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -783,13 +788,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -837,7 +842,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -941,7 +946,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1020,7 +1025,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1031,8 +1036,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1137,7 +1142,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1159,7 +1164,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1168,7 +1173,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1176,7 +1181,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1282,7 +1287,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/da_DK.po b/account_payment_order/i18n/da_DK.po index 22829bbc3..34ad48341 100644 --- a/account_payment_order/i18n/da_DK.po +++ b/account_payment_order/i18n/da_DK.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "%d betalingslinier tilføjet eksiterende kladde betaling %s." #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/de.po b/account_payment_order/i18n/de.po index ce6a03b13..42471c1ac 100644 --- a/account_payment_order/i18n/de.po +++ b/account_payment_order/i18n/de.po @@ -20,7 +20,7 @@ msgstr "" "X-Generator: Weblate 3.3\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" @@ -28,7 +28,7 @@ msgstr "" "hinzugefügt wurden." #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -144,6 +144,11 @@ msgstr "Alle gebuchten Einträge" msgid "Allow Litigation Move Lines" msgstr "Erlaube Buchungszeilen zu verarbeiten" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -374,14 +379,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -732,7 +737,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -744,7 +749,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -789,7 +794,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -797,13 +802,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -854,7 +859,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -959,7 +964,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "Zahlungsdatei" @@ -1038,7 +1043,7 @@ msgid "Payment Type" msgstr "Zahlungsart" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1049,8 +1054,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1155,7 +1160,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1177,7 +1182,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1186,7 +1191,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1194,7 +1199,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1300,7 +1305,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/el_GR.po b/account_payment_order/i18n/el_GR.po index 735c377ea..089ec7f63 100644 --- a/account_payment_order/i18n/el_GR.po +++ b/account_payment_order/i18n/el_GR.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/es.po b/account_payment_order/i18n/es.po index de91fb877..021a1a10f 100644 --- a/account_payment_order/i18n/es.po +++ b/account_payment_order/i18n/es.po @@ -20,13 +20,13 @@ msgstr "" "X-Generator: Weblate 3.0.1\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "%d líneas de pago añadidas a la orden de pago en borrador %s." #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -141,6 +141,11 @@ msgstr "Todos los asientos asentados" msgid "Allow Litigation Move Lines" msgstr "Permitir apuntes en litigio" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -378,14 +383,14 @@ msgid "Debit Orders" msgstr "Órdenes de cobro" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "Línea de adeudo de banco %s" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "Orden de cobro %s" @@ -762,7 +767,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "No se ha establecido el diario de banco en la orden %s." @@ -774,7 +779,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "No se ha establecido la cuenta bancaria en la línea de pago %s" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "Falta la cuenta bancaria para el diario de banco '%s'." @@ -818,7 +823,7 @@ msgid "No Journal Entry on invoice %s" msgstr "No se ha encontrado asiento en la factura %s" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -828,13 +833,13 @@ msgstr "" "la factura ya está pagada." #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "No hay modo de pago en la factura %s" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -887,7 +892,7 @@ msgid "Offsetting Account" msgstr "Cuenta de compensación" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "En la orden %s, la fecha de ejecución es anterior a la actual (%s)." @@ -1003,7 +1008,7 @@ msgid "Payment Execution Date Type" msgstr "Tipo de fecha de ejecución del pago" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "Archivo de remesa" @@ -1082,7 +1087,7 @@ msgid "Payment Type" msgstr "Tipo de pago" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "Línea de pago bancario %s" @@ -1093,8 +1098,8 @@ msgid "Payment lines" msgstr "Líneas de pago" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "Orden %s" @@ -1201,7 +1206,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "El importe para el empresa '%s' es negativo o nulo (%.2f) !" @@ -1228,7 +1233,7 @@ msgid "The invoice %s is not in Open state" msgstr "La factura %s no está en estado abierta" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1240,7 +1245,7 @@ msgstr "" "es después de la fecha de pago calculada %s." #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1249,7 +1254,7 @@ msgstr "" "El tipo de pago (%s) no es el mismo que el tipo de pago del modo de pago (%s)" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "No hay transacciones en la orden %s." @@ -1358,7 +1363,7 @@ msgid "Wizard to create payment lines" msgstr "Asistente para crear líneas de pago" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/es_CR.po b/account_payment_order/i18n/es_CR.po index 059d8449a..831f46065 100644 --- a/account_payment_order/i18n/es_CR.po +++ b/account_payment_order/i18n/es_CR.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/es_EC.po b/account_payment_order/i18n/es_EC.po index 0d199c165..fb7ca01a9 100644 --- a/account_payment_order/i18n/es_EC.po +++ b/account_payment_order/i18n/es_EC.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/es_ES.po b/account_payment_order/i18n/es_ES.po index 60afbb920..8ad8864df 100644 --- a/account_payment_order/i18n/es_ES.po +++ b/account_payment_order/i18n/es_ES.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/es_MX.po b/account_payment_order/i18n/es_MX.po index 73c7a677f..3bfe83f36 100644 --- a/account_payment_order/i18n/es_MX.po +++ b/account_payment_order/i18n/es_MX.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/es_VE.po b/account_payment_order/i18n/es_VE.po index 663efb58d..dacefeae1 100644 --- a/account_payment_order/i18n/es_VE.po +++ b/account_payment_order/i18n/es_VE.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/et.po b/account_payment_order/i18n/et.po index 5538009fc..f9287a779 100644 --- a/account_payment_order/i18n/et.po +++ b/account_payment_order/i18n/et.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -134,6 +134,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -363,14 +368,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -719,7 +724,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -731,7 +736,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -775,7 +780,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -783,13 +788,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -837,7 +842,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -941,7 +946,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1020,7 +1025,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1031,8 +1036,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1137,7 +1142,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1159,7 +1164,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1168,7 +1173,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1176,7 +1181,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1282,7 +1287,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/fi.po b/account_payment_order/i18n/fi.po index a94203a3f..b142a0f66 100644 --- a/account_payment_order/i18n/fi.po +++ b/account_payment_order/i18n/fi.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -134,6 +134,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -363,14 +368,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -719,7 +724,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -731,7 +736,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -775,7 +780,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -783,13 +788,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -837,7 +842,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -941,7 +946,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1020,7 +1025,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1031,8 +1036,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1137,7 +1142,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1159,7 +1164,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1168,7 +1173,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1176,7 +1181,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1282,7 +1287,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/fr.po b/account_payment_order/i18n/fr.po index 4a2fe2afc..40d2661b2 100644 --- a/account_payment_order/i18n/fr.po +++ b/account_payment_order/i18n/fr.po @@ -19,14 +19,14 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" "Lignes de paiement %d ont été ajouté à l'ordre de paiement %s en brouillon" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -143,6 +143,11 @@ msgstr "Toutes les écritures passées" msgid "Allow Litigation Move Lines" msgstr "Autoriser les lignes d'écriture en litige" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -381,14 +386,14 @@ msgid "Debit Orders" msgstr "Ordres de prélèvement" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "Prélèvement ligne bancaire %s" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "Ordre de prélèvement %s" @@ -770,7 +775,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "Journal bancaire manquant sur l'ordre de paiement %s." @@ -782,7 +787,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "Compte bancaire du partenaire manquant sur la ligne de paiement %s" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "Journal bancaire manquant sur le journal '%s'." @@ -827,7 +832,7 @@ msgid "No Journal Entry on invoice %s" msgstr "Pas de pièce comptable sur la facture %s" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -837,13 +842,13 @@ msgstr "" "ou parce que cette facture est déjà payée." #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "Pas de mode de paiement sur la facture %s" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -896,7 +901,7 @@ msgid "Offsetting Account" msgstr "Compte de compensation" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -1013,7 +1018,7 @@ msgid "Payment Execution Date Type" msgstr "Type de la date d'exécution du paiement" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "Fichier de paiement" @@ -1094,7 +1099,7 @@ msgid "Payment Type" msgstr "Type de paiement" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "Ligne bancaire du paiement %s" @@ -1106,8 +1111,8 @@ msgid "Payment lines" msgstr "Lignes de paiement" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "Ordre de paiement %s" @@ -1214,7 +1219,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "Le montant pour le partenaire '%s' est négatif ou nul (%.2f) !" @@ -1241,7 +1246,7 @@ msgid "The invoice %s is not in Open state" msgstr "La facture %s n'est pas ouverte" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1253,7 +1258,7 @@ msgstr "" "postérieure à la date de paiement calculée %s." #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1263,7 +1268,7 @@ msgstr "" "de paiement (%s)" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "Il n'y a aucune opération sur l'ordre de paiement %s." @@ -1374,7 +1379,7 @@ msgid "Wizard to create payment lines" msgstr "Assistant pour créer des lignes de paiement" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/gl.po b/account_payment_order/i18n/gl.po index df43cfb18..3e5eb822b 100644 --- a/account_payment_order/i18n/gl.po +++ b/account_payment_order/i18n/gl.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -134,6 +134,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -363,14 +368,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -719,7 +724,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -731,7 +736,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -775,7 +780,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -783,13 +788,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -837,7 +842,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -941,7 +946,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1020,7 +1025,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1031,8 +1036,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1137,7 +1142,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1159,7 +1164,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1168,7 +1173,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1176,7 +1181,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1282,7 +1287,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/hr.po b/account_payment_order/i18n/hr.po index a1da94548..4b4626079 100644 --- a/account_payment_order/i18n/hr.po +++ b/account_payment_order/i18n/hr.po @@ -20,13 +20,13 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "Sve proknjižene stavke" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -365,14 +370,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -722,7 +727,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -734,7 +739,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -778,7 +783,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -786,13 +791,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -840,7 +845,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -944,7 +949,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1024,7 +1029,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1036,8 +1041,8 @@ msgid "Payment lines" msgstr "Stavke plaćanja" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1142,7 +1147,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1164,7 +1169,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1173,7 +1178,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1181,7 +1186,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1287,7 +1292,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/it.po b/account_payment_order/i18n/it.po index 63cc94b74..3f3421953 100644 --- a/account_payment_order/i18n/it.po +++ b/account_payment_order/i18n/it.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -134,6 +134,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -363,14 +368,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -719,7 +724,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -731,7 +736,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -775,7 +780,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -783,13 +788,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -837,7 +842,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -941,7 +946,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1020,7 +1025,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1031,8 +1036,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1137,7 +1142,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1159,7 +1164,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1168,7 +1173,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1176,7 +1181,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1282,7 +1287,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/lt.po b/account_payment_order/i18n/lt.po index c271cd353..604f8365a 100644 --- a/account_payment_order/i18n/lt.po +++ b/account_payment_order/i18n/lt.po @@ -20,13 +20,13 @@ msgstr "" "%100<10 || n%100>=20) ? 1 : 2);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/nb_NO.po b/account_payment_order/i18n/nb_NO.po index b415bfbc3..f39004e70 100644 --- a/account_payment_order/i18n/nb_NO.po +++ b/account_payment_order/i18n/nb_NO.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -139,6 +139,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -369,14 +374,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -727,7 +732,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -739,7 +744,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -784,7 +789,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -792,13 +797,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -847,7 +852,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -951,7 +956,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "Betalingsfil" @@ -1031,7 +1036,7 @@ msgid "Payment Type" msgstr "Betalingstype" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1043,8 +1048,8 @@ msgid "Payment lines" msgstr "Betalingsfil" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1149,7 +1154,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1171,7 +1176,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1180,7 +1185,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1188,7 +1193,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1294,7 +1299,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/nl.po b/account_payment_order/i18n/nl.po index 36aabfbd7..9a9af0ae0 100644 --- a/account_payment_order/i18n/nl.po +++ b/account_payment_order/i18n/nl.po @@ -20,7 +20,7 @@ msgstr "" "X-Generator: Weblate 3.3\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" @@ -28,7 +28,7 @@ msgstr "" "%s." #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -141,6 +141,11 @@ msgstr "Ale definitieve boekingen" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -371,14 +376,14 @@ msgid "Debit Orders" msgstr "Inkomende Betaalopdrachten" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "Debit betaalregel %s" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "Betaalopdrachten %s" @@ -730,7 +735,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "Ontbrekend bankboek op betaalopdracht %s." @@ -742,7 +747,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "Ontbrekenende bankrekening van relatie op betaalregel %s" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -787,7 +792,7 @@ msgid "No Journal Entry on invoice %s" msgstr "Geen boekingen van factuur %s" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -795,13 +800,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "Geen betaalmode van factuur %s" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -852,7 +857,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -957,7 +962,7 @@ msgid "Payment Execution Date Type" msgstr "Betaaldatum soort" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "Betaalbestand" @@ -1036,7 +1041,7 @@ msgid "Payment Type" msgstr "Betaalwijze" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "Betaalregel %s" @@ -1047,8 +1052,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "Betaalopdracht %s" @@ -1153,7 +1158,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1175,7 +1180,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1184,7 +1189,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1192,7 +1197,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1298,7 +1303,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/nl_BE.po b/account_payment_order/i18n/nl_BE.po index bf02aa20a..5fe9fa7b0 100644 --- a/account_payment_order/i18n/nl_BE.po +++ b/account_payment_order/i18n/nl_BE.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/nl_NL.po b/account_payment_order/i18n/nl_NL.po index 471d6d8db..b88adeb3b 100644 --- a/account_payment_order/i18n/nl_NL.po +++ b/account_payment_order/i18n/nl_NL.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/pl.po b/account_payment_order/i18n/pl.po index 13cfca1ff..4d8bb5498 100644 --- a/account_payment_order/i18n/pl.po +++ b/account_payment_order/i18n/pl.po @@ -20,13 +20,13 @@ msgstr "" "|| n%100>=20) ? 1 : 2);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/pt.po b/account_payment_order/i18n/pt.po index fa988678e..4877c3e07 100644 --- a/account_payment_order/i18n/pt.po +++ b/account_payment_order/i18n/pt.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -134,6 +134,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -363,14 +368,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -719,7 +724,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -731,7 +736,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -775,7 +780,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -783,13 +788,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -837,7 +842,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -941,7 +946,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1020,7 +1025,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1031,8 +1036,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1137,7 +1142,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1159,7 +1164,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1168,7 +1173,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1176,7 +1181,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1282,7 +1287,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/pt_BR.po b/account_payment_order/i18n/pt_BR.po index 7b6c498b3..7f9db7b75 100644 --- a/account_payment_order/i18n/pt_BR.po +++ b/account_payment_order/i18n/pt_BR.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -722,7 +727,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -734,7 +739,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -778,7 +783,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -786,13 +791,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -840,7 +845,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -945,7 +950,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1024,7 +1029,7 @@ msgid "Payment Type" msgstr "Tipo de pagamento" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1035,8 +1040,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1141,7 +1146,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "O total para o parceiro '%s' é negativo ou nulo (%.2f) !" @@ -1163,7 +1168,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1172,7 +1177,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1180,7 +1185,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1286,7 +1291,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/pt_PT.po b/account_payment_order/i18n/pt_PT.po index 612e05e29..54999a08f 100644 --- a/account_payment_order/i18n/pt_PT.po +++ b/account_payment_order/i18n/pt_PT.po @@ -20,13 +20,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/ro.po b/account_payment_order/i18n/ro.po index ba1f230c3..049bca5f0 100644 --- a/account_payment_order/i18n/ro.po +++ b/account_payment_order/i18n/ro.po @@ -20,13 +20,13 @@ msgstr "" "2:1));\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -720,7 +725,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -732,7 +737,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -776,7 +781,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -784,13 +789,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -838,7 +843,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -942,7 +947,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1021,7 +1026,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1032,8 +1037,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1138,7 +1143,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1160,7 +1165,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1169,7 +1174,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1177,7 +1182,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1283,7 +1288,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/ru.po b/account_payment_order/i18n/ru.po index 3b7ef93db..4f8b5b413 100644 --- a/account_payment_order/i18n/ru.po +++ b/account_payment_order/i18n/ru.po @@ -21,13 +21,13 @@ msgstr "" "%100>=11 && n%100<=14)? 2 : 3);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -136,6 +136,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -365,14 +370,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -721,7 +726,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -733,7 +738,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -777,7 +782,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -785,13 +790,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -839,7 +844,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -943,7 +948,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1022,7 +1027,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1033,8 +1038,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1139,7 +1144,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1161,7 +1166,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1170,7 +1175,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1178,7 +1183,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1284,7 +1289,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/sl.po b/account_payment_order/i18n/sl.po index 6eedc0224..5a25dc751 100644 --- a/account_payment_order/i18n/sl.po +++ b/account_payment_order/i18n/sl.po @@ -20,13 +20,13 @@ msgstr "" "%100==4 ? 2 : 3);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -135,6 +135,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -364,14 +369,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -722,7 +727,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -734,7 +739,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -778,7 +783,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -786,13 +791,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -840,7 +845,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -945,7 +950,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1024,7 +1029,7 @@ msgid "Payment Type" msgstr "Tip plačila" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1035,8 +1040,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1141,7 +1146,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "Znesek za partnerja '%s' je negativen ali ničen (%.2f) !" @@ -1163,7 +1168,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1172,7 +1177,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1180,7 +1185,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1286,7 +1291,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/th.po b/account_payment_order/i18n/th.po index 4c86ae440..d1019f4b2 100644 --- a/account_payment_order/i18n/th.po +++ b/account_payment_order/i18n/th.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -134,6 +134,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -363,14 +368,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -719,7 +724,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -731,7 +736,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -775,7 +780,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -783,13 +788,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -837,7 +842,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -941,7 +946,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1020,7 +1025,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1031,8 +1036,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1137,7 +1142,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1159,7 +1164,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1168,7 +1173,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1176,7 +1181,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1282,7 +1287,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/tr.po b/account_payment_order/i18n/tr.po index b2a448c60..21a658f16 100644 --- a/account_payment_order/i18n/tr.po +++ b/account_payment_order/i18n/tr.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -134,6 +134,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -363,14 +368,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -719,7 +724,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -731,7 +736,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -775,7 +780,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -783,13 +788,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -837,7 +842,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -941,7 +946,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1020,7 +1025,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1031,8 +1036,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1137,7 +1142,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1159,7 +1164,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1168,7 +1173,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1176,7 +1181,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1282,7 +1287,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/i18n/vi.po b/account_payment_order/i18n/vi.po index 93ea07c7f..dbd2a85b1 100644 --- a/account_payment_order/i18n/vi.po +++ b/account_payment_order/i18n/vi.po @@ -19,13 +19,13 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:119 +#: code:addons/account_payment_order/models/account_invoice.py:120 #, python-format msgid "%d payment lines added to the existing draft payment order %s." msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:114 +#: code:addons/account_payment_order/models/account_invoice.py:115 #, python-format msgid "" "%d payment lines added to the new draft payment order %s which has been " @@ -134,6 +134,11 @@ msgstr "" msgid "Allow Litigation Move Lines" msgstr "" +#. module: account_payment_order +#: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__allowed_journal_ids +msgid "Allowed journals" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_line__amount_currency #: model:ir.model.fields,field_description:account_payment_order.field_bank_payment_line__amount_currency @@ -363,14 +368,14 @@ msgid "Debit Orders" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:444 +#: code:addons/account_payment_order/models/account_payment_order.py:449 #, python-format msgid "Debit bank line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:371 -#: code:addons/account_payment_order/models/account_payment_order.py:394 +#: code:addons/account_payment_order/models/account_payment_order.py:376 +#: code:addons/account_payment_order/models/account_payment_order.py:399 #, python-format msgid "Debit order %s" msgstr "" @@ -719,7 +724,7 @@ msgid "Messages" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:239 +#: code:addons/account_payment_order/models/account_payment_order.py:238 #, python-format msgid "Missing Bank Journal on payment order %s." msgstr "" @@ -731,7 +736,7 @@ msgid "Missing Partner Bank Account on payment line %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:244 +#: code:addons/account_payment_order/models/account_payment_order.py:243 #, python-format msgid "Missing bank account on bank journal '%s'." msgstr "" @@ -775,7 +780,7 @@ msgid "No Journal Entry on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:86 +#: code:addons/account_payment_order/models/account_invoice.py:87 #, python-format msgid "" "No Payment Line created for invoice %s because it already exists or because " @@ -783,13 +788,13 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_invoice.py:92 +#: code:addons/account_payment_order/models/account_invoice.py:93 #, python-format msgid "No Payment Mode on invoice %s" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:320 +#: code:addons/account_payment_order/models/account_payment_order.py:325 #, python-format msgid "" "No handler for this payment method. Maybe you haven't installed the related " @@ -837,7 +842,7 @@ msgid "Offsetting Account" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:138 +#: code:addons/account_payment_order/models/account_payment_order.py:143 #, python-format msgid "On payment order %s, the Payment Execution Date is in the past (%s)." msgstr "" @@ -941,7 +946,7 @@ msgid "Payment Execution Date Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:340 +#: code:addons/account_payment_order/models/account_payment_order.py:345 #, python-format msgid "Payment File" msgstr "" @@ -1020,7 +1025,7 @@ msgid "Payment Type" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:442 +#: code:addons/account_payment_order/models/account_payment_order.py:447 #, python-format msgid "Payment bank line %s" msgstr "" @@ -1031,8 +1036,8 @@ msgid "Payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:369 -#: code:addons/account_payment_order/models/account_payment_order.py:392 +#: code:addons/account_payment_order/models/account_payment_order.py:374 +#: code:addons/account_payment_order/models/account_payment_order.py:397 #, python-format msgid "Payment order %s" msgstr "" @@ -1137,7 +1142,7 @@ msgid "Technical model for printing payment order" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:303 +#: code:addons/account_payment_order/models/account_payment_order.py:308 #, python-format msgid "The amount for Partner '%s' is negative or null (%.2f) !" msgstr "" @@ -1159,7 +1164,7 @@ msgid "The invoice %s is not in Open state" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:273 +#: code:addons/account_payment_order/models/account_payment_order.py:272 #, python-format msgid "" "The payment mode '%s' has the option 'Disallow Debit Before Maturity Date'. " @@ -1168,7 +1173,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:125 +#: code:addons/account_payment_order/models/account_payment_order.py:130 #, python-format msgid "" "The payment type (%s) is not the same as the payment type of the payment " @@ -1176,7 +1181,7 @@ msgid "" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:248 +#: code:addons/account_payment_order/models/account_payment_order.py:247 #, python-format msgid "There are no transactions on payment order %s." msgstr "" @@ -1282,7 +1287,7 @@ msgid "Wizard to create payment lines" msgstr "" #. module: account_payment_order -#: code:addons/account_payment_order/models/account_payment_order.py:113 +#: code:addons/account_payment_order/models/account_payment_order.py:118 #, python-format msgid "" "You cannot delete an uploaded payment order. You can cancel it in order to " diff --git a/account_payment_order/models/__init__.py b/account_payment_order/models/__init__.py index 9430fe91a..5595f4b8d 100644 --- a/account_payment_order/models/__init__.py +++ b/account_payment_order/models/__init__.py @@ -6,3 +6,6 @@ from . import account_move from . import account_move_line from . import account_invoice from . import res_bank +from . import account_payment_method +from . import account_journal +from . import account_payment diff --git a/account_payment_order/models/account_invoice.py b/account_payment_order/models/account_invoice.py index d051f0913..6c7345ed4 100644 --- a/account_payment_order/models/account_invoice.py +++ b/account_payment_order/models/account_invoice.py @@ -79,7 +79,8 @@ class AccountInvoice(models.Model): lambda x: ( not x.reconciled and x.payment_mode_id.payment_order_ok and x.account_id.internal_type in ('receivable', 'payable') and - not x.payment_line_ids + not any(p_state in ('draft', 'open', 'generated') + for p_state in x.payment_line_ids.mapped('state')) ) ) if not applicable_lines: diff --git a/account_payment_order/models/account_journal.py b/account_payment_order/models/account_journal.py new file mode 100644 index 000000000..dc6b71253 --- /dev/null +++ b/account_payment_order/models/account_journal.py @@ -0,0 +1,33 @@ +# Copyright 2019 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, fields, models + + +class AccountJournal(models.Model): + _inherit = 'account.journal' + + inbound_payment_order_only = fields.Boolean( + compute='_compute_inbound_payment_order_only', + readonly=True, + store=True, + ) + outbound_payment_order_only = fields.Boolean( + compute='_compute_outbound_payment_order_only', + readonly=True, + store=True, + ) + + @api.multi + @api.depends('inbound_payment_method_ids.payment_order_only') + def _compute_inbound_payment_order_only(self): + for rec in self: + rec.inbound_payment_order_only = all( + p.payment_order_only for p in rec.inbound_payment_method_ids) + + @api.multi + @api.depends('outbound_payment_method_ids.payment_order_only') + def _compute_outbound_payment_order_only(self): + for rec in self: + rec.outbound_payment_order_only = all( + p.payment_order_only for p in rec.outbound_payment_method_ids) diff --git a/account_payment_order/models/account_move_line.py b/account_payment_order/models/account_move_line.py index 1afc8b470..405d503f0 100644 --- a/account_payment_order/models/account_move_line.py +++ b/account_payment_order/models/account_move_line.py @@ -78,10 +78,10 @@ class AccountMoveLine(models.Model): @api.multi def create_payment_line_from_move_line(self, payment_order): - aplo = self.env['account.payment.line'] + vals_list = [] for mline in self: - aplo.create(mline._prepare_payment_line_vals(payment_order)) - return + vals_list.append(mline._prepare_payment_line_vals(payment_order)) + return self.env['account.payment.line'].create(vals_list) @api.model def fields_view_get(self, view_id=None, view_type='form', toolbar=False, diff --git a/account_payment_order/models/account_payment.py b/account_payment_order/models/account_payment.py new file mode 100644 index 000000000..7097b36b1 --- /dev/null +++ b/account_payment_order/models/account_payment.py @@ -0,0 +1,30 @@ +# Copyright 2019 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import api, models + + +class AccountPayment(models.Model): + _inherit = 'account.payment' + + def _compute_journal_domain_and_types(self): + res = super(AccountPayment, self)._compute_journal_domain_and_types() + journal_domain = res.get('domain', []) + if self.payment_type == 'inbound': + journal_domain.append(('inbound_payment_order_only', '=', False)) + else: + journal_domain.append(('outbound_payment_order_only', '=', False)) + res['domain'] = journal_domain + return res + + @api.multi + @api.onchange('journal_id') + def _onchange_journal(self): + res = super(AccountPayment, self)._onchange_journal() + domains = res.get('domain') + if not domains: + return res + if domains.get('payment_method_id'): + domains['payment_method_id'].append( + ('payment_order_only', '!=', True)) + return res diff --git a/account_payment_order/models/account_payment_method.py b/account_payment_order/models/account_payment_method.py new file mode 100644 index 000000000..3c0819d57 --- /dev/null +++ b/account_payment_order/models/account_payment_method.py @@ -0,0 +1,15 @@ +# Copyright 2019 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo import fields, models + + +class AccountPaymentMethod(models.Model): + _inherit = 'account.payment.method' + + payment_order_only = fields.Boolean( + string="Only for payment orders", + help="This option helps enforcing the use of payment orders for " + "some payment methods.", + default=False, + ) diff --git a/account_payment_order/models/account_payment_order.py b/account_payment_order/models/account_payment_order.py index 69fc85cdc..04d6ea2b8 100644 --- a/account_payment_order/models/account_payment_order.py +++ b/account_payment_order/models/account_payment_order.py @@ -467,18 +467,35 @@ class AccountPaymentOrder(models.Model): return vals @api.multi - def generate_move(self): + def _create_reconcile_move(self, hashcode, blines): + self.ensure_one() + post_move = self.payment_mode_id.post_move + am_obj = self.env['account.move'] + mvals = self._prepare_move(blines) + total_company_currency = total_payment_currency = 0 + for bline in blines: + total_company_currency += bline.amount_company_currency + total_payment_currency += bline.amount_currency + partner_ml_vals = self._prepare_move_line_partner_account( + bline) + mvals['line_ids'].append((0, 0, partner_ml_vals)) + trf_ml_vals = self._prepare_move_line_offsetting_account( + total_company_currency, total_payment_currency, blines) + mvals['line_ids'].append((0, 0, trf_ml_vals)) + move = am_obj.create(mvals) + blines.reconcile_payment_lines() + if post_move: + move.post() + + @api.multi + def _prepare_trf_moves(self): """ - Create the moves that pay off the move lines from - the payment/debit order. + prepare a dict "trfmoves" that can be used when + self.payment_mode_id.move_option = date or line + key = unique identifier (date or True or line.id) + value = bank_pay_lines (recordset that can have several entries) """ self.ensure_one() - am_obj = self.env['account.move'] - post_move = self.payment_mode_id.post_move - # prepare a dict "trfmoves" that can be used when - # self.payment_mode_id.move_option = date or line - # key = unique identifier (date or True or line.id) - # value = bank_pay_lines (recordset that can have several entries) trfmoves = {} for bline in self.bank_line_ids: hashcode = bline.move_line_offsetting_account_hashcode() @@ -486,20 +503,15 @@ class AccountPaymentOrder(models.Model): trfmoves[hashcode] += bline else: trfmoves[hashcode] = bline + return trfmoves + @api.multi + def generate_move(self): + """ + Create the moves that pay off the move lines from + the payment/debit order. + """ + self.ensure_one() + trfmoves = self._prepare_trf_moves() for hashcode, blines in trfmoves.items(): - mvals = self._prepare_move(blines) - total_company_currency = total_payment_currency = 0 - for bline in blines: - total_company_currency += bline.amount_company_currency - total_payment_currency += bline.amount_currency - partner_ml_vals = self._prepare_move_line_partner_account( - bline) - mvals['line_ids'].append((0, 0, partner_ml_vals)) - trf_ml_vals = self._prepare_move_line_offsetting_account( - total_company_currency, total_payment_currency, blines) - mvals['line_ids'].append((0, 0, trf_ml_vals)) - move = am_obj.create(mvals) - blines.reconcile_payment_lines() - if post_move: - move.post() + self._create_reconcile_move(hashcode, blines) diff --git a/account_payment_order/tests/__init__.py b/account_payment_order/tests/__init__.py index bd1a04644..c649cb8fe 100644 --- a/account_payment_order/tests/__init__.py +++ b/account_payment_order/tests/__init__.py @@ -2,3 +2,4 @@ from . import test_payment_mode from . import test_bank from . import test_payment_order_inbound from . import test_payment_order_outbound +from . import test_account_payment diff --git a/account_payment_order/tests/test_account_payment.py b/account_payment_order/tests/test_account_payment.py new file mode 100644 index 000000000..fcd32bb41 --- /dev/null +++ b/account_payment_order/tests/test_account_payment.py @@ -0,0 +1,112 @@ +# Copyright 2019 ACSONE SA/NV +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). + +from odoo.tests.common import SavepointCase + + +class TestAccountPayment(SavepointCase): + + @classmethod + def setUpClass(cls): + super(TestAccountPayment, cls).setUpClass() + + # MODELS + cls.account_payment_model = cls.env['account.payment'] + cls.account_journal_model = cls.env['account.journal'] + cls.payment_method_model = cls.env['account.payment.method'] + + # INSTANCES + # Payment methods + cls.inbound_payment_method_01, cls.inbound_payment_method_02 = \ + cls.payment_method_model.search( + [('payment_type', '=', 'inbound')], limit=2) + cls.outbound_payment_method_01 = cls.payment_method_model.search( + [('payment_type', '=', 'outbound')], limit=1) + # Journals + cls.bank_journal = cls.account_journal_model.search( + [('type', '=', 'bank')], limit=1) + cls.bank_journal.inbound_payment_method_ids = [ + (6, 0, [cls.inbound_payment_method_01.id, + cls.inbound_payment_method_02.id])] + + def test_account_payment_01(self): + self.assertFalse(self.inbound_payment_method_01.payment_order_only) + self.assertFalse(self.inbound_payment_method_02.payment_order_only) + self.assertFalse(self.bank_journal.inbound_payment_order_only) + self.inbound_payment_method_01.payment_order_only = True + self.assertTrue(self.inbound_payment_method_01.payment_order_only) + self.assertFalse(self.inbound_payment_method_02.payment_order_only) + self.assertFalse(self.bank_journal.inbound_payment_order_only) + self.inbound_payment_method_02.payment_order_only = True + self.assertTrue(self.inbound_payment_method_01.payment_order_only) + self.assertTrue(self.inbound_payment_method_02.payment_order_only) + self.assertTrue(self.bank_journal.inbound_payment_order_only) + + def test_account_payment_02(self): + self.assertFalse(self.outbound_payment_method_01.payment_order_only) + self.assertFalse(self.bank_journal.outbound_payment_order_only) + self.outbound_payment_method_01.payment_order_only = True + self.assertTrue(self.outbound_payment_method_01.payment_order_only) + self.assertTrue(self.bank_journal.outbound_payment_order_only) + + def test_account_payment_03(self): + self.assertFalse(self.inbound_payment_method_01.payment_order_only) + self.assertFalse(self.inbound_payment_method_02.payment_order_only) + self.assertFalse(self.bank_journal.inbound_payment_order_only) + new_account_payment = self.account_payment_model.new({ + 'journal_id': self.bank_journal.id, + 'payment_type': 'inbound', + 'amount': 1, + }) + # check journals + journal_res = new_account_payment._compute_journal_domain_and_types() + journal_domain = journal_res.get('domain') + self.assertTrue(journal_domain) + journals = self.account_journal_model.search(journal_domain) + self.assertIn(self.bank_journal, journals) + # check payment methods + payment_method_res = new_account_payment._onchange_journal() + payment_method_domain = payment_method_res.get('domain', {}).get( + 'payment_method_id') + self.assertTrue(payment_method_domain) + payment_methods = self.payment_method_model.search( + payment_method_domain) + self.assertIn(self.inbound_payment_method_01, payment_methods) + self.assertIn(self.inbound_payment_method_02, payment_methods) + # Set one payment method of the bank journal 'payment order only' + self.inbound_payment_method_01.payment_order_only = True + # check journals + journal_res = new_account_payment._compute_journal_domain_and_types() + journal_domain = journal_res.get('domain') + self.assertTrue(journal_domain) + journals = self.account_journal_model.search(journal_domain) + self.assertIn(self.bank_journal, journals) + # check payment methods + payment_method_res = new_account_payment._onchange_journal() + payment_method_domain = payment_method_res.get('domain', {}).get( + 'payment_method_id') + self.assertTrue(payment_method_domain) + payment_methods = self.payment_method_model.search( + payment_method_domain) + self.assertNotIn(self.inbound_payment_method_01, payment_methods) + self.assertIn(self.inbound_payment_method_02, payment_methods) + # Set all payment methods of the bank journal 'payment order only' + self.inbound_payment_method_02.payment_order_only = True + self.assertTrue(self.inbound_payment_method_01.payment_order_only) + self.assertTrue(self.inbound_payment_method_02.payment_order_only) + self.assertTrue(self.bank_journal.inbound_payment_order_only) + # check journals + journal_res = new_account_payment._compute_journal_domain_and_types() + journal_domain = journal_res.get('domain') + self.assertTrue(journal_domain) + journals = self.account_journal_model.search(journal_domain) + self.assertNotIn(self.bank_journal, journals) + # check payment methods + payment_method_res = new_account_payment._onchange_journal() + payment_method_domain = payment_method_res.get('domain', {}).get( + 'payment_method_id') + self.assertTrue(payment_method_domain) + payment_methods = self.payment_method_model.search( + payment_method_domain) + self.assertNotIn(self.inbound_payment_method_01, payment_methods) + self.assertNotIn(self.inbound_payment_method_02, payment_methods) diff --git a/account_payment_order/views/account_payment_method.xml b/account_payment_order/views/account_payment_method.xml new file mode 100644 index 000000000..02459a48b --- /dev/null +++ b/account_payment_order/views/account_payment_method.xml @@ -0,0 +1,18 @@ + + + + + + + account.payment.method.form (in account_payment_order) + account.payment.method + + + + + + + + +