-
-
Notifications
You must be signed in to change notification settings - Fork 347
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
[16.0][mig] hr_timesheet_task_domain #586
Conversation
Currently translated at 100.0% (1 of 1 strings) Translation: timesheet-12.0/timesheet-12.0-hr_timesheet_task_domain Translate-URL: https://translation.odoo-community.org/projects/timesheet-12-0/timesheet-12-0-hr_timesheet_task_domain/de/
It's `project.task.type`, not `project.stage`.
Currently translated at 75.0% (3 of 4 strings) Translation: timesheet-14.0/timesheet-14.0-hr_timesheet_task_domain Translate-URL: https://translation.odoo-community.org/projects/timesheet-14-0/timesheet-14-0-hr_timesheet_task_domain/fr/
Currently translated at 100.0% (4 of 4 strings) Translation: timesheet-15.0/timesheet-15.0-hr_timesheet_task_domain Translate-URL: https://translation.odoo-community.org/projects/timesheet-15-0/timesheet-15-0-hr_timesheet_task_domain/fr/
Currently translated at 100.0% (1 of 1 strings) Translation: timesheet-15.0/timesheet-15.0-hr_timesheet_task_domain Translate-URL: https://translation.odoo-community.org/projects/timesheet-15-0/timesheet-15-0-hr_timesheet_task_domain/it/
/ocabot migration hr_timesheet_task_domain |
You should review the migrations guidelines and Squash administrative commits with the previous commit for reducing commit noise for example : Translated using Weblate or README.rst |
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.
TT43228
from odoo.tests import common | ||
|
||
|
||
class TestHrTimesheetTaskDomain(common.TransactionCase): |
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.
class TestHrTimesheetTaskDomain(common.TransactionCase): | |
class TestHrTimesheetTaskDomain(TransactionCase): |
# Copyright 2019 Brainbean Apps (https://brainbeanapps.com) | ||
# License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl.html). | ||
|
||
from odoo.tests import common |
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.
from odoo.tests import common | |
from odoo.tests import TransactionCase |
ping @heliaktiv |
Hi, |
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.
Thx for this work.
Tested on runboat.
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.
code review, LGTM
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.
You should change domains to something not returned in onchange, as that's deprecated. @Yadier-Tecnativa take care of this migration.
@@ -19,7 +19,6 @@ def _onchange_project_id(self): | |||
if self.project_id: # Show only opened tasks | |||
task_domain = [ | |||
("project_id", "=", self.project_id.id), | |||
("stage_id.is_closed", "=", False), |
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.
Why removing this?
Supersede by #593 |
No description provided.