-
-
Notifications
You must be signed in to change notification settings - Fork 241
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
[10.0] [ADD] hr_expense_operating_unit #84
[10.0] [ADD] hr_expense_operating_unit #84
Conversation
@aheficent Could you please review. |
@nikul-serpentcs Will you include here the commit history of https://github.com/OCA/operating-unit/pull/30/commits ? |
sure @aheficent |
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.
Please include the commit history here #30
self.hr_expense2 = self._create_hr_expense( | ||
self.b2c, self.emp) | ||
|
||
self._post_journal_entries(self.hr_expense1) |
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.
This is ok. However, I miss a test that check the operating units for the journal items created.
Thank you @nikul-serpentcs I'll approve this when the commit history is fixed |
@aheficent but still open branch here #30 |
3dba960
to
af691d0
Compare
@aheficent I somehow managed to preserve the commits 😄 becoming GIT Guru 🙏 |
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.
👍 Thank you for attending the comments
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
af691d0
to
c82945f
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.
Functional and Code Review LGTM 👍
Don't panic, travis stopped but it is not red :) I restarted the job |
HR Expense with Operating Units
This module introduces the following features:
Adds the Operating Unit (OU) to the Expense.
Security rules are defined to ensure that users can only see the Expense of that Operating Units in which they are allowed access to.
Adds Operating Unit (OU) to the account moves while generating accounting entries from the expense.