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][IMP] account_reconcile_oca: Add validation for applicability of analytic plans #764

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

BernatObrador
Copy link
Contributor

@BernatObrador BernatObrador commented Dec 16, 2024

This PR adds validation for the applicability of analytic plans, ensuring that mandatory plans or accounts requiring analytic imputations are properly validated.

The validate_analytic context is used in the analytic mixin to validate the applicability of analytic plans when generating analytic lines.

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 pedrobaeza added this to the 17.0 milestone Dec 16, 2024
@pedrobaeza
Copy link
Member

Please add more context, as the code is not easy to be interpreted

@BernatObrador
Copy link
Contributor Author

Hi, @pedrobaeza! I was writing it, sorry! Now you can review it with the context of the improvement!

@pedrobaeza
Copy link
Member

Next time please do that in one shot, and that context should be also in the expanded message commit, not only in the PR. Please add it.

@pedrobaeza
Copy link
Member

Apart from that, as you are doing another bugfix, that should be in a separate commit with its explanation.

@BernatObrador
Copy link
Contributor Author

@pedrobaeza Thanks for your time! Will do the changes now!

…ytic plans

    adds validation for the applicability of analytic plans, ensuring that mandatory plans or accounts requiring analytic imputations are properly validated.

    The validate_analytic context is used in the analytic mixin to validate the applicability of analytic plans when generating analytic lines.
@BernatObrador BernatObrador force-pushed the 17.0-imp-account_reconcile_oca branch from cfc3e51 to dcd69cc Compare December 16, 2024 10:40
@pedrobaeza
Copy link
Member

You can add here the other bugfix, but in a separate commit.

@BernatObrador
Copy link
Contributor Author

BernatObrador commented Dec 16, 2024

@pedrobaeza I've done that in another PR! Here i'ts: #765

@pedrobaeza
Copy link
Member

Well, 2 different commits don't mean 2 different PRs, but don't worry, you can leave it this way now. Just take it into account for the next time if you want to save one PR, but it's not bad at all, as each one can be handled on their own times.

@BernatObrador
Copy link
Contributor Author

@pedrobaeza, I’ll take it from here! Really appreciate your time and help!

@pedrobaeza
Copy link
Member

/ocabot merge patch

Please backport it to 16

@OCA-git-bot
Copy link
Contributor

This PR looks fantastic, let's merge it!
Prepared branch 17.0-ocabot-merge-pr-764-by-pedrobaeza-bump-patch, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit 3b70147 into OCA:17.0 Dec 17, 2024
7 checks passed
@OCA-git-bot
Copy link
Contributor

Congratulations, your PR was merged at c508867. 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.

3 participants