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
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
Lopsanz
d15eb71f37
[FIX] Considering in-payment state and more info in alerts
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
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
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