Commit Graph

43 Commits

Author SHA1 Message Date
OCA-git-bot
857dd4ed9f account_invoice_constraint_chronology 15.0.1.0.1 2022-03-31 18:29:26 +00:00
OCA-git-bot
08ed1daf15 [UPD] README.rst 2022-03-31 18:29:24 +00:00
oca-ci
504f175784 [UPD] Update account_invoice_constraint_chronology.pot 2022-03-31 18:26:34 +00:00
Eduardo De Miguel
8ea2ed4066 [FIX] Add journal_id when creating account move reversal on tests 2022-03-31 16:47:28 +02:00
Eduardo De Miguel
91dab9c581 [MIG] account_invoice_constraint_chronology: Migration to 15.0 2022-03-31 07:42:11 +00:00
david
7375d82d06 [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-03-31 07:42:11 +00:00
OCA-git-bot
dfdb325109 [UPD] README.rst 2022-03-31 07:42:11 +00:00
Alexey Pelykh
d6386bbb5d wip 2022-03-31 07:42:11 +00:00
Alexey Pelykh
df0182983b [MIG] account_invoice_constraint_chronology: Migration to 14.0 2022-03-31 07:42:11 +00:00
Alexey Pelykh
96e09eb7bb [IMP] account_invoice_constraint_chronology: black, isort, prettier 2022-03-31 07:42:11 +00:00
Alexey Pelykh
18d5dd1d5a [MIG] account_invoice_constraint_chronology: Migration to 13.0 2022-03-31 07:42:11 +00:00
Alexey Pelykh
04ddac9f38 [IMP] account_invoice_constraint_chronology: black, isort, prettier 2022-03-31 07:42:11 +00:00
OCA-git-bot
593d33fe78 account_invoice_constraint_chronology 12.0.1.0.2 2022-03-31 07:42:11 +00:00
OCA-git-bot
59178a7512 [UPD] README.rst 2022-03-31 07:42:11 +00:00
sbejaoui
ccf10bb479 [IMP] - Chronology check depends on invoice type if journal is set to Dedicated Credit Note Sequence 2022-03-31 07:42:11 +00:00
OCA-git-bot
31039c28fa account_invoice_constraint_chronology 12.0.1.0.1 2022-03-31 07:42:11 +00:00
Lopsanz
2df68a146c [FIX] Considering in-payment state and more info in alerts 2022-03-31 07:42:11 +00:00
OCA-git-bot
167b208845 [UPD] README.rst 2022-03-31 07:42:11 +00:00
Thomas Binsfeld
ddaffbaa7c [REF] Account Invoice Constraint Chronology: improve code coverage 2022-03-31 07:42:11 +00:00
Thomas Binsfeld
4273c155dd [REF] Account Invoice Constraint Chronology: better messages 2022-03-31 07:42:11 +00:00
Thomas Binsfeld
c6f9888874 [REF] Account Invoice Constraint Chronology: prepare methods for domains 2022-03-31 07:42:11 +00:00
Thomas Binsfeld
493f245dab [MIG] Account Invoice Constraint Chronology to 12.0 2022-03-31 07:42:11 +00:00
rgarnau
b99351f775 minor fixes 2022-03-31 07:42:11 +00:00
Francesco Apruzzese
c69522e1f3 [MIG] account_invoice_constraint_chronology: Migration to 11.0 2022-03-31 07:42:10 +00:00
Stéphane Bidoul (ACSONE)
324c4c1f6b [IMP] a_i_c_chronology: cosmetics, pylint 2022-03-31 07:42:10 +00:00
Stéphane Bidoul (ACSONE)
3e084bf970 [IMP] a_i_c_chronology: simplify if statements 2022-03-31 07:42:10 +00:00
Stéphane Bidoul (ACSONE)
cd9afa4b00 [IMP] a_i_c_chronology: improve/fox onchange 2022-03-31 07:42:10 +00:00
gilles
86047a5fc7 [FIX] cleanup 2022-03-31 07:42:10 +00:00
Stéphane Bidoul (ACSONE)
a405e6383f [IMP] a_i_c_chronology: better check for previously validated invoices 2022-03-31 07:42:10 +00:00
gilles
b836414472 [MIG] account_invoice_constraint_chronology 2022-03-31 07:42:10 +00:00
Pedro M. Baeza
b00418d340 [MIG] Rename manifest files 2022-03-31 07:42:10 +00:00
Stéphane Bidoul (ACSONE)
cf15b3b159 [FIX] remove en.po that was erroneously created by transbot 2022-03-31 07:42:10 +00:00
Pedro M. Baeza
504d295f5a [MIG] Make modules uninstallable 2022-03-31 07:42:10 +00:00
Stéphane Bidoul
419064c916 [UPD] prefix versions with 8.0 2022-03-31 07:42:10 +00:00
Alexandre Fayolle
c657003513 remove deprecated test suite declarations
these cause Warnings during the tests
2022-03-31 07:42:10 +00:00
Yannick Vaucher
c9397dc49f Add missing default oca icons 2022-03-31 07:42:10 +00:00
Stéphane Bidoul
4c3cb5b906 [FIX] common.DB does not exist anymore in stable 8.0
It was not used in these tests anyway.
2022-03-31 07:42:10 +00:00
Alexandre Fayolle
46fa9dbd91 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-03-31 07:42:10 +00:00
Yannick Vaucher
51b705c72b Add license key in __openerp__.py 2022-03-31 07:42:10 +00:00
Adrien Peiffer
ae02197196 [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-03-31 07:42:10 +00:00
Stéphane Bidoul
68c38c0112 [IMP] account_inv/account_invoice_constraint_chronology doc spelling 2022-03-31 07:42:10 +00:00
Adrien Peiffer
6e0bd495ab [IMP] Use new API on account_invoice_constraint_chronology for account.py 2022-03-31 07:42:10 +00:00
Adrien Peiffer
6fed704959 [ADD] Add account_invoice_constraint_chronology 2022-03-31 07:42:10 +00:00