Rodrigo
cc131fe081
[FIX] account_invoice_constraint_chronology:
...
inv5 YYYYMM20 posted
INV4 YYYYMM15 posted
INV3 YYYYMM10 posted
INV2 YYYYMM05 posted
INV1 YYYYMM01 posted
if we pass INV3 to draft and change the date to YYYYYMM15 or YYYYYMM05 it should be able to validate, but if we change the date higher than YYYYYMM15 or lower than YYYYYMM05 it should not be able to validate.
2023-06-15 14:53:57 +02:00
Zina Rasoamanana
1104585cef
[MIG] account_invoice_constraint_chronology: Migration to 16.0
2022-10-06 17:05:07 +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
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
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
Thomas Binsfeld
434a81e13d
[REF] Account Invoice Constraint Chronology: improve code coverage
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
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
gilles
383441d230
[FIX] cleanup
2022-10-06 16:58:24 +02:00
gilles
cda5bc8b9c
[MIG] account_invoice_constraint_chronology
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
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
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
Adrien Peiffer
c52963bf27
[ADD] Add account_invoice_constraint_chronology
2022-10-06 16:58:24 +02:00