2
0
Commit Graph

935 Commits

Author SHA1 Message Date
david
f01806efdd [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-10-06 16:58:24 +02:00
OCA-git-bot
b6a799ac29 [UPD] README.rst 2022-10-06 16:58:24 +02:00
Alexey Pelykh
b8f8b91687 wip 2022-10-06 16:58:24 +02:00
Alexey Pelykh
3ac663af91 [MIG] account_invoice_constraint_chronology: Migration to 14.0 2022-10-06 16:58:24 +02:00
Alexey Pelykh
8f231112b8 [IMP] account_invoice_constraint_chronology: black, isort, prettier 2022-10-06 16:58:24 +02:00
Alexey Pelykh
b96e164adf [MIG] account_invoice_constraint_chronology: Migration to 13.0 2022-10-06 16:58:24 +02:00
Alexey Pelykh
99ecd163a6 [IMP] account_invoice_constraint_chronology: black, isort, prettier 2022-10-06 16:58:24 +02:00
OCA-git-bot
2e68ed8bf7 account_invoice_constraint_chronology 12.0.1.0.2 2022-10-06 16:58:24 +02:00
OCA-git-bot
fe5212185b [UPD] README.rst 2022-10-06 16:58:24 +02:00
sbejaoui
c38dfc37e9 [IMP] - Chronology check depends on invoice type if journal is set to Dedicated Credit Note Sequence 2022-10-06 16:58:24 +02:00
OCA-git-bot
f0ee046b14 account_invoice_constraint_chronology 12.0.1.0.1 2022-10-06 16:58:24 +02:00
Lopsanz
d15eb71f37 [FIX] Considering in-payment state and more info in alerts 2022-10-06 16:58:24 +02:00
OCA-git-bot
31e33fed96 [UPD] README.rst 2022-10-06 16:58:24 +02:00
Thomas Binsfeld
434a81e13d [REF] Account Invoice Constraint Chronology: improve code coverage 2022-10-06 16:58:24 +02:00
Thomas Binsfeld
2571215d3d [REF] Account Invoice Constraint Chronology: better messages 2022-10-06 16:58:24 +02:00
Thomas Binsfeld
25d91cda4e [REF] Account Invoice Constraint Chronology: prepare methods for domains 2022-10-06 16:58:24 +02:00
Thomas Binsfeld
507a99ce79 [MIG] Account Invoice Constraint Chronology to 12.0 2022-10-06 16:58:24 +02:00
rgarnau
f8c89442b6 minor fixes 2022-10-06 16:58:24 +02:00
Francesco Apruzzese
00b821da9c [MIG] account_invoice_constraint_chronology: Migration to 11.0 2022-10-06 16:58:24 +02:00
Stéphane Bidoul (ACSONE)
8abfd3c145 [IMP] a_i_c_chronology: cosmetics, pylint 2022-10-06 16:58:24 +02:00
Stéphane Bidoul (ACSONE)
045616358d [IMP] a_i_c_chronology: simplify if statements 2022-10-06 16:58:24 +02:00
Stéphane Bidoul (ACSONE)
1d7a9fe2d8 [IMP] a_i_c_chronology: improve/fox onchange 2022-10-06 16:58:24 +02:00
gilles
383441d230 [FIX] cleanup 2022-10-06 16:58:24 +02:00
Stéphane Bidoul (ACSONE)
d6efba2b6e [IMP] a_i_c_chronology: better check for previously validated invoices 2022-10-06 16:58:24 +02:00
gilles
cda5bc8b9c [MIG] account_invoice_constraint_chronology 2022-10-06 16:58:24 +02:00
Pedro M. Baeza
daf9cd6a73 [MIG] Rename manifest files 2022-10-06 16:58:24 +02:00
Stéphane Bidoul (ACSONE)
b77c72e635 [FIX] remove en.po that was erroneously created by transbot 2022-10-06 16:58:24 +02:00
Pedro M. Baeza
925c47bf6f [MIG] Make modules uninstallable 2022-10-06 16:58:24 +02:00
Stéphane Bidoul
5f414014d1 [UPD] prefix versions with 8.0 2022-10-06 16:58:24 +02:00
Alexandre Fayolle
6f9b062305 remove deprecated test suite declarations
these cause Warnings during the tests
2022-10-06 16:58:24 +02:00
Yannick Vaucher
7129a2dfac Add missing default oca icons 2022-10-06 16:58:24 +02:00
Stéphane Bidoul
546eab938f [FIX] common.DB does not exist anymore in stable 8.0
It was not used in these tests anyway.
2022-10-06 16:58:24 +02:00
Alexandre Fayolle
54b2db5914 Add OCA as author of OCA addons
In order to get visibility on https://www.odoo.com/apps the OCA board has
decided to add the OCA as author of all the addons maintained as part of the
association.
2022-10-06 16:58:24 +02:00
Yannick Vaucher
215adb43fa Add license key in __openerp__.py 2022-10-06 16:58:24 +02:00
Adrien Peiffer
9a51a1c1cb [IMP] Exclude proforma2 state for draft invoice check on account_invoice_constraint_chronology
[IMP] DEFAULT_SERVER_DATE_FORMAT

[IMP] display formatted date with context timezone in exception popup for account_invoice_constraint_chronology addons

[ADD] Add context in  tests for account_invoice_constraint_chronology addons

[IMP] Use exceptions.warning for account_invoice_constraint_chronology addons

[IMP] Remove exclamation mark

[ADD] Add .pot file for account_invoice_constraint_chronology

[IMP] Use .env for account_invoice_constraint_chronology tests

[IMP] Use onchange decorator, add white space at end of file, correct ypo mistake for account_invoice_constraint_chronology

[IMP] Improve performance
2022-10-06 16:58:24 +02:00
Stéphane Bidoul
305ed382d8 [IMP] account_inv/account_invoice_constraint_chronology doc spelling 2022-10-06 16:58:24 +02:00
Adrien Peiffer
2ceb475c80 [IMP] Use new API on account_invoice_constraint_chronology for account.py 2022-10-06 16:58:24 +02:00
Adrien Peiffer
c52963bf27 [ADD] Add account_invoice_constraint_chronology 2022-10-06 16:58:24 +02:00
Dept. Técnico
50463a1f4b Translated using Weblate (Spanish)
Currently translated at 80.0% (16 of 20 strings)

Translation: account-financial-tools-15.0/account-financial-tools-15.0-account_fiscal_year
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-15-0/account-financial-tools-15-0-account_fiscal_year/es/
2022-10-04 09:37:29 +02:00
Dept. Técnico
2899ff99d1 Added translation using Weblate (Spanish) 2022-10-04 09:37:29 +02:00
OCA-git-bot
4e56e9bc0c [UPD] README.rst 2022-10-04 09:37:29 +02:00
oca-ci
488c7495e4 [UPD] Update account_fiscal_year.pot 2022-10-04 09:37:29 +02:00
Pedro Evaristo Gonzalez Sanchez
ea3355898a [15.0][MIG] Account Fiscal Year 2022-10-04 09:37:29 +02:00
Francesco Foresti
7a2c377b30 Translated using Weblate (Italian)
Currently translated at 100.0% (20 of 20 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_fiscal_year
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_fiscal_year/it/
2022-10-04 09:37:29 +02:00
OCA-git-bot
08cffc1086 account_fiscal_year 14.0.1.1.1 2022-10-04 09:37:29 +02:00
OCA-git-bot
c2ba91f8f3 [UPD] README.rst 2022-10-04 09:37:29 +02:00
tafaRU
6c4b9381b4 account_fiscal_year: change development_status to Production/Stable 2022-10-04 09:37:29 +02:00
Yves Le Doeuff
09dfcd6513 Translated using Weblate (French (France))
Currently translated at 95.0% (19 of 20 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_fiscal_year
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_fiscal_year/fr_FR/
2022-10-04 09:37:29 +02:00
Yves Le Doeuff
ad6ecff959 Added translation using Weblate (French (France)) 2022-10-04 09:37:29 +02:00
Bosd
13df52623e Translated using Weblate (Dutch)
Currently translated at 100.0% (20 of 20 strings)

Translation: account-financial-tools-14.0/account-financial-tools-14.0-account_fiscal_year
Translate-URL: https://translation.odoo-community.org/projects/account-financial-tools-14-0/account-financial-tools-14-0-account_fiscal_year/nl/
2022-10-04 09:37:29 +02:00