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
2022-01-19 09:20:39 +00:00
2022-02-17 08:48:28 +00:00
2022-02-17 08:48:28 +00:00
2021-10-17 16:32:50 +02:00
2022-03-30 21:38:26 +02:00
2021-10-17 16:32:50 +02:00
2021-10-17 16:32:50 +02:00
2021-10-17 16:32:50 +02:00
2021-10-17 16:32:50 +02:00
2021-10-17 16:32:50 +02:00
2021-10-17 16:32:50 +02:00
2021-10-17 16:32:50 +02:00
2022-03-30 21:38:26 +02:00

Runboat Pre-commit Status Build Status codecov Translation Status

account-financial-tools

TODO: add repo description.

Available addons

addon version maintainers summary
account_move_line_purchase_info 15.0.1.0.1 Introduces the purchase order line to the journal items
account_move_line_sale_info 15.0.1.0.1 Introduces the purchase order line to the journal items
base_vat_optional_vies 15.0.1.0.0 Optional validation of VAT via VIES
product_category_tax 15.0.1.0.0 Configure taxes in the product category

Licenses

This repository is licensed under AGPL-3.0.

However, each module can have a totally different license, as long as they adhere to Odoo Community Association (OCA) policy. Consult each module's __manifest__.py file, which contains a license key that explains its license.


OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

Description
Odoo Accountant Financial Tools and Utils
Readme 117 MiB
Languages
Python 61.9%
HTML 38.1%