-
-
Notifications
You must be signed in to change notification settings - Fork 238
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][MIG][IMP] mis_builder_operating_unit #67
[10.0][MIG][IMP] mis_builder_operating_unit #67
Conversation
@aheficent I'll resolve the conflict as soon as #87 is merged. |
d2cf0da
to
a53bff4
Compare
rebased |
I added an operating filter on |
That is really cool! |
I restored and accidentally deleted view. |
self.report_instance_id.operating_unit_ids.ids)) | ||
if self.operating_unit_ids: | ||
aml_domain.append(('operating_unit_id', 'in', | ||
self.operating_unit_ids.ids)) |
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.
I think we need some sudo
here otherwise running reports that filter on operating units with users that don't have access to said operating units give funny results.
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.
Do you mean to override the _search method in the account_move_line? https://github.com/OCA/operating-unit/blob/10.0/account_operating_unit/models/account_move.py#L11
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.
@aheficent see 1d9c2c5
This allows displaying operating units side by sides.
(see comment in code)
1d9c2c5
to
f752c92
Compare
I rebased again. Can we consider merging this? |
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.
👍
forward port of #38 plus one fix for the record rule
cc/ @jbeficent