From 434a81e13d3e3754d822bdefd81a659c9939cc26 Mon Sep 17 00:00:00 2001 From: Thomas Binsfeld Date: Wed, 10 Apr 2019 16:37:31 +0200 Subject: [PATCH] [REF] Account Invoice Constraint Chronology: improve code coverage --- .../account_invoice_constraint_chronology.pot | 6 ++---- .../i18n/ar.po | 4 ++-- .../i18n/bg.po | 4 ++-- .../i18n/bs.po | 4 ++-- .../i18n/ca.po | 4 ++-- .../i18n/cs.po | 4 ++-- .../i18n/de.po | 4 ++-- .../i18n/el_GR.po | 4 ++-- .../i18n/en_GB.po | 4 ++-- .../i18n/es.po | 4 ++-- .../i18n/es_CR.po | 4 ++-- .../i18n/es_EC.po | 4 ++-- .../i18n/es_MX.po | 4 ++-- .../i18n/es_VE.po | 4 ++-- .../i18n/et.po | 4 ++-- .../i18n/fi.po | 4 ++-- .../i18n/fr.po | 4 ++-- .../i18n/fr_CA.po | 4 ++-- .../i18n/fr_CH.po | 4 ++-- .../i18n/gl.po | 4 ++-- .../i18n/hr.po | 4 ++-- .../i18n/hr_HR.po | 4 ++-- .../i18n/hu.po | 4 ++-- .../i18n/id.po | 4 ++-- .../i18n/it.po | 4 ++-- .../i18n/ja.po | 4 ++-- .../i18n/lt.po | 4 ++-- .../i18n/mk.po | 4 ++-- .../i18n/mn.po | 4 ++-- .../i18n/nb.po | 4 ++-- .../i18n/nb_NO.po | 4 ++-- .../i18n/nl.po | 4 ++-- .../i18n/nl_BE.po | 4 ++-- .../i18n/nl_NL.po | 4 ++-- .../i18n/pl.po | 4 ++-- .../i18n/pt.po | 4 ++-- .../i18n/pt_BR.po | 4 ++-- .../i18n/pt_PT.po | 4 ++-- .../i18n/ro.po | 4 ++-- .../i18n/ru.po | 4 ++-- .../i18n/sk_SK.po | 4 ++-- .../i18n/sl.po | 4 ++-- .../i18n/sr@latin.po | 4 ++-- .../i18n/sv.po | 4 ++-- .../i18n/th.po | 4 ++-- .../i18n/tr.po | 4 ++-- .../i18n/tr_TR.po | 4 ++-- .../i18n/vi.po | 4 ++-- .../i18n/zh_CN.po | 4 ++-- .../i18n/zh_TW.po | 4 ++-- .../test_account_constraint_chronology.py | 19 +++++++++++++++++++ 51 files changed, 119 insertions(+), 102 deletions(-) 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 e13e4191..76382554 100644 --- a/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot +++ b/account_invoice_constraint_chronology/i18n/account_invoice_constraint_chronology.pot @@ -6,8 +6,6 @@ msgid "" msgstr "" "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" @@ -21,13 +19,13 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format 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:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "Chronology Error. There exist at least one invoice with a later date to {date_invoice}." msgstr "" diff --git a/account_invoice_constraint_chronology/i18n/ar.po b/account_invoice_constraint_chronology/i18n/ar.po index 0867786f..36f734e1 100644 --- a/account_invoice_constraint_chronology/i18n/ar.po +++ b/account_invoice_constraint_chronology/i18n/ar.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/bg.po b/account_invoice_constraint_chronology/i18n/bg.po index b52c94af..0dd5e9e6 100644 --- a/account_invoice_constraint_chronology/i18n/bg.po +++ b/account_invoice_constraint_chronology/i18n/bg.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/bs.po b/account_invoice_constraint_chronology/i18n/bs.po index 01333587..3b6dc4f7 100644 --- a/account_invoice_constraint_chronology/i18n/bs.po +++ b/account_invoice_constraint_chronology/i18n/bs.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/ca.po b/account_invoice_constraint_chronology/i18n/ca.po index 350b1c49..c391ea84 100644 --- a/account_invoice_constraint_chronology/i18n/ca.po +++ b/account_invoice_constraint_chronology/i18n/ca.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/cs.po b/account_invoice_constraint_chronology/i18n/cs.po index 95d7e432..6aaf2ae5 100644 --- a/account_invoice_constraint_chronology/i18n/cs.po +++ b/account_invoice_constraint_chronology/i18n/cs.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/de.po b/account_invoice_constraint_chronology/i18n/de.po index 4b0e26f1..c7d0a1ef 100644 --- a/account_invoice_constraint_chronology/i18n/de.po +++ b/account_invoice_constraint_chronology/i18n/de.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "Prüfe Chronologie" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, fuzzy, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -35,7 +35,7 @@ msgstr "" "erneut." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, fuzzy, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/el_GR.po b/account_invoice_constraint_chronology/i18n/el_GR.po index cf264e0d..22035e5c 100644 --- a/account_invoice_constraint_chronology/i18n/el_GR.po +++ b/account_invoice_constraint_chronology/i18n/el_GR.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/en_GB.po b/account_invoice_constraint_chronology/i18n/en_GB.po index 0bd894bf..bd5fccab 100644 --- a/account_invoice_constraint_chronology/i18n/en_GB.po +++ b/account_invoice_constraint_chronology/i18n/en_GB.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/es.po b/account_invoice_constraint_chronology/i18n/es.po index 49597821..36c94537 100644 --- a/account_invoice_constraint_chronology/i18n/es.po +++ b/account_invoice_constraint_chronology/i18n/es.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/es_CR.po b/account_invoice_constraint_chronology/i18n/es_CR.po index 83f19525..4ce9eb94 100644 --- a/account_invoice_constraint_chronology/i18n/es_CR.po +++ b/account_invoice_constraint_chronology/i18n/es_CR.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/es_EC.po b/account_invoice_constraint_chronology/i18n/es_EC.po index c41ab186..9d11fb6f 100644 --- a/account_invoice_constraint_chronology/i18n/es_EC.po +++ b/account_invoice_constraint_chronology/i18n/es_EC.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/es_MX.po b/account_invoice_constraint_chronology/i18n/es_MX.po index 79f7e28a..90cda6c5 100644 --- a/account_invoice_constraint_chronology/i18n/es_MX.po +++ b/account_invoice_constraint_chronology/i18n/es_MX.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/es_VE.po b/account_invoice_constraint_chronology/i18n/es_VE.po index 455cfd6d..fb6efc7e 100644 --- a/account_invoice_constraint_chronology/i18n/es_VE.po +++ b/account_invoice_constraint_chronology/i18n/es_VE.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/et.po b/account_invoice_constraint_chronology/i18n/et.po index bea6533d..123fbfaa 100644 --- a/account_invoice_constraint_chronology/i18n/et.po +++ b/account_invoice_constraint_chronology/i18n/et.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/fi.po b/account_invoice_constraint_chronology/i18n/fi.po index f88934c9..aab186a0 100644 --- a/account_invoice_constraint_chronology/i18n/fi.po +++ b/account_invoice_constraint_chronology/i18n/fi.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/fr.po b/account_invoice_constraint_chronology/i18n/fr.po index 78608f30..aaeae1fc 100644 --- a/account_invoice_constraint_chronology/i18n/fr.po +++ b/account_invoice_constraint_chronology/i18n/fr.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "Vérifier la chronologie" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, fuzzy, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -35,7 +35,7 @@ msgstr "" "avant le {date_invoice} et réessayer." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, fuzzy, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/fr_CA.po b/account_invoice_constraint_chronology/i18n/fr_CA.po index 72792a14..d481bd78 100644 --- a/account_invoice_constraint_chronology/i18n/fr_CA.po +++ b/account_invoice_constraint_chronology/i18n/fr_CA.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/fr_CH.po b/account_invoice_constraint_chronology/i18n/fr_CH.po index 14cc67dc..43f6cb82 100644 --- a/account_invoice_constraint_chronology/i18n/fr_CH.po +++ b/account_invoice_constraint_chronology/i18n/fr_CH.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/gl.po b/account_invoice_constraint_chronology/i18n/gl.po index 52d8c0d8..8e968608 100644 --- a/account_invoice_constraint_chronology/i18n/gl.po +++ b/account_invoice_constraint_chronology/i18n/gl.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/hr.po b/account_invoice_constraint_chronology/i18n/hr.po index c749f514..84c62958 100644 --- a/account_invoice_constraint_chronology/i18n/hr.po +++ b/account_invoice_constraint_chronology/i18n/hr.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/hr_HR.po b/account_invoice_constraint_chronology/i18n/hr_HR.po index 7924b654..b8ca11dd 100644 --- a/account_invoice_constraint_chronology/i18n/hr_HR.po +++ b/account_invoice_constraint_chronology/i18n/hr_HR.po @@ -26,7 +26,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -34,7 +34,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/hu.po b/account_invoice_constraint_chronology/i18n/hu.po index c191186b..ff8fae96 100644 --- a/account_invoice_constraint_chronology/i18n/hu.po +++ b/account_invoice_constraint_chronology/i18n/hu.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/id.po b/account_invoice_constraint_chronology/i18n/id.po index 6327a930..ab7c87c4 100644 --- a/account_invoice_constraint_chronology/i18n/id.po +++ b/account_invoice_constraint_chronology/i18n/id.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/it.po b/account_invoice_constraint_chronology/i18n/it.po index 360e233b..abe99f1e 100644 --- a/account_invoice_constraint_chronology/i18n/it.po +++ b/account_invoice_constraint_chronology/i18n/it.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/ja.po b/account_invoice_constraint_chronology/i18n/ja.po index e32b9f48..85aaeb9f 100644 --- a/account_invoice_constraint_chronology/i18n/ja.po +++ b/account_invoice_constraint_chronology/i18n/ja.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/lt.po b/account_invoice_constraint_chronology/i18n/lt.po index 510796a4..d44fa4c1 100644 --- a/account_invoice_constraint_chronology/i18n/lt.po +++ b/account_invoice_constraint_chronology/i18n/lt.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/mk.po b/account_invoice_constraint_chronology/i18n/mk.po index 3d5fc5b3..4b2bfafd 100644 --- a/account_invoice_constraint_chronology/i18n/mk.po +++ b/account_invoice_constraint_chronology/i18n/mk.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/mn.po b/account_invoice_constraint_chronology/i18n/mn.po index 7b76367a..8a3a03af 100644 --- a/account_invoice_constraint_chronology/i18n/mn.po +++ b/account_invoice_constraint_chronology/i18n/mn.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/nb.po b/account_invoice_constraint_chronology/i18n/nb.po index e2445d9e..edd47423 100644 --- a/account_invoice_constraint_chronology/i18n/nb.po +++ b/account_invoice_constraint_chronology/i18n/nb.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/nb_NO.po b/account_invoice_constraint_chronology/i18n/nb_NO.po index d4894cb2..3da45dab 100644 --- a/account_invoice_constraint_chronology/i18n/nb_NO.po +++ b/account_invoice_constraint_chronology/i18n/nb_NO.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/nl.po b/account_invoice_constraint_chronology/i18n/nl.po index c44678b7..fc23e4d5 100644 --- a/account_invoice_constraint_chronology/i18n/nl.po +++ b/account_invoice_constraint_chronology/i18n/nl.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/nl_BE.po b/account_invoice_constraint_chronology/i18n/nl_BE.po index ac3c3aaa..feb4c544 100644 --- a/account_invoice_constraint_chronology/i18n/nl_BE.po +++ b/account_invoice_constraint_chronology/i18n/nl_BE.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/nl_NL.po b/account_invoice_constraint_chronology/i18n/nl_NL.po index 72ae7726..c161b154 100644 --- a/account_invoice_constraint_chronology/i18n/nl_NL.po +++ b/account_invoice_constraint_chronology/i18n/nl_NL.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/pl.po b/account_invoice_constraint_chronology/i18n/pl.po index 23599ef5..3477cec6 100644 --- a/account_invoice_constraint_chronology/i18n/pl.po +++ b/account_invoice_constraint_chronology/i18n/pl.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/pt.po b/account_invoice_constraint_chronology/i18n/pt.po index ca73a5e0..5a50d8c8 100644 --- a/account_invoice_constraint_chronology/i18n/pt.po +++ b/account_invoice_constraint_chronology/i18n/pt.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/pt_BR.po b/account_invoice_constraint_chronology/i18n/pt_BR.po index 269854e5..fd9ed53f 100644 --- a/account_invoice_constraint_chronology/i18n/pt_BR.po +++ b/account_invoice_constraint_chronology/i18n/pt_BR.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/pt_PT.po b/account_invoice_constraint_chronology/i18n/pt_PT.po index 5dc3a3cf..a861e628 100644 --- a/account_invoice_constraint_chronology/i18n/pt_PT.po +++ b/account_invoice_constraint_chronology/i18n/pt_PT.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/ro.po b/account_invoice_constraint_chronology/i18n/ro.po index 69f4e357..26a4f773 100644 --- a/account_invoice_constraint_chronology/i18n/ro.po +++ b/account_invoice_constraint_chronology/i18n/ro.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/ru.po b/account_invoice_constraint_chronology/i18n/ru.po index a7265a27..680b14d0 100644 --- a/account_invoice_constraint_chronology/i18n/ru.po +++ b/account_invoice_constraint_chronology/i18n/ru.po @@ -26,7 +26,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -34,7 +34,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/sk_SK.po b/account_invoice_constraint_chronology/i18n/sk_SK.po index 303ad9ed..7b155189 100644 --- a/account_invoice_constraint_chronology/i18n/sk_SK.po +++ b/account_invoice_constraint_chronology/i18n/sk_SK.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/sl.po b/account_invoice_constraint_chronology/i18n/sl.po index 5a5a308e..58d448ca 100644 --- a/account_invoice_constraint_chronology/i18n/sl.po +++ b/account_invoice_constraint_chronology/i18n/sl.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, fuzzy, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -35,7 +35,7 @@ msgstr "" "ponovno." #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/sr@latin.po b/account_invoice_constraint_chronology/i18n/sr@latin.po index 1f4f4b55..ab00d40e 100644 --- a/account_invoice_constraint_chronology/i18n/sr@latin.po +++ b/account_invoice_constraint_chronology/i18n/sr@latin.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/sv.po b/account_invoice_constraint_chronology/i18n/sv.po index b9e5a29d..b81a17ee 100644 --- a/account_invoice_constraint_chronology/i18n/sv.po +++ b/account_invoice_constraint_chronology/i18n/sv.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/th.po b/account_invoice_constraint_chronology/i18n/th.po index dfba9240..d19dff3d 100644 --- a/account_invoice_constraint_chronology/i18n/th.po +++ b/account_invoice_constraint_chronology/i18n/th.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/tr.po b/account_invoice_constraint_chronology/i18n/tr.po index 912278db..8a2170e2 100644 --- a/account_invoice_constraint_chronology/i18n/tr.po +++ b/account_invoice_constraint_chronology/i18n/tr.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/tr_TR.po b/account_invoice_constraint_chronology/i18n/tr_TR.po index 24175d33..632aec2d 100644 --- a/account_invoice_constraint_chronology/i18n/tr_TR.po +++ b/account_invoice_constraint_chronology/i18n/tr_TR.po @@ -25,7 +25,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -33,7 +33,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/vi.po b/account_invoice_constraint_chronology/i18n/vi.po index cb67fc24..cc4d6e4b 100644 --- a/account_invoice_constraint_chronology/i18n/vi.po +++ b/account_invoice_constraint_chronology/i18n/vi.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/zh_CN.po b/account_invoice_constraint_chronology/i18n/zh_CN.po index a356547d..1291ff2a 100644 --- a/account_invoice_constraint_chronology/i18n/zh_CN.po +++ b/account_invoice_constraint_chronology/i18n/zh_CN.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " diff --git a/account_invoice_constraint_chronology/i18n/zh_TW.po b/account_invoice_constraint_chronology/i18n/zh_TW.po index 09f92956..c44dbee2 100644 --- a/account_invoice_constraint_chronology/i18n/zh_TW.po +++ b/account_invoice_constraint_chronology/i18n/zh_TW.po @@ -24,7 +24,7 @@ msgid "Check Chronology" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:51 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:53 #, python-format msgid "" "Chronology Error. Please confirm older draft invoices before {date_invoice} " @@ -32,7 +32,7 @@ msgid "" msgstr "" #. module: account_invoice_constraint_chronology -#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:66 +#: code:addons/account_invoice_constraint_chronology/model/account_invoice.py:69 #, python-format msgid "" "Chronology Error. There exist at least one invoice with a later date to " 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 392e11a8..6392c80a 100644 --- a/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py +++ b/account_invoice_constraint_chronology/tests/test_account_constraint_chronology.py @@ -87,6 +87,18 @@ class TestAccountConstraintChronology(common.SavepointCase): with self.assertRaises(UserError): invoice_2.action_invoice_open() + def test_invoice_draft_no_check(self): + journal = self.get_journal_check(False) + today = datetime.now() + yesterday = today - timedelta(days=1) + date = yesterday.strftime(DEFAULT_SERVER_DATE_FORMAT) + self.create_simple_invoice(journal.id, date) + date = today.strftime(DEFAULT_SERVER_DATE_FORMAT) + invoice_2 = self.create_simple_invoice(journal.id, date) + self.assertTrue((invoice_2.state == 'draft'), + "Initial invoice state is not Draft") + self.assertTrue(invoice_2.action_invoice_open()) + def test_invoice_validate(self): journal = self.get_journal_check(True) today = datetime.now() @@ -114,3 +126,10 @@ class TestAccountConstraintChronology(common.SavepointCase): "Initial invoice state is not Draft") with self.assertRaises(UserError): invoice_2.action_invoice_open() + + def test_journal_change_type(self): + self.account_journal_sale.check_chronology = True + self.assertTrue(self.account_journal_sale.check_chronology) + self.account_journal_sale.type = 'bank' + self.account_journal_sale._onchange_type() + self.assertFalse(self.account_journal_sale.check_chronology)