Skip to content

[19.0][MIG] account_cutoff_base: add tests and tanke care review - #7

Closed
petrus-v wants to merge 294 commits into
akretion:19-mig-account_cutoff_basefrom
petrus-v:19.0-account_cutoff_base-add-tests
Closed

[19.0][MIG] account_cutoff_base: add tests and tanke care review#7
petrus-v wants to merge 294 commits into
akretion:19-mig-account_cutoff_basefrom
petrus-v:19.0-account_cutoff_base-add-tests

Conversation

@petrus-v

Copy link
Copy Markdown

@alexis-via this is on top of your PR#357 there are 3 distinct commits: add more tests and the second take care of review comments on the former PR.

sanrav and others added 30 commits December 22, 2025 13:43
Currently translated at 100.0% (13 of 13 strings)

Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/fr/
Currently translated at 100.0% (13 of 13 strings)

Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/fr_FR/
Currently translated at 100.0% (13 of 13 strings)

Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/it/
Currently translated at 100.0% (13 of 13 strings)

Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/it/
Currently translated at 100.0% (13 of 13 strings)

Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/fr/
Remove deprecated POT files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/
Currently translated at 100.0% (13 of 13 strings)

Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/es/
Currently translated at 92.3% (12 of 13 strings)

Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/hr/
Currently translated at 100.0% (13 of 13 strings)

Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/fr/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-closing-16.0/account-closing-16.0-account_invoice_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_invoice_start_end_dates/
Co-authored-by: Alexis de Lattre <alexis@via.ecp.fr>
Currently translated at 100.0% (13 of 13 strings)

Translation: account-closing-17.0/account-closing-17.0-account_invoice_start_end_dates
Translate-URL: https://translation.odoo-community.org/projects/account-closing-17-0/account-closing-17-0-account_invoice_start_end_dates/it/
…move lines

The 2 new fields are hidden by default
…o inherit _post()

Move code that was inheriting _post() to constraint. It simplifies the code and improves performances.
Stop using demo data in tests.
Add tests to check all constrains.
jakobkrabbe and others added 27 commits July 15, 2026 16:42
Currently translated at 100.0% (133 of 133 strings)

Translation: account-closing-17.0/account-closing-17.0-account_cutoff_base
Translate-URL: https://translation.odoo-community.org/projects/account-closing-17-0/account-closing-17-0-account_cutoff_base/sv/
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-closing-17.0/account-closing-17.0-account_cutoff_base
Translate-URL: https://translation.odoo-community.org/projects/account-closing-17-0/account-closing-17-0-account_cutoff_base/
Currently translated at 100.0% (132 of 132 strings)

Translation: account-closing-17.0/account-closing-17.0-account_cutoff_base
Translate-URL: https://translation.odoo-community.org/projects/account-closing-17-0/account-closing-17-0-account_cutoff_base/it/
Add record rules for cutoff lines and cutoff tax lines
On account.cutoff, the domain for the cutoff journal has
type='general', like on the default value the accounting config page
Fix license in manifest which was set to LGPL by mistake in the
migration commit from v16 to v17
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: account-closing-18.0/account-closing-18.0-account_cutoff_base
Translate-URL: https://translation.odoo-community.org/projects/account-closing-18-0/account-closing-18-0-account_cutoff_base/
Currently translated at 100.0% (132 of 132 strings)

Translation: account-closing-18.0/account-closing-18.0-account_cutoff_base
Translate-URL: https://translation.odoo-community.org/projects/account-closing-18-0/account-closing-18-0-account_cutoff_base/it/
Currently translated at 100.0% (132 of 132 strings)

Translation: account-closing-18.0/account-closing-18.0-account_cutoff_base
Translate-URL: https://translation.odoo-community.org/projects/account-closing-18-0/account-closing-18-0-account_cutoff_base/fr/
Currently translated at 100.0% (132 of 132 strings)

Translation: account-closing-18.0/account-closing-18.0-account_cutoff_base
Translate-URL: https://translation.odoo-community.org/projects/account-closing-18-0/account-closing-18-0-account_cutoff_base/es_AR/
in order to reduce the record set to loop on
Allow to automatically reverse generated moves
Allow to configure different account for refunds (credit notes)
@petrus-v
petrus-v force-pushed the 19.0-account_cutoff_base-add-tests branch from 4ca12b8 to a4b0324 Compare July 15, 2026 14:48
@petrus-v

petrus-v commented Jul 16, 2026

Copy link
Copy Markdown
Author

I've rebase and port v16 PRs and create the PR against OCA organisation OCA#381

@petrus-v petrus-v closed this Jul 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:account_cutoff_base Module account_cutoff_base

Projects

None yet

Development

Successfully merging this pull request may close these issues.