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 sales team operating unit #47
10.0 mig sales team operating unit #47
Conversation
depends on #45 |
* [ADD] sales_team_operating_unit
c7e6ecb
to
5225dc1
Compare
# License LGPL-3.0 or later (https://www.gnu.org/licenses/lgpl.html). | ||
from odoo import api, fields, models, _ | ||
from odoo.exceptions import UserError | ||
|
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.
@lreficent unused, it is blocking flake8 can you please remove it?
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.
yes, sure
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.
It wasn't in that file. But yes, it should be ok now.
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.
@lreficent Sorry my mistake it has to removed from test cases but instead we removed from crm_team.py
So you need to add the import again to py file and remove it from test cases.
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.
solved.
4019654
to
bd59b8d
Compare
This seems fine. Can you review? @jbeficent @aheficent @mreficent |
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.
👍
74e2b43
to
f19385e
Compare
Sales Team Operating Unit
This module introduces the following features:
Adds the Operating Unit (OU) to the Sales Team.
The user's default Operating Unit (OU) is proposed at the time of creating
the Sales Team.
Security rules are defined to ensure that users can only see the Sales Team
of that Operating Units in which they are allowed access to.