diff --git a/README.md b/README.md index ff6ca5e..d4c6941 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ addon | version | summary [account_banking_sepa_credit_transfer](account_banking_sepa_credit_transfer/) | 3.0.1.0.3| Create SEPA XML files for Credit Transfers [account_banking_mandate_sale](account_banking_mandate_sale/) | 3.0.1.0.0| Adds mandates on sale orders [account_banking_pain_base](account_banking_pain_base/) | 3.0.1.0.0| Base module for PAIN file generation -[account_payment_order](account_payment_order/) | 3.0.1.4.4| Account Payment Order +[account_payment_order](account_payment_order/) | 3.0.1.5.0| Account Payment Order [account_vendor_bank_account_default](account_vendor_bank_account_default/) | 3.0.1.0.0| Set a default bank account on partners for their vendor bills [account_payment_order_grouped_output](account_payment_order_grouped_output/) | 3.0.1.0.0| Account Payment Order - Generate grouped moves [account_payment_purchase](account_payment_purchase/) | 3.0.1.2.1| Adds Bank Account and Payment Mode on Purchase Orders diff --git a/account_payment_order/README.rst b/account_payment_order/README.rst index 5779d4e..e7499af 100644 --- a/account_payment_order/README.rst +++ b/account_payment_order/README.rst @@ -7,7 +7,7 @@ Account Payment Order !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! - !! source digest: sha256:196afa2e536865ee1643cc5d8f33a45696659a90d0bdd11ae3a6ab87a961bbd2 + !! source digest: sha256:f2c7e805e2cc655f443fe0b29c8315f947f996ced26dfd005c441291b5e4a9c0 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! .. |badge1| image:: https://img.shields.io/badge/maturity-Mature-brightgreen.png diff --git a/account_payment_order/__manifest__.py b/account_payment_order/__manifest__.py index bdf1374..aa73064 100644 --- a/account_payment_order/__manifest__.py +++ b/account_payment_order/__manifest__.py @@ -9,7 +9,7 @@ { "name": "Account Payment Order", - "version": "3.0.1.4.4", + "version": "3.0.1.5.0", "license": "AGPL-3", "author": "ACSONE SA/NV, " "Therp BV, " diff --git a/account_payment_order/i18n/account_payment_order.pot b/account_payment_order/i18n/account_payment_order.pot index b5be39e..1062ec7 100644 --- a/account_payment_order/i18n/account_payment_order.pot +++ b/account_payment_order/i18n/account_payment_order.pot @@ -1229,6 +1229,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/am.po b/account_payment_order/i18n/am.po index a5df2a3..9de624c 100644 --- a/account_payment_order/i18n/am.po +++ b/account_payment_order/i18n/am.po @@ -1236,6 +1236,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/ar.po b/account_payment_order/i18n/ar.po index 5141f21..e3b8da9 100644 --- a/account_payment_order/i18n/ar.po +++ b/account_payment_order/i18n/ar.po @@ -1237,6 +1237,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/ca.po b/account_payment_order/i18n/ca.po index 1191146..d7f4c7d 100644 --- a/account_payment_order/i18n/ca.po +++ b/account_payment_order/i18n/ca.po @@ -1273,6 +1273,11 @@ msgstr "" msgid "Value Date" msgstr "Data de valor" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/ca_ES.po b/account_payment_order/i18n/ca_ES.po index 620e2f2..e9a0cb0 100644 --- a/account_payment_order/i18n/ca_ES.po +++ b/account_payment_order/i18n/ca_ES.po @@ -1232,6 +1232,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/cs.po b/account_payment_order/i18n/cs.po index 081bd76..5312dcc 100644 --- a/account_payment_order/i18n/cs.po +++ b/account_payment_order/i18n/cs.po @@ -1236,6 +1236,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/da_DK.po b/account_payment_order/i18n/da_DK.po index f7a86a5..ed30899 100644 --- a/account_payment_order/i18n/da_DK.po +++ b/account_payment_order/i18n/da_DK.po @@ -1242,6 +1242,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/de.po b/account_payment_order/i18n/de.po index 1584b84..9d78e95 100644 --- a/account_payment_order/i18n/de.po +++ b/account_payment_order/i18n/de.po @@ -1242,6 +1242,11 @@ msgstr "" msgid "Value Date" msgstr "Wertstellungsdatum" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/el_GR.po b/account_payment_order/i18n/el_GR.po index 7431180..523d6f8 100644 --- a/account_payment_order/i18n/el_GR.po +++ b/account_payment_order/i18n/el_GR.po @@ -1238,6 +1238,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/es.po b/account_payment_order/i18n/es.po index ab28b80..859eaab 100644 --- a/account_payment_order/i18n/es.po +++ b/account_payment_order/i18n/es.po @@ -1297,6 +1297,11 @@ msgstr "" msgid "Value Date" msgstr "Fecha de Valor" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/es_AR.po b/account_payment_order/i18n/es_AR.po index 1594811..af10ab9 100644 --- a/account_payment_order/i18n/es_AR.po +++ b/account_payment_order/i18n/es_AR.po @@ -1269,6 +1269,11 @@ msgstr "" msgid "Value Date" msgstr "Fecha de Valor" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/es_CL.po b/account_payment_order/i18n/es_CL.po index 6cdfe1a..7e90fda 100644 --- a/account_payment_order/i18n/es_CL.po +++ b/account_payment_order/i18n/es_CL.po @@ -1269,6 +1269,11 @@ msgstr "" msgid "Value Date" msgstr "Fecha valor" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/es_CR.po b/account_payment_order/i18n/es_CR.po index 941d147..b5f4176 100644 --- a/account_payment_order/i18n/es_CR.po +++ b/account_payment_order/i18n/es_CR.po @@ -1237,6 +1237,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/es_EC.po b/account_payment_order/i18n/es_EC.po index 136a972..9cb572f 100644 --- a/account_payment_order/i18n/es_EC.po +++ b/account_payment_order/i18n/es_EC.po @@ -1237,6 +1237,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/es_ES.po b/account_payment_order/i18n/es_ES.po index e7b401c..976275c 100644 --- a/account_payment_order/i18n/es_ES.po +++ b/account_payment_order/i18n/es_ES.po @@ -1237,6 +1237,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/es_MX.po b/account_payment_order/i18n/es_MX.po index 2341c0a..df06b67 100644 --- a/account_payment_order/i18n/es_MX.po +++ b/account_payment_order/i18n/es_MX.po @@ -1237,6 +1237,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/es_VE.po b/account_payment_order/i18n/es_VE.po index 4c7e2d5..97b7585 100644 --- a/account_payment_order/i18n/es_VE.po +++ b/account_payment_order/i18n/es_VE.po @@ -1237,6 +1237,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/et.po b/account_payment_order/i18n/et.po index ad44966..d194329 100644 --- a/account_payment_order/i18n/et.po +++ b/account_payment_order/i18n/et.po @@ -1236,6 +1236,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/fi.po b/account_payment_order/i18n/fi.po index ab4473a..9e2860d 100644 --- a/account_payment_order/i18n/fi.po +++ b/account_payment_order/i18n/fi.po @@ -1236,6 +1236,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/fr.po b/account_payment_order/i18n/fr.po index e07a192..781996c 100644 --- a/account_payment_order/i18n/fr.po +++ b/account_payment_order/i18n/fr.po @@ -1296,6 +1296,11 @@ msgstr "" msgid "Value Date" msgstr "Date de Valeur" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/fr_FR.po b/account_payment_order/i18n/fr_FR.po index 9ad1dc4..8a6bfd7 100644 --- a/account_payment_order/i18n/fr_FR.po +++ b/account_payment_order/i18n/fr_FR.po @@ -1272,6 +1272,11 @@ msgstr "" msgid "Value Date" msgstr "Date de valeur" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/gl.po b/account_payment_order/i18n/gl.po index 31ad172..84eed69 100644 --- a/account_payment_order/i18n/gl.po +++ b/account_payment_order/i18n/gl.po @@ -1236,6 +1236,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/hr.po b/account_payment_order/i18n/hr.po index 0bf587a..c67102a 100644 --- a/account_payment_order/i18n/hr.po +++ b/account_payment_order/i18n/hr.po @@ -1246,6 +1246,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/it.po b/account_payment_order/i18n/it.po index 8548ae6..56fe763 100644 --- a/account_payment_order/i18n/it.po +++ b/account_payment_order/i18n/it.po @@ -1301,6 +1301,11 @@ msgstr "Aggiorna riferimento pagamento" msgid "Value Date" msgstr "Data valore" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/lt.po b/account_payment_order/i18n/lt.po index ce4e38b..59ed103 100644 --- a/account_payment_order/i18n/lt.po +++ b/account_payment_order/i18n/lt.po @@ -1237,6 +1237,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/nb_NO.po b/account_payment_order/i18n/nb_NO.po index eca2400..8faeae0 100644 --- a/account_payment_order/i18n/nb_NO.po +++ b/account_payment_order/i18n/nb_NO.po @@ -1253,6 +1253,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/nl.po b/account_payment_order/i18n/nl.po index 6d82054..7462fdd 100644 --- a/account_payment_order/i18n/nl.po +++ b/account_payment_order/i18n/nl.po @@ -1267,6 +1267,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/nl_BE.po b/account_payment_order/i18n/nl_BE.po index 2e1cf9d..fab76e4 100644 --- a/account_payment_order/i18n/nl_BE.po +++ b/account_payment_order/i18n/nl_BE.po @@ -1237,6 +1237,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/nl_NL.po b/account_payment_order/i18n/nl_NL.po index 15481d9..71f4211 100644 --- a/account_payment_order/i18n/nl_NL.po +++ b/account_payment_order/i18n/nl_NL.po @@ -1238,6 +1238,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/pl.po b/account_payment_order/i18n/pl.po index 1216ed4..80fc564 100644 --- a/account_payment_order/i18n/pl.po +++ b/account_payment_order/i18n/pl.po @@ -1237,6 +1237,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/pt.po b/account_payment_order/i18n/pt.po index 0bcfea5..3aae353 100644 --- a/account_payment_order/i18n/pt.po +++ b/account_payment_order/i18n/pt.po @@ -1236,6 +1236,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/pt_BR.po b/account_payment_order/i18n/pt_BR.po index 8bdf215..ecec8eb 100644 --- a/account_payment_order/i18n/pt_BR.po +++ b/account_payment_order/i18n/pt_BR.po @@ -1247,6 +1247,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/pt_PT.po b/account_payment_order/i18n/pt_PT.po index 51cf115..6c3a3ce 100644 --- a/account_payment_order/i18n/pt_PT.po +++ b/account_payment_order/i18n/pt_PT.po @@ -1237,6 +1237,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/ro.po b/account_payment_order/i18n/ro.po index 55ead36..6d6b478 100644 --- a/account_payment_order/i18n/ro.po +++ b/account_payment_order/i18n/ro.po @@ -1237,6 +1237,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/ru.po b/account_payment_order/i18n/ru.po index a1ccca0..2726dc0 100644 --- a/account_payment_order/i18n/ru.po +++ b/account_payment_order/i18n/ru.po @@ -1238,6 +1238,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/sl.po b/account_payment_order/i18n/sl.po index d5d6da7..8a45f25 100644 --- a/account_payment_order/i18n/sl.po +++ b/account_payment_order/i18n/sl.po @@ -1248,6 +1248,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/sv.po b/account_payment_order/i18n/sv.po index b97cc13..636157c 100644 --- a/account_payment_order/i18n/sv.po +++ b/account_payment_order/i18n/sv.po @@ -1290,6 +1290,11 @@ msgstr "" msgid "Value Date" msgstr "Datum för värde" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/th.po b/account_payment_order/i18n/th.po index 7e23534..81b5ae2 100644 --- a/account_payment_order/i18n/th.po +++ b/account_payment_order/i18n/th.po @@ -1236,6 +1236,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/tr.po b/account_payment_order/i18n/tr.po index 3c87ab5..5ba3348 100644 --- a/account_payment_order/i18n/tr.po +++ b/account_payment_order/i18n/tr.po @@ -1236,6 +1236,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/i18n/vi.po b/account_payment_order/i18n/vi.po index 9faf4e8..75b763b 100644 --- a/account_payment_order/i18n/vi.po +++ b/account_payment_order/i18n/vi.po @@ -1236,6 +1236,11 @@ msgstr "" msgid "Value Date" msgstr "" +#. module: account_payment_order +#: model_terms:ir.ui.view,arch_db:account_payment_order.account_payment_line_tree +msgid "View" +msgstr "" + #. module: account_payment_order #: model:ir.model.fields,field_description:account_payment_order.field_account_payment_order__website_message_ids msgid "Website Messages" diff --git a/account_payment_order/models/account_payment_line.py b/account_payment_order/models/account_payment_line.py index 59ca0ab..dca49af 100644 --- a/account_payment_order/models/account_payment_line.py +++ b/account_payment_order/models/account_payment_line.py @@ -237,3 +237,8 @@ class AccountPaymentLine(models.Model): "destination_account_id" ] = self.partner_id.property_account_payable_id.id return vals + + def action_open_business_doc(self): + if not self.move_line_id: + return False + return self.move_line_id.action_open_business_doc() diff --git a/account_payment_order/static/description/index.html b/account_payment_order/static/description/index.html index 02d0549..8f30016 100644 --- a/account_payment_order/static/description/index.html +++ b/account_payment_order/static/description/index.html @@ -367,7 +367,7 @@ ul.auto-toc { !! This file is generated by oca-gen-addon-readme !! !! changes will be overwritten. !! !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -!! source digest: sha256:196afa2e536865ee1643cc5d8f33a45696659a90d0bdd11ae3a6ab87a961bbd2 +!! source digest: sha256:f2c7e805e2cc655f443fe0b29c8315f947f996ced26dfd005c441291b5e4a9c0 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! -->
This module adds support for payment orders and debit orders.
diff --git a/account_payment_order/tests/test_payment_order_outbound.py b/account_payment_order/tests/test_payment_order_outbound.py index 4891ed6..85b9d94 100644 --- a/account_payment_order/tests/test_payment_order_outbound.py +++ b/account_payment_order/tests/test_payment_order_outbound.py @@ -463,3 +463,25 @@ class TestPaymentOrderOutbound(TestPaymentOrderOutboundBase): self.assertEqual(len(payment_order.payment_line_ids), 1) self.assertEqual("F1242 R1234", payment_order.payment_line_ids.communication) + + def test_action_open_business_document(self): + # Open invoice + self.invoice.action_post() + # Add to payment order using the wizard + self.env["account.invoice.payment.line.multi"].with_context( + active_model="account.move", active_ids=self.invoice.ids + ).create({}).run() + order = self.env["account.payment.order"].search(self.domain) + # Create payment line without move line + vals = { + "order_id": order.id, + "partner_id": self.partner.id, + "currency_id": order.payment_mode_id.company_id.currency_id.id, + "amount_currency": 200.38, + } + self.env["account.payment.line"].create(vals) + invoice_action = order.payment_line_ids[0].action_open_business_doc() + self.assertEqual(invoice_action["res_model"], "account.move") + self.assertEqual(invoice_action["res_id"], self.invoice.id) + manual_line_action = order.payment_line_ids[1].action_open_business_doc() + self.assertFalse(manual_line_action) diff --git a/account_payment_order/views/account_payment_line.xml b/account_payment_order/views/account_payment_line.xml index 449a3e6..f8dd0c9 100644 --- a/account_payment_order/views/account_payment_line.xml +++ b/account_payment_order/views/account_payment_line.xml @@ -18,7 +18,8 @@ name="move_line_id" domain="[('reconciled','=', False), ('account_id.reconcile', '=', True)] " /> - +