-
-
Notifications
You must be signed in to change notification settings - Fork 132
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
[15.0][IMP] payroll_account: allow other modules to influence the values of the journal items #146
Conversation
Hi @nimarosa, @appstogrow, |
6add6fd
to
390e2cb
Compare
pre-commit will pass when #147 is merged |
390e2cb
to
58d0511
Compare
Make action_payslip_done by adding prepare methods. This allows third modules to introduce changes in the journal items. Introducing changes may be necessary in case the third module adds a mandatory field that is not filled in.
58d0511
to
00bec4a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes looks good. Functionality tested in runboat and seems okay.
@AaronHForgeFlow Can you port this PR when merged to v16.0 too? That way we maintain this improvement in future versions.
/ocabot merge minor |
On my way to merge this fine PR! |
Congratulations, your PR was merged at 1906e5d. Thanks a lot for contributing to OCA. ❤️ |
Simplify action_payslip_done by adding prepare methods. This allows third modules to introduce changes in the journal items. Introducing changes may be necessary in case the third module adds a mandatory field that is not filled in, for example, the account_operating_unit module adds the operating unit as mandatory in the journal item.
cc @ForgeFlow