-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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][MIG] sales_team_security: Migration to 15.0 #2042
[15.0][MIG] sales_team_security: Migration to 15.0 #2042
Conversation
e6a0c74
to
26d0b26
Compare
@victoralmau please review |
Please check tests that are not correct. |
26d0b26
to
a62d371
Compare
f335e3e
to
8ea1f6a
Compare
This comment was marked as outdated.
This comment was marked as outdated.
02d94a5
to
5385a04
Compare
Please check latest commit message |
5385a04
to
e915c13
Compare
2e9bedf
to
9a10822
Compare
============================== Security rules for sales teams ============================== This module sets different permissions levels for accessing sales and CRM records based on the sales team: customers, sales orders, leads, opportunities, phone calls and sales teams. It also handles the propagation of the sales team from commercial partners to the contacts, which standard doesn't make. Installation ============ At installation time, this module sets int all the contacts that have the sales team empty the sales team of the parent. If you have a lot of contacts, this operation can take a while. Usage ===== On the user configuration (Configuration > Users > Users), select in the *Sales Team* section the option "See only own team". Then, the documents mentioned before will be filtered out to have only those belonging to the teams the user belongs to. This is complementary to the Sales level access, but sometimes can be incoherent depending on the combination chosen. If you chose "See Own Leads" on _Sales_ section, marking on unmarking the sales team check will be irrelevant, because the most restricting level, which the sales one, will prevail. Known issues/Roadmap ==================== * This module is designed for supporting only sales part, so someone that has access to other Odoo parts (for example, an accountant), shouldn't have this new permission, or some access errors will be found when seeing invoices and other documents. A _sales_team_security_account_ bridge module can be done for fixing this case, but not in the case of for example warehouse.
c9a5532
to
08439ad
Compare
08439ad
to
1fa797d
Compare
1fa797d
to
c0ac9cf
Compare
a0ed84c
to
1b4bde5
Compare
1b4bde5
to
b8eb147
Compare
b8eb147
to
2bfd449
Compare
@rousseldenis can you re-check? |
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
/ocabot merge nobump |
/ocabot migration sales_team_security |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 6651825. Thanks a lot for contributing to OCA. ❤️ |
@Tecnativa TT36547