-
-
Notifications
You must be signed in to change notification settings - Fork 529
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][FIX] base_tier_validation:Tier definition #917
base: 15.0
Are you sure you want to change the base?
[15.0][FIX] base_tier_validation:Tier definition #917
Conversation
Hi @LoisRForgeFlow, |
6a33ab7
to
e2e81ed
Compare
[UPD] tier_definition [UPD] tier_definition [UPD] tier_definition
e2e81ed
to
05c0afd
Compare
Hi @LoisRForgeFlow, Can you review this. This is the first OCA that I've attempted to modify. Hopefully, it will be beneficial to everyone. ( = w=) |
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: code review
This PR has the |
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.
Can you fix your commit message to follow the guidelines:
[TAG] module_name: short description of change
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.
The fix is also not correct, look at this example in runbot:
The check company is based in the company_id field that for users is not like in many other models, in users is just the default company, the companies that can be acceses are multiple in a user (company_ids). Thefore if you add the check_company you cannot create a tier definition in company B for a user with access in both A and B company.
Fix: Modify list of specific users to show only those who belong to that particular company