-
-
Notifications
You must be signed in to change notification settings - Fork 799
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][ADD] project_task_required_project: project task required project. #1417
[15.0][ADD] project_task_required_project: project task required project. #1417
Conversation
4a12f9b
to
450b93f
Compare
@HaraldPanten @luis-ron Can you review this PR? |
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.
Some 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.
some comments
|
||
@api.constrains("project_id") | ||
def _check_project_id_not_null(self): | ||
if self.env.company.is_project_required and any( |
This comment was marked as resolved.
This comment was marked as resolved.
Sorry, something went wrong.
@manuelregidor can you review it? |
b34d31d
to
c7c1e4c
Compare
project_task_required_project/tests/test_project_task_required_project.py
Outdated
Show resolved
Hide resolved
c7c1e4c
to
182c52f
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.
Technical review. LGTM
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 👍🏻
182c52f
to
e439ee1
Compare
@leemannd Is this PR ready now? THX for reviewing! |
/ocabot merge nobump |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 650dc87. Thanks a lot for contributing to OCA. ❤️ |
This module obliges you to select a project when creating or editing a project task.
[T-7322]