2
0
Commit Graph

48 Commits

Author SHA1 Message Date
OCA-git-bot
959a97d21e account_invoice_constraint_chronology 16.0.1.0.2 2022-10-19 20:00:17 +00:00
OCA-git-bot
d653d6dd93 [UPD] README.rst 2022-10-19 20:00:17 +00:00
oca-ci
abf785bab0 [UPD] Update account_invoice_constraint_chronology.pot 2022-10-19 19:57:42 +00:00
Zina Rasoamanana
4d619c5242 Remove import test in __init__.py 2022-10-06 17:14:33 +02:00
Zina Rasoamanana
1104585cef [MIG] account_invoice_constraint_chronology: Migration to 16.0 2022-10-06 17:05:07 +02:00
OCA-git-bot
5cf25920b9 account_invoice_constraint_chronology 15.0.1.0.1 2022-10-06 16:58:24 +02:00
OCA-git-bot
03ecac4880 [UPD] README.rst 2022-10-06 16:58:24 +02:00
oca-ci
2e8e69475a [UPD] Update account_invoice_constraint_chronology.pot 2022-10-06 16:58:24 +02:00
Eduardo De Miguel
6a97dbded0 [FIX] Add journal_id when creating account move reversal on tests 2022-10-06 16:58:24 +02:00
Eduardo De Miguel
4981ff03d6 [MIG] account_invoice_constraint_chronology: Migration to 15.0 2022-10-06 16:58:24 +02:00
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