-
-
Notifications
You must be signed in to change notification settings - Fork 785
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
[14.0][ADD] project_milestone_spent_hours #1333
base: 14.0
Are you sure you want to change the base?
Conversation
[IMP] Code quality [IMP] Code quality [IMP] Code quality [IMP] Code quality [CHG] Copyright text [CHG] Dependency [FIX] Unit test updating milestone with no project [FIX] Unit test updating milestone with no project [FIX] Unit test updating milestone with no project [CHG] Test on force compute [FIX] Unit test updating milestone with no project [FIX] Unit test updating milestone with no project [FIX] Active field on project.milestone [ADD] readme
@OCA/project-service-maintainers : Hello! Can you please revise this PR? Thank you in advance. |
) | ||
|
||
def write(self, vals): | ||
res = super(ProjectMilestone, self).write(vals) |
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.
use simply super()
important: after Odoo v15, project_milestone is removed from the OCA as it became a native feature. so not sure it's worth adding this module in v14. See #1268 |
Thank you for your comment but we think and know that a lot of people are using V14 so we think that it could be good to have those new features. |
Context
The module
project_milestone <https://github.com/OCA/project/tree/14.0/project_milestone>
_ allows to define milestones for a project.Multiple tasks in the project can be linked to a given milestone.
Field total hours is displayed in form and list view of a project milestone and in tab of milestones of a project
Description
Field Total Hours is the sum of timesheets of active tasks associated to the milestone