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][FIX] account_reconcile_oca: Fixed analytic distribution update #765

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

BernatObrador
Copy link
Contributor

This PR fixes a bug that occurred when both account_reconcile_oca and account_reconcile_model_oca modules were installed. The issue arose when assigning an analytic account and making no further changes, causing the analytic account to not be set correctly. As a result, the reconciliation process failed to create the analytic entries properly. This line: ensures that if the analytic distribution has changed, it will be correctly updated.

cc https://github.com/APSL 164854

@miquelalzanillas @lbarry-apsl @mpascuall @peluko00 @javierobcn @ppyczko please review

@OCA-git-bot
Copy link
Contributor

Hi @etobella,
some modules you are maintaining are being modified, check this out!

@pedrobaeza
Copy link
Member

Missing module name in the commit message.

This fixes a bug that occurred when both account_reconcile_oca and account_reconcile_model_oca modules were installed. The issue arose when assigning an analytic account and making no further changes, causing the analytic account to not be set correctly. As a result, the reconciliation process failed to create the analytic entries properly. This line: ensures that if the analytic distribution has changed, it will be correctly updated.
@BernatObrador BernatObrador force-pushed the 17.0-fix-account_reconcile_oca branch from 6e75b55 to 7bb5bda Compare December 16, 2024 10:51
@BernatObrador BernatObrador changed the title [17.0][FIX] Fixed analytic distribution update [FIX] account_reconcile_oca: Fixed analytic distribution update Dec 16, 2024
@BernatObrador
Copy link
Contributor Author

@pedrobaeza Done!

@BernatObrador BernatObrador changed the title [FIX] account_reconcile_oca: Fixed analytic distribution update [17.0][FIX] account_reconcile_oca: Fixed analytic distribution update Dec 16, 2024
Copy link

@mpascuall mpascuall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pedrobaeza
Copy link
Member

/ocabot merge patch

Is this applicable to 16.0?

@OCA-git-bot
Copy link
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 17.0-ocabot-merge-pr-765-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot
Copy link
Contributor

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

@OCA-git-bot OCA-git-bot merged commit 5e11613 into OCA:17.0 Dec 17, 2024
7 checks passed
@BernatObrador
Copy link
Contributor Author

@pedrobaeza I guess it should!

@pedrobaeza
Copy link
Member

Can you please do the corresponding PR?

@BernatObrador
Copy link
Contributor Author

Here is the pr: #769 @pedrobaeza

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.

4 participants