From 507a99ce795c611adf8af780a01ef478a03c1823 Mon Sep 17 00:00:00 2001 From: Thomas Binsfeld Date: Wed, 30 Jan 2019 14:27:00 +0100 Subject: [PATCH] [MIG] Account Invoice Constraint Chronology to 12.0 --- .../README.rst | 70 ++- .../__manifest__.py | 10 +- .../account_invoice_constraint_chronology.pot | 14 +- .../i18n/ar.po | 15 +- .../i18n/bg.po | 15 +- .../i18n/bs.po | 15 +- .../i18n/ca.po | 15 +- .../i18n/cs.po | 15 +- .../i18n/de.po | 23 +- .../i18n/el_GR.po | 15 +- .../i18n/en_GB.po | 15 +- .../i18n/es.po | 15 +- .../i18n/es_CR.po | 15 +- .../i18n/es_EC.po | 15 +- .../i18n/es_MX.po | 15 +- .../i18n/es_VE.po | 15 +- .../i18n/et.po | 15 +- .../i18n/fi.po | 15 +- .../i18n/fr.po | 19 +- .../i18n/fr_CA.po | 15 +- .../i18n/fr_CH.po | 15 +- .../i18n/gl.po | 15 +- .../i18n/hr.po | 15 +- .../i18n/hr_HR.po | 15 +- .../i18n/hu.po | 15 +- .../i18n/id.po | 15 +- .../i18n/it.po | 15 +- .../i18n/ja.po | 15 +- .../i18n/lt.po | 15 +- .../i18n/mk.po | 15 +- .../i18n/mn.po | 15 +- .../i18n/nb.po | 15 +- .../i18n/nb_NO.po | 15 +- .../i18n/nl.po | 15 +- .../i18n/nl_BE.po | 15 +- .../i18n/nl_NL.po | 15 +- .../i18n/pl.po | 15 +- .../i18n/pt.po | 15 +- .../i18n/pt_BR.po | 15 +- .../i18n/pt_PT.po | 15 +- .../i18n/ro.po | 15 +- .../i18n/ru.po | 15 +- .../i18n/sk_SK.po | 15 +- .../i18n/sl.po | 17 +- .../i18n/sr@latin.po | 15 +- .../i18n/sv.po | 15 +- .../i18n/th.po | 15 +- .../i18n/tr.po | 15 +- .../i18n/tr_TR.po | 15 +- .../i18n/vi.po | 15 +- .../i18n/zh_CN.po | 15 +- .../i18n/zh_TW.po | 15 +- .../model/__init__.py | 2 +- .../model/account_invoice.py | 26 +- .../model/{account.py => account_journal.py} | 7 +- .../readme/CONFIGURATION.rst | 1 + .../readme/CONTRIBUTORS.rst | 4 + .../readme/DESCRIPTION.rst | 6 + .../static/description/index.html | 427 ++++++++++++++++++ .../test_account_constraint_chronology.py | 33 +- .../view/account_view.xml | 7 +- 61 files changed, 940 insertions(+), 416 deletions(-) rename account_invoice_constraint_chronology/model/{account.py => account_journal.py} (68%) create mode 100644 account_invoice_constraint_chronology/readme/CONFIGURATION.rst create mode 100644 account_invoice_constraint_chronology/readme/CONTRIBUTORS.rst create mode 100644 account_invoice_constraint_chronology/readme/DESCRIPTION.rst create mode 100644 account_invoice_constraint_chronology/static/description/index.html diff --git a/account_invoice_constraint_chronology/README.rst b/account_invoice_constraint_chronology/README.rst index dab49e14..f9d6cb78 100644 --- a/account_invoice_constraint_chronology/README.rst +++ b/account_invoice_constraint_chronology/README.rst @@ -1,11 +1,30 @@ -.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg - :target: https://www.gnu.org/licenses/agpl-3.0-standalone.html - :alt: License: AGPL-3 - ===================================== Account Invoice Constraint Chronology ===================================== +.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + !! This file is generated by oca-gen-addon-readme !! + !! changes will be overwritten. !! + !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! + +.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png + :target: https://odoo-community.org/page/development-status + :alt: Beta +.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png + :target: http://www.gnu.org/licenses/agpl-3.0-standalone.html + :alt: License: AGPL-3 +.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Faccount--financial--tools-lightgray.png?logo=github + :target: https://github.com/OCA/account-financial-tools/tree/12.0/account_invoice_constraint_chronology + :alt: OCA/account-financial-tools +.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png + :target: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_invoice_constraint_chronology + :alt: Translate me on Weblate +.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png + :target: https://runbot.odoo-community.org/runbot/92/12.0 + :alt: Try me on Runbot + +|badge1| |badge2| |badge3| |badge4| |badge5| + This module helps ensuring the chronology of invoice numbers. It prevents the validation of invoices when: @@ -13,47 +32,50 @@ It prevents the validation of invoices when: * there are draft invoices with a prior date * there are validated invoices with a later date -Configuration -============= +**Table of contents** -To configure this module, go to the menu *Accounting/Invoicing > Configuration > Accounting > Journals* and activate the option *Check Chronology* on the relevant journals. After the installation of the module, this option will be active on *sale* and *sale refund* journals. - -Usage -===== - -.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas - :alt: Try me on Runbot - :target: https://runbot.odoo-community.org/runbot/92/11.0 +.. contents:: + :local: Bug Tracker =========== -Bugs are tracked on `GitHub Issues -`_. In case of trouble, please -check there if your issue has already been reported. If you spotted it first, -help us smashing it by providing a detailed and welcomed feedback. +Bugs are tracked on `GitHub Issues `_. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +`feedback `_. + +Do not contact contributors directly about support or help with technical issues. Credits ======= +Authors +~~~~~~~ + +* ACSONE SA/NV + Contributors ------------- +~~~~~~~~~~~~ * Adrien Peiffer (`Acsone SA/NV `_) * Gilles Gilles * Francesco Apruzzese +* Thomas Binsfeld -Maintainer ----------- +Maintainers +~~~~~~~~~~~ + +This module is maintained by the OCA. .. image:: https://odoo-community.org/logo.png :alt: Odoo Community Association :target: https://odoo-community.org -This module is maintained by the OCA. - OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use. -To contribute to this module, please visit https://odoo-community.org. +This module is part of the `OCA/account-financial-tools `_ project on GitHub. + +You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute. diff --git a/account_invoice_constraint_chronology/__manifest__.py b/account_invoice_constraint_chronology/__manifest__.py index 0c323f91..8adaf685 100644 --- a/account_invoice_constraint_chronology/__manifest__.py +++ b/account_invoice_constraint_chronology/__manifest__.py @@ -1,14 +1,14 @@ -# Copyright 2015-2017 ACSONE SA/NV () +# Copyright 2015-2019 ACSONE SA/NV () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). { "name": "Account Invoice Constraint Chronology", - "version": "11.0.1.0.0", - "author": "ACSONE SA/NV,Odoo Community Association (OCA)", + "version": "12.0.1.0.0", + "author": "Odoo Community Association (OCA), ACSONE SA/NV", "maintainer": "ACSONE SA/NV", - "website": "http://www.acsone.eu", + "website": "https://github.com/OCA/account-financial-tools/tree/12.0/" + "account_invoice_constraint_chronology", "license": "AGPL-3", "category": "Accounting", "depends": ["account"], "data": ["view/account_view.xml"], - 'installable': True, } diff --git a/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot b/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot index b9e25c4f..e13e4191 100644 --- a/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot +++ b/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot @@ -4,8 +4,10 @@ # msgid "" msgstr "" -"Project-Id-Version: Odoo Server 11.0\n" +"Project-Id-Version: Odoo Server 12.0\n" "Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" +"PO-Revision-Date: 2019-01-30 16:31+0000\n" "Last-Translator: <>\n" "Language-Team: \n" "MIME-Version: 1.0\n" @@ -14,20 +16,20 @@ msgstr "" "Plural-Forms: \n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format -msgid "Chronology Error. Please confirm older draft invoices before %s and try again." +msgid "Chronology Error. Please confirm older draft invoices before {date_invoice} and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format -msgid "Chronology Error. There exist at least one invoice with a later date to %s." +msgid "Chronology Error. There exist at least one invoice with a later date to {date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ar.po b/account_invoice_constraint_chronology/i18n/ar.po index 40fc4357..0867786f 100644 --- a/account_invoice_constraint_chronology/i18n/ar.po +++ b/account_invoice_constraint_chronology/i18n/ar.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Arabic (http://www.transifex.com/oca/OCA-account-financial-" @@ -20,23 +20,24 @@ msgstr "" "&& n%100<=10 ? 3 : n%100>=11 && n%100<=99 ? 4 : 5;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/bg.po b/account_invoice_constraint_chronology/i18n/bg.po index 624901f7..b52c94af 100644 --- a/account_invoice_constraint_chronology/i18n/bg.po +++ b/account_invoice_constraint_chronology/i18n/bg.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Bulgarian (https://www.transifex.com/oca/teams/23907/bg/)\n" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/bs.po b/account_invoice_constraint_chronology/i18n/bs.po index c5d15e60..01333587 100644 --- a/account_invoice_constraint_chronology/i18n/bs.po +++ b/account_invoice_constraint_chronology/i18n/bs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Bosnian (http://www.transifex.com/oca/OCA-account-financial-" @@ -20,23 +20,24 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ca.po b/account_invoice_constraint_chronology/i18n/ca.po index a5b6b272..350b1c49 100644 --- a/account_invoice_constraint_chronology/i18n/ca.po +++ b/account_invoice_constraint_chronology/i18n/ca.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Catalan (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/cs.po b/account_invoice_constraint_chronology/i18n/cs.po index f53efe69..95d7e432 100644 --- a/account_invoice_constraint_chronology/i18n/cs.po +++ b/account_invoice_constraint_chronology/i18n/cs.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Czech (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/de.po b/account_invoice_constraint_chronology/i18n/de.po index 6a1349b7..4b0e26f1 100644 --- a/account_invoice_constraint_chronology/i18n/de.po +++ b/account_invoice_constraint_chronology/i18n/de.po @@ -7,11 +7,11 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-10-11 11:16+0000\n" "Last-Translator: Rudolf Schnapka \n" -"Language-Team: German (http://www.transifex.com/oca/" -"OCA-account-financial-tools-8-0/language/de/)\n" +"Language-Team: German (http://www.transifex.com/oca/OCA-account-financial-" +"tools-8-0/language/de/)\n" "Language: de\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -20,25 +20,26 @@ msgstr "" "X-Generator: Weblate 3.1.1\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "Prüfe Chronologie" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 -#, python-format +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#, fuzzy, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" "Chronolgiefehler. Geben Sie Rechnungsentwürfe vor %s frei und versuchen es " "erneut." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 -#, python-format +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#, fuzzy, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "Chronologiefehler. Es gibt mind. eine Rechnung mit Datum nach %s." #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/el_GR.po b/account_invoice_constraint_chronology/i18n/el_GR.po index 4d36995e..cf264e0d 100644 --- a/account_invoice_constraint_chronology/i18n/el_GR.po +++ b/account_invoice_constraint_chronology/i18n/el_GR.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Greek (Greece) (https://www.transifex.com/oca/teams/23907/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/en_GB.po b/account_invoice_constraint_chronology/i18n/en_GB.po index 8b919258..0bd894bf 100644 --- a/account_invoice_constraint_chronology/i18n/en_GB.po +++ b/account_invoice_constraint_chronology/i18n/en_GB.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: English (United Kingdom) (http://www.transifex.com/oca/OCA-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es.po b/account_invoice_constraint_chronology/i18n/es.po index f36a90fd..49597821 100644 --- a/account_invoice_constraint_chronology/i18n/es.po +++ b/account_invoice_constraint_chronology/i18n/es.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Spanish (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es_CR.po b/account_invoice_constraint_chronology/i18n/es_CR.po index d97b7141..83f19525 100644 --- a/account_invoice_constraint_chronology/i18n/es_CR.po +++ b/account_invoice_constraint_chronology/i18n/es_CR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Spanish (Costa Rica) (http://www.transifex.com/oca/OCA-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es_EC.po b/account_invoice_constraint_chronology/i18n/es_EC.po index 6030c593..c41ab186 100644 --- a/account_invoice_constraint_chronology/i18n/es_EC.po +++ b/account_invoice_constraint_chronology/i18n/es_EC.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Spanish (Ecuador) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es_MX.po b/account_invoice_constraint_chronology/i18n/es_MX.po index 3ec4ca2c..79f7e28a 100644 --- a/account_invoice_constraint_chronology/i18n/es_MX.po +++ b/account_invoice_constraint_chronology/i18n/es_MX.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Spanish (Mexico) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/es_VE.po b/account_invoice_constraint_chronology/i18n/es_VE.po index a9137b4a..455cfd6d 100644 --- a/account_invoice_constraint_chronology/i18n/es_VE.po +++ b/account_invoice_constraint_chronology/i18n/es_VE.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Spanish (Venezuela) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/et.po b/account_invoice_constraint_chronology/i18n/et.po index 7a5a7db4..bea6533d 100644 --- a/account_invoice_constraint_chronology/i18n/et.po +++ b/account_invoice_constraint_chronology/i18n/et.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Estonian (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/fi.po b/account_invoice_constraint_chronology/i18n/fi.po index b2d00112..f88934c9 100644 --- a/account_invoice_constraint_chronology/i18n/fi.po +++ b/account_invoice_constraint_chronology/i18n/fi.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Finnish (https://www.transifex.com/oca/teams/23907/fi/)\n" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/fr.po b/account_invoice_constraint_chronology/i18n/fr.po index a981c17a..fc43c297 100644 --- a/account_invoice_constraint_chronology/i18n/fr.po +++ b/account_invoice_constraint_chronology/i18n/fr.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-15 13:09+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-01-15 13:09+0000\n" "Last-Translator: Quentin THEURET , 2018\n" "Language-Team: French (https://www.transifex.com/oca/teams/23907/fr/)\n" @@ -20,25 +20,26 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "Vérifier la chronologie" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 -#, python-format +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#, fuzzy, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" "Erreur de chronologie. Veuillez confirmer les anciennes factures brouillon " "avant %set réessayer." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 -#, python-format +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#, fuzzy, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" "Erreur de chronologie. Il existe au moins une facture avec une date " "ultérieure à %s." diff --git a/account_invoice_constraint_chronology/i18n/fr_CA.po b/account_invoice_constraint_chronology/i18n/fr_CA.po index 5b214c51..72792a14 100644 --- a/account_invoice_constraint_chronology/i18n/fr_CA.po +++ b/account_invoice_constraint_chronology/i18n/fr_CA.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: French (Canada) (https://www.transifex.com/oca/teams/23907/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/fr_CH.po b/account_invoice_constraint_chronology/i18n/fr_CH.po index 53212e05..14cc67dc 100644 --- a/account_invoice_constraint_chronology/i18n/fr_CH.po +++ b/account_invoice_constraint_chronology/i18n/fr_CH.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: French (Switzerland) (https://www.transifex.com/oca/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/gl.po b/account_invoice_constraint_chronology/i18n/gl.po index 351539b5..52d8c0d8 100644 --- a/account_invoice_constraint_chronology/i18n/gl.po +++ b/account_invoice_constraint_chronology/i18n/gl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Galician (https://www.transifex.com/oca/teams/23907/gl/)\n" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/hr.po b/account_invoice_constraint_chronology/i18n/hr.po index 18625c80..c749f514 100644 --- a/account_invoice_constraint_chronology/i18n/hr.po +++ b/account_invoice_constraint_chronology/i18n/hr.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-15 03:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-01-15 03:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Croatian (https://www.transifex.com/oca/teams/23907/hr/)\n" @@ -20,23 +20,24 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/hr_HR.po b/account_invoice_constraint_chronology/i18n/hr_HR.po index 1c44c536..7924b654 100644 --- a/account_invoice_constraint_chronology/i18n/hr_HR.po +++ b/account_invoice_constraint_chronology/i18n/hr_HR.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 10.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2017-05-30 00:47+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2017-05-30 00:47+0000\n" "Last-Translator: Bole , 2017\n" "Language-Team: Croatian (Croatia) (https://www.transifex.com/oca/teams/23907/" @@ -21,23 +21,24 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/hu.po b/account_invoice_constraint_chronology/i18n/hu.po index 73886329..c191186b 100644 --- a/account_invoice_constraint_chronology/i18n/hu.po +++ b/account_invoice_constraint_chronology/i18n/hu.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Hungarian (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/id.po b/account_invoice_constraint_chronology/i18n/id.po index be3036e6..6327a930 100644 --- a/account_invoice_constraint_chronology/i18n/id.po +++ b/account_invoice_constraint_chronology/i18n/id.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Indonesian (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/it.po b/account_invoice_constraint_chronology/i18n/it.po index 856626b6..360e233b 100644 --- a/account_invoice_constraint_chronology/i18n/it.po +++ b/account_invoice_constraint_chronology/i18n/it.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Italian (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ja.po b/account_invoice_constraint_chronology/i18n/ja.po index 316454aa..e32b9f48 100644 --- a/account_invoice_constraint_chronology/i18n/ja.po +++ b/account_invoice_constraint_chronology/i18n/ja.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Japanese (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/lt.po b/account_invoice_constraint_chronology/i18n/lt.po index 94c660d7..510796a4 100644 --- a/account_invoice_constraint_chronology/i18n/lt.po +++ b/account_invoice_constraint_chronology/i18n/lt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Lithuanian (http://www.transifex.com/oca/OCA-account-" @@ -20,23 +20,24 @@ msgstr "" "%100<10 || n%100>=20) ? 1 : 2);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/mk.po b/account_invoice_constraint_chronology/i18n/mk.po index 6b682f35..3d5fc5b3 100644 --- a/account_invoice_constraint_chronology/i18n/mk.po +++ b/account_invoice_constraint_chronology/i18n/mk.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Macedonian (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n % 10 == 1 && n % 100 != 11) ? 0 : 1;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/mn.po b/account_invoice_constraint_chronology/i18n/mn.po index 1298b452..7b76367a 100644 --- a/account_invoice_constraint_chronology/i18n/mn.po +++ b/account_invoice_constraint_chronology/i18n/mn.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Mongolian (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nb.po b/account_invoice_constraint_chronology/i18n/nb.po index 419aa949..e2445d9e 100644 --- a/account_invoice_constraint_chronology/i18n/nb.po +++ b/account_invoice_constraint_chronology/i18n/nb.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Norwegian Bokmål (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nb_NO.po b/account_invoice_constraint_chronology/i18n/nb_NO.po index 7290f610..d4894cb2 100644 --- a/account_invoice_constraint_chronology/i18n/nb_NO.po +++ b/account_invoice_constraint_chronology/i18n/nb_NO.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Norwegian Bokmål (Norway) (https://www.transifex.com/oca/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nl.po b/account_invoice_constraint_chronology/i18n/nl.po index 8c35373d..c44678b7 100644 --- a/account_invoice_constraint_chronology/i18n/nl.po +++ b/account_invoice_constraint_chronology/i18n/nl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Dutch (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nl_BE.po b/account_invoice_constraint_chronology/i18n/nl_BE.po index 342a246c..ac3c3aaa 100644 --- a/account_invoice_constraint_chronology/i18n/nl_BE.po +++ b/account_invoice_constraint_chronology/i18n/nl_BE.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Dutch (Belgium) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/nl_NL.po b/account_invoice_constraint_chronology/i18n/nl_NL.po index 577d2506..72ae7726 100644 --- a/account_invoice_constraint_chronology/i18n/nl_NL.po +++ b/account_invoice_constraint_chronology/i18n/nl_NL.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-04-06 02:40+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-04-06 02:40+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Dutch (Netherlands) (https://www.transifex.com/oca/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/pl.po b/account_invoice_constraint_chronology/i18n/pl.po index 584b95ac..23599ef5 100644 --- a/account_invoice_constraint_chronology/i18n/pl.po +++ b/account_invoice_constraint_chronology/i18n/pl.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Polish (http://www.transifex.com/oca/OCA-account-financial-" @@ -20,23 +20,24 @@ msgstr "" "|| n%100>=20) ? 1 : 2);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/pt.po b/account_invoice_constraint_chronology/i18n/pt.po index f5a93941..ca73a5e0 100644 --- a/account_invoice_constraint_chronology/i18n/pt.po +++ b/account_invoice_constraint_chronology/i18n/pt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Portuguese (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/pt_BR.po b/account_invoice_constraint_chronology/i18n/pt_BR.po index e5d42c52..269854e5 100644 --- a/account_invoice_constraint_chronology/i18n/pt_BR.po +++ b/account_invoice_constraint_chronology/i18n/pt_BR.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Portuguese (Brazil) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/pt_PT.po b/account_invoice_constraint_chronology/i18n/pt_PT.po index 72f2f109..5dc3a3cf 100644 --- a/account_invoice_constraint_chronology/i18n/pt_PT.po +++ b/account_invoice_constraint_chronology/i18n/pt_PT.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Portuguese (Portugal) (https://www.transifex.com/oca/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ro.po b/account_invoice_constraint_chronology/i18n/ro.po index 72d6cca7..69f4e357 100644 --- a/account_invoice_constraint_chronology/i18n/ro.po +++ b/account_invoice_constraint_chronology/i18n/ro.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Romanian (http://www.transifex.com/oca/OCA-account-financial-" @@ -20,23 +20,24 @@ msgstr "" "2:1));\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/ru.po b/account_invoice_constraint_chronology/i18n/ru.po index 8960acac..a7265a27 100644 --- a/account_invoice_constraint_chronology/i18n/ru.po +++ b/account_invoice_constraint_chronology/i18n/ru.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Russian (http://www.transifex.com/oca/OCA-account-financial-" @@ -21,23 +21,24 @@ msgstr "" "%100>=11 && n%100<=14)? 2 : 3);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/sk_SK.po b/account_invoice_constraint_chronology/i18n/sk_SK.po index f9419aa3..303ad9ed 100644 --- a/account_invoice_constraint_chronology/i18n/sk_SK.po +++ b/account_invoice_constraint_chronology/i18n/sk_SK.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Slovak (Slovakia) (https://www.transifex.com/oca/teams/23907/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/sl.po b/account_invoice_constraint_chronology/i18n/sl.po index 5b638148..5a5a308e 100644 --- a/account_invoice_constraint_chronology/i18n/sl.po +++ b/account_invoice_constraint_chronology/i18n/sl.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-01-15 03:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-01-15 03:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Slovenian (https://www.transifex.com/oca/teams/23907/sl/)\n" @@ -20,25 +20,26 @@ msgstr "" "%100==4 ? 2 : 3);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 -#, python-format +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#, fuzzy, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" "Kronološka napaka. Starejše osnutke računov potrdite pred %s in poskusite " "ponovno." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/sr@latin.po b/account_invoice_constraint_chronology/i18n/sr@latin.po index 77d3ff01..1f4f4b55 100644 --- a/account_invoice_constraint_chronology/i18n/sr@latin.po +++ b/account_invoice_constraint_chronology/i18n/sr@latin.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Serbian (Latin) (http://www.transifex.com/oca/OCA-account-" @@ -20,23 +20,24 @@ msgstr "" "%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/sv.po b/account_invoice_constraint_chronology/i18n/sv.po index cf7d5902..b9e5a29d 100644 --- a/account_invoice_constraint_chronology/i18n/sv.po +++ b/account_invoice_constraint_chronology/i18n/sv.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Swedish (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n != 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/th.po b/account_invoice_constraint_chronology/i18n/th.po index 0ed586fe..dfba9240 100644 --- a/account_invoice_constraint_chronology/i18n/th.po +++ b/account_invoice_constraint_chronology/i18n/th.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Thai (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/tr.po b/account_invoice_constraint_chronology/i18n/tr.po index 1af8b349..912278db 100644 --- a/account_invoice_constraint_chronology/i18n/tr.po +++ b/account_invoice_constraint_chronology/i18n/tr.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Turkish (http://www.transifex.com/oca/OCA-account-financial-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/tr_TR.po b/account_invoice_constraint_chronology/i18n/tr_TR.po index 8320b931..24175d33 100644 --- a/account_invoice_constraint_chronology/i18n/tr_TR.po +++ b/account_invoice_constraint_chronology/i18n/tr_TR.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Odoo Server 11.0\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-03-30 02:39+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2018-03-30 02:39+0000\n" "Last-Translator: OCA Transbot , 2018\n" "Language-Team: Turkish (Turkey) (https://www.transifex.com/oca/teams/23907/" @@ -20,23 +20,24 @@ msgstr "" "Plural-Forms: nplurals=2; plural=(n > 1);\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/vi.po b/account_invoice_constraint_chronology/i18n/vi.po index 5c5779cb..cb67fc24 100644 --- a/account_invoice_constraint_chronology/i18n/vi.po +++ b/account_invoice_constraint_chronology/i18n/vi.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Vietnamese (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/zh_CN.po b/account_invoice_constraint_chronology/i18n/zh_CN.po index 8337d4a6..a356547d 100644 --- a/account_invoice_constraint_chronology/i18n/zh_CN.po +++ b/account_invoice_constraint_chronology/i18n/zh_CN.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Chinese (China) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/i18n/zh_TW.po b/account_invoice_constraint_chronology/i18n/zh_TW.po index 70c84aee..09f92956 100644 --- a/account_invoice_constraint_chronology/i18n/zh_TW.po +++ b/account_invoice_constraint_chronology/i18n/zh_TW.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: account-financial-tools (8.0)\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2015-07-01 13:25+0000\n" +"POT-Creation-Date: 2019-01-30 16:31+0000\n" "PO-Revision-Date: 2015-06-03 15:57+0000\n" "Last-Translator: <>\n" "Language-Team: Chinese (Taiwan) (http://www.transifex.com/oca/OCA-account-" @@ -19,23 +19,24 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #. module: account_invoice_constraint_chronology -#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal_check_chronology +#: model:ir.model.fields,field_description:account_invoice_constraint_chronology.field_account_journal__check_chronology msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:30 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 #, python-format msgid "" -"Chronology Error. Please confirm older draft invoices before %s and try " -"again." +"Chronology Error. Please confirm older draft invoices before {date_invoice} " +"and try again." msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:47 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 #, python-format msgid "" -"Chronology Error. There exist at least one invoice with a later date to %s." +"Chronology Error. There exist at least one invoice with a later date to " +"{date_invoice}." msgstr "" #. module: account_invoice_constraint_chronology diff --git a/account_invoice_constraint_chronology/model/__init__.py b/account_invoice_constraint_chronology/model/__init__.py index 97b1db6f..599c03ec 100644 --- a/account_invoice_constraint_chronology/model/__init__.py +++ b/account_invoice_constraint_chronology/model/__init__.py @@ -1,2 +1,2 @@ +from . import account_journal from . import account_invoice -from . import account diff --git a/account_invoice_constraint_chronology/model/account_invoice.py b/account_invoice_constraint_chronology/model/account_invoice.py index 4185fcc7..76a1d2d9 100644 --- a/account_invoice_constraint_chronology/model/account_invoice.py +++ b/account_invoice_constraint_chronology/model/account_invoice.py @@ -1,6 +1,8 @@ -# Copyright 2015-2017 ACSONE SA/NV () +# Copyright 2015-2019 ACSONE SA/NV () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). +import datetime + from odoo import models, api, fields, _ from odoo.exceptions import UserError @@ -23,10 +25,13 @@ class AccountInvoice(models.Model): ('journal_id', '=', inv.journal_id.id)], limit=1) if invoices: - date_invoice_format = fields.Date.\ - from_string(inv.date_invoice) - date_invoice_tz = fields\ - .Date.context_today(self, date_invoice_format) + date_invoice_format = datetime.datetime( + year=inv.date_invoice.year, + month=inv.date_invoice.month, + day=inv.date_invoice.day, + ) + date_invoice_tz = fields.Date.context_today( + self, date_invoice_format) raise UserError(_("Chronology Error. " "Please confirm older draft " "invoices before %s and try again.") @@ -40,10 +45,13 @@ class AccountInvoice(models.Model): limit=1) if invoices: - date_invoice_format = fields.Date.\ - from_string(inv.date_invoice) - date_invoice_tz = fields\ - .Date.context_today(self, date_invoice_format) + date_invoice_format = datetime.datetime( + year=inv.date_invoice.year, + month=inv.date_invoice.month, + day=inv.date_invoice.day, + ) + date_invoice_tz = fields.Date.context_today( + self, date_invoice_format) raise UserError(_("Chronology Error. " "There exist at least one invoice " "with a later date to %s.") % diff --git a/account_invoice_constraint_chronology/model/account.py b/account_invoice_constraint_chronology/model/account_journal.py similarity index 68% rename from account_invoice_constraint_chronology/model/account.py rename to account_invoice_constraint_chronology/model/account_journal.py index 6be55f8c..724c1d91 100644 --- a/account_invoice_constraint_chronology/model/account.py +++ b/account_invoice_constraint_chronology/model/account_journal.py @@ -1,4 +1,4 @@ -# Copyright 2015-2017 ACSONE SA/NV () +# Copyright 2015-2019 ACSONE SA/NV () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from odoo import models, fields, api @@ -7,9 +7,12 @@ from odoo import models, fields, api class AccountJournal(models.Model): _inherit = ['account.journal'] - check_chronology = fields.Boolean(default=False) + check_chronology = fields.Boolean( + default=False, + ) @api.onchange('type') def _onchange_type(self): + self.ensure_one() if self.type not in ['sale', 'purchase']: self.check_chronology = False diff --git a/account_invoice_constraint_chronology/readme/CONFIGURATION.rst b/account_invoice_constraint_chronology/readme/CONFIGURATION.rst new file mode 100644 index 00000000..27b8315e --- /dev/null +++ b/account_invoice_constraint_chronology/readme/CONFIGURATION.rst @@ -0,0 +1 @@ +To configure this module, go to the menu *Accounting/Invoicing > Configuration > Accounting > Journals* and activate the option *Check Chronology* on the relevant journals. After the installation of the module, this option will be active on *sale* and *sale refund* journals. diff --git a/account_invoice_constraint_chronology/readme/CONTRIBUTORS.rst b/account_invoice_constraint_chronology/readme/CONTRIBUTORS.rst new file mode 100644 index 00000000..ef64cb6e --- /dev/null +++ b/account_invoice_constraint_chronology/readme/CONTRIBUTORS.rst @@ -0,0 +1,4 @@ +* Adrien Peiffer (`Acsone SA/NV `_) +* Gilles Gilles +* Francesco Apruzzese +* Thomas Binsfeld diff --git a/account_invoice_constraint_chronology/readme/DESCRIPTION.rst b/account_invoice_constraint_chronology/readme/DESCRIPTION.rst new file mode 100644 index 00000000..62f42dce --- /dev/null +++ b/account_invoice_constraint_chronology/readme/DESCRIPTION.rst @@ -0,0 +1,6 @@ +This module helps ensuring the chronology of invoice numbers. + +It prevents the validation of invoices when: + +* there are draft invoices with a prior date +* there are validated invoices with a later date diff --git a/account_invoice_constraint_chronology/static/description/index.html b/account_invoice_constraint_chronology/static/description/index.html new file mode 100644 index 00000000..cc74e0a6 --- /dev/null +++ b/account_invoice_constraint_chronology/static/description/index.html @@ -0,0 +1,427 @@ + + + + + + +Account Invoice Constraint Chronology + + + +
+

Account Invoice Constraint Chronology

+ + +

Beta License: AGPL-3 OCA/account-financial-tools Translate me on Weblate Try me on Runbot

+

This module helps ensuring the chronology of invoice numbers.

+

It prevents the validation of invoices when:

+
    +
  • there are draft invoices with a prior date
  • +
  • there are validated invoices with a later date
  • +
+

Table of contents

+ +
+

Bug Tracker

+

Bugs are tracked on GitHub Issues. +In case of trouble, please check there if your issue has already been reported. +If you spotted it first, help us smashing it by providing a detailed and welcomed +feedback.

+

Do not contact contributors directly about support or help with technical issues.

+
+
+

Credits

+
+

Authors

+
    +
  • ACSONE SA/NV
  • +
+
+
+

Contributors

+ +
+
+

Maintainers

+

This module is maintained by the OCA.

+Odoo Community Association +

OCA, or the Odoo Community Association, is a nonprofit organization whose +mission is to support the collaborative development of Odoo features and +promote its widespread use.

+

This module is part of the OCA/account-financial-tools project on GitHub.

+

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

+
+
+
+ + diff --git a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py index 7fb57410..392e11a8 100644 --- a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py +++ b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py @@ -1,4 +1,4 @@ -# Copyright 2015-2017 ACSONE SA/NV () +# Copyright 2015-2019 ACSONE SA/NV () # License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). from datetime import datetime, timedelta @@ -8,43 +8,44 @@ from odoo.exceptions import UserError from odoo.tools import DEFAULT_SERVER_DATE_FORMAT -class TestAccountConstraintChronology(common.TransactionCase): +class TestAccountConstraintChronology(common.SavepointCase): - def setUp(self): - super(TestAccountConstraintChronology, self).setUp() + @classmethod + def setUpClass(cls): + super(TestAccountConstraintChronology, cls).setUpClass() # Needed to create invoice - self.account_type1 = self.env['account.account.type'].\ + cls.account_type1 = cls.env['account.account.type'].\ create({'name': 'acc type test 1', 'type': 'receivable', 'include_initial_balance': True}) - self.account_type2 = self.env['account.account.type']. \ + cls.account_type2 = cls.env['account.account.type']. \ create({'name': 'acc type test 2', 'type': 'other', 'include_initial_balance': True}) - self.account_account = self.env['account.account'].\ + cls.account_account = cls.env['account.account'].\ create({'name': 'acc test', 'code': 'X2020', - 'user_type_id': self.account_type1.id, + 'user_type_id': cls.account_type1.id, 'reconcile': True}) - self.account_account_line = self.env['account.account']. \ + cls.account_account_line = cls.env['account.account']. \ create({'name': 'acc inv line test', 'code': 'X2021', - 'user_type_id': self.account_type2.id, + 'user_type_id': cls.account_type2.id, 'reconcile': True}) - self.sequence = self.env['ir.sequence'].create( + cls.sequence = cls.env['ir.sequence'].create( {'name': 'Journal Sale', 'prefix': 'SALE', 'padding': 6, - 'company_id': self.env.ref("base.main_company").id}) - self.account_journal_sale = self.env['account.journal']\ + 'company_id': cls.env.ref("base.main_company").id}) + cls.account_journal_sale = cls.env['account.journal']\ .create({'name': 'Sale journal', 'code': 'SALE', 'type': 'sale', - 'sequence_id': self.sequence.id}) - self.product = self.env['product.product'].create( + 'sequence_id': cls.sequence.id}) + cls.product = cls.env['product.product'].create( {'name': 'product name'}) - self.analytic_account = self.env['account.analytic.account'].\ + cls.analytic_account = cls.env['account.analytic.account'].\ create({'name': 'test account'}) def get_journal_check(self, value): diff --git a/account_invoice_constraint_chronology/view/account_view.xml b/account_invoice_constraint_chronology/view/account_view.xml index 20a236ea..142302b9 100644 --- a/account_invoice_constraint_chronology/view/account_view.xml +++ b/account_invoice_constraint_chronology/view/account_view.xml @@ -1,5 +1,5 @@ - @@ -8,8 +8,9 @@ - + - +