Commit Graph

60 Commits

Author SHA1 Message Date
david
e497cba8fe [FIX] account_invoice_constraint_chronology: modify past invoices
Addresses the issue as commented here:

- https://github.com/OCA/account-financial-tools/issues/1206
- https://github.com/OCA/account-financial-tools/pull/1152#issuecomment-847854629

Summary of the steps to reproduce the problem:

1. Set on the invoices journal the constraint chronology.
2. Validate an invoice for this journal today.
3. Your accountant says there's an error on an invoice from yesterday.
4. Cancel it an set it to draft. You don't even need to modify anything
5. Try to post the invoice.
6. You'll get a chronology error.

In v12 this was considered but it was lost on the migration to v13:

800c02474e/account_invoice_constraint_chronology/model/account_invoice.py (L50)

800c02474e/account_invoice_constraint_chronology/model/account_invoice.py (L70-L73)

TT34624
2022-02-19 19:34:53 +01:00
Rémi
124452defd Translated using Weblate (French)
Currently translated at 100.0% (5 of 5 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_invoice_constraint_chronology/fr/
2021-09-18 13:34:07 +00:00
OCA-git-bot
a9f542befd [UPD] README.rst 2021-07-28 16:32:48 +00:00
oca-travis
3e190c8115 [UPD] Update account_invoice_constraint_chronology.pot 2021-07-28 13:43:31 +00:00
Alexey Pelykh
a16a965845 wip 2021-05-26 09:04:11 +02:00
Alexey Pelykh
cefd040a9c [MIG] account_invoice_constraint_chronology: Migration to 14.0 2021-05-26 08:52:56 +02:00
Alexey Pelykh
97f69e8d71 [IMP] account_invoice_constraint_chronology: black, isort, prettier 2021-05-26 08:52:56 +02:00
Alexey Pelykh
3ef7bd7c4b [MIG] account_invoice_constraint_chronology: Migration to 13.0 2021-05-26 08:52:56 +02:00
Alexey Pelykh
585318bc94 [IMP] account_invoice_constraint_chronology: black, isort, prettier 2021-05-26 08:52:56 +02:00
OCA Transbot
7c09b6304a Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_invoice_constraint_chronology/
2021-05-26 08:52:56 +02:00
oca-travis
86e6afd7a5 [UPD] Update account_invoice_constraint_chronology.pot 2021-05-26 08:52:56 +02:00
OCA Transbot
2fe0681656 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_invoice_constraint_chronology/
2021-05-26 08:52:56 +02:00
OCA-git-bot
17fda1c989 account_invoice_constraint_chronology 12.0.1.0.2 2021-05-26 08:52:56 +02:00
OCA-git-bot
8fcf5059b5 [UPD] README.rst 2021-05-26 08:52:56 +02:00
oca-travis
69971fc6d8 [UPD] Update account_invoice_constraint_chronology.pot 2021-05-26 08:52:55 +02:00
sbejaoui
ba05ca1f44 [IMP] - Chronology check depends on invoice type if journal is set to Dedicated Credit Note Sequence 2021-05-26 08:52:55 +02:00
OCA Transbot
68ce73ed34 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_invoice_constraint_chronology/
2021-05-26 08:52:55 +02:00
OCA-git-bot
6202be1fce account_invoice_constraint_chronology 12.0.1.0.1 2021-05-26 08:52:55 +02:00
oca-travis
408d88c6b7 [UPD] Update account_invoice_constraint_chronology.pot 2021-05-26 08:52:55 +02:00
OCA Transbot
b98be78bb8 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_invoice_constraint_chronology/
2021-05-26 08:52:55 +02:00
oca-travis
72e3f87e31 [UPD] Update account_invoice_constraint_chronology.pot 2021-05-26 08:52:55 +02:00
Daniel Luque
df137c4222 Translated using Weblate (Spanish)
Currently translated at 100.0% (5 of 5 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_invoice_constraint_chronology/es/
2021-05-26 08:52:55 +02:00
Lopsanz
81ff8d0673 [FIX] Considering in-payment state and more info in alerts 2021-05-26 08:52:55 +02:00
alvarorib
d1b747c392 Translated using Weblate (Portuguese)
Currently translated at 100.0% (5 of 5 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_invoice_constraint_chronology/pt/
2021-05-26 08:52:55 +02:00
Bole
9ada1eec40 Translated using Weblate (Croatian)
Currently translated at 100.0% (5 of 5 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_invoice_constraint_chronology/hr/
2021-05-26 08:52:55 +02:00
Rodrigo Macedo
be1a313c61 Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (5 of 5 strings)

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_invoice_constraint_chronology/pt_BR/
2021-05-26 08:52:55 +02:00
OCA-git-bot
97e51cb8d2 [UPD] README.rst 2021-05-26 08:52:55 +02:00
OCA Transbot
a7bdfdceb4 Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-financial-tools-12.0/account-financial-tools-12.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-12-0/account-financial-tools-12-0-account_invoice_constraint_chronology/
2021-05-26 08:52:55 +02:00
oca-travis
8be50e00b7 [UPD] Update account_invoice_constraint_chronology.pot 2021-05-26 08:52:55 +02:00
Thomas Binsfeld
80ce117029 [REF] Account Invoice Constraint Chronology: improve code coverage 2021-05-26 08:52:55 +02:00
Thomas Binsfeld
81616f8c24 [REF] Account Invoice Constraint Chronology: better messages 2021-05-26 08:52:55 +02:00
Thomas Binsfeld
07a78af1c0 [REF] Account Invoice Constraint Chronology: prepare methods for domains 2021-05-26 08:52:55 +02:00
Thomas Binsfeld
f76a9dc56a [MIG] Account Invoice Constraint Chronology to 12.0 2021-05-26 08:52:55 +02:00
Rudolf Schnapka
de531dc31c Translated using Weblate (German)
Currently translated at 100,0% (5 of 5 strings)

Translation: account-financial-tools-11.0/account-financial-tools-11.0-account_invoice_constraint_chronology
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-11-0/account-financial-tools-11-0-account_invoice_constraint_chronology/de/
2021-05-26 08:52:55 +02:00
oca-travis
baa0375451 [UPD] Update account_invoice_constraint_chronology.pot 2021-05-26 08:52:55 +02:00
Stéphane Bidoul (ACSONE)
fe4cf46179 remove obsolete .pot files [ci skip] 2021-05-26 08:52:55 +02:00
OCA Transbot
c0f97d44f5 OCA Transbot updated translations from Transifex 2021-05-26 08:52:55 +02:00
rgarnau
1ac67d3556 minor fixes 2021-05-26 08:52:55 +02:00
Francesco Apruzzese
f13a2f9ce5 [MIG] account_invoice_constraint_chronology: Migration to 11.0 2021-05-26 08:52:55 +02:00
OCA Transbot
0e7bda1dd4 OCA Transbot updated translations from Transifex 2021-05-26 08:52:54 +02:00
Stéphane Bidoul (ACSONE)
9834de7b59 [IMP] a_i_c_chronology: cosmetics, pylint 2021-05-26 08:52:54 +02:00
Stéphane Bidoul (ACSONE)
b21362c0aa [IMP] a_i_c_chronology: simplify if statements 2021-05-26 08:52:54 +02:00
Stéphane Bidoul (ACSONE)
bf4a54f61c [IMP] a_i_c_chronology: improve/fox onchange 2021-05-26 08:52:54 +02:00
gilles
3342775c69 [FIX] cleanup 2021-05-26 08:52:54 +02:00
Stéphane Bidoul (ACSONE)
b09f9d992c [IMP] a_i_c_chronology: better check for previously validated invoices 2021-05-26 08:52:54 +02:00
gilles
7523e0d58c [MIG] account_invoice_constraint_chronology 2021-05-26 08:52:54 +02:00
Pedro M. Baeza
caa4f863c4 [MIG] Rename manifest files 2021-05-26 08:52:54 +02:00
Stéphane Bidoul (ACSONE)
8e2c4fff2d [FIX] remove en.po that was erroneously created by transbot 2021-05-26 08:52:54 +02:00
Pedro M. Baeza
56ab7bfabc [MIG] Make modules uninstallable 2021-05-26 08:52:54 +02:00
Stéphane Bidoul
de9e5c55d7 [UPD] prefix versions with 8.0 2021-05-26 08:52:54 +02:00