Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[17.0][MIG] account_cutoff_accrual_subscription #290

Merged

Conversation

alexis-via
Copy link
Contributor

No description provided.

alexis-via and others added 30 commits February 26, 2024 15:47
Split code (add a _prepare method)
When a subscription has a provision amount of 0, don't create a line but write info in chatter (avoids to create an account move line with credit=debit=0)
Add option on Accounting config page to automatically post cutoff entry
Use format_date() and format_amount() in cut logs
The interval now starts on the first fiscal year start date before cutoff date
If the interval is pro-rated, the minimum amounts and provisionning
amounts are pro-rated too.
Add readonly ACL for group account.group_account_readonly
Due to the switch from an analytic account to an analytic distribution,
we no longer use the analytic as a filter on move lines ; we only use
the analytic distribution configured on the subscription in the cutoff journal entry.
Remove deprecated POT files
Currently translated at 100.0% (55 of 55 strings)

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

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

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

Translation: account-closing-16.0/account-closing-16.0-account_cutoff_accrual_subscription
Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_cutoff_accrual_subscription/
Ivorra78 and others added 4 commits February 26, 2024 15:47
Currently translated at 100.0% (55 of 55 strings)

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

Translation: account-closing-16.0/account-closing-16.0-account_cutoff_accrual_subscription
Translate-URL: https://translation.odoo-community.org/projects/account-closing-16-0/account-closing-16-0-account_cutoff_accrual_subscription/
@alexis-via alexis-via force-pushed the 17-mig-account_cutoff_accrual_subscription branch from 8cee0a1 to ce54b1f Compare February 26, 2024 14:49
Convert onchange to computed fields
Convert read_group() to _read_group()
@alexis-via alexis-via force-pushed the 17-mig-account_cutoff_accrual_subscription branch from ce54b1f to b587dc1 Compare February 26, 2024 14:49
@alexis-via
Copy link
Contributor Author

/ocabot merge nobump

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 17.0-ocabot-merge-pr-290-by-alexis-via-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 10c8e20 into OCA:17.0 Feb 26, 2024
5 of 7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at 3ee79fc. Thanks a lot for contributing to OCA. ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants