-
-
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
[16.0][MIG] project_timesheet_time_control: Migration to version 16.0 #1148
[16.0][MIG] project_timesheet_time_control: Migration to version 16.0 #1148
Conversation
b7d4495
to
5eae638
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.
the code LGTM
getting error on runbot
|
/ocabot migration project_timesheet_time_control @stefan-tecnativa please remove the code that is doing reference to the removed dependencies, like the one with the action |
5eae638
to
b9010d2
Compare
I closed it by mistake 😅 |
b9010d2
to
d0b5283
Compare
Not getting the error anymore. |
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 and functional review 👍
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.
Hi @stefan-tecnativa.
Thx for this work !
Tested on ruboat.
LGTM
project_timesheet_time_control/wizards/hr_timesheet_switch_view.xml
Outdated
Show resolved
Hide resolved
d0b5283
to
3f9662a
Compare
@pedrobaeza Is this already correct? |
* Decorate methods correctly + README imp * Add tests * Add button on tasks * Better README * open/close behaviour
Update README Adapt tests Redefine the new kanban and form view of account.analytic.line to add 'Close/Open task' button and 'Stop' button
We need to override standard onchange, as it resets the previously introduced task.
Currently translated at 100.0% (67 of 67 strings) Translation: project-14.0/project-14.0-project_timesheet_time_control Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_timesheet_time_control/es_AR/
Currently translated at 88.0% (59 of 67 strings) Translation: project-14.0/project-14.0-project_timesheet_time_control Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_timesheet_time_control/nl/
Currently translated at 95.5% (64 of 67 strings) Translation: project-14.0/project-14.0-project_timesheet_time_control Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_timesheet_time_control/fr/
Currently translated at 14.9% (10 of 67 strings) Translation: project-14.0/project-14.0-project_timesheet_time_control Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_timesheet_time_control/it/
Currently translated at 100.0% (76 of 76 strings) Translation: project-14.0/project-14.0-project_timesheet_time_control Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_timesheet_time_control/es_AR/
Currently translated at 96.0% (73 of 76 strings) Translation: project-14.0/project-14.0-project_timesheet_time_control Translate-URL: https://translation.odoo-community.org/projects/project-14-0/project-14-0-project_timesheet_time_control/fi/
Some modules that add new fields dynamically, as analytic_tag_dimension, will cause an error when trying to read the fields to get them from cache. With this change we avoid that read and we make a copy of the analytic line if the wizard is opened from its and we create a new analytic line if don't.
Since v14, `string` attribute of <button> elements are directly shown in the views as text instead of being a tooltip, and thus, it takes a lot of space in screen. And it was not the intended visualization when the modules was conceived, just a side effect. Thus, we restore what we expect, moving `string` to `title` for having the tooltips again. TT40169
Currently translated at 100.0% (49 of 49 strings) Translation: project-15.0/project-15.0-project_timesheet_time_control Translate-URL: https://translation.odoo-community.org/projects/project-15-0/project-15-0-project_timesheet_time_control/es_AR/
Currently translated at 100.0% (49 of 49 strings) Translation: project-15.0/project-15.0-project_timesheet_time_control Translate-URL: https://translation.odoo-community.org/projects/project-15-0/project-15-0-project_timesheet_time_control/es/
Error: AttributeError: type object 'expression' has no attribute AND
That way, we don't have an error coming from the previous version
Currently translated at 100.0% (49 of 49 strings) Translation: project-15.0/project-15.0-project_timesheet_time_control Translate-URL: https://translation.odoo-community.org/projects/project-15-0/project-15-0-project_timesheet_time_control/it/
…oup to company_id field from wizard
Currently translated at 100.0% (49 of 49 strings) Translation: project-15.0/project-15.0-project_timesheet_time_control Translate-URL: https://translation.odoo-community.org/projects/project-15-0/project-15-0-project_timesheet_time_control/it/
Co-Authored-By: Stefan Ungureanu <stefan.ungureanu@tecnativa.com> Co-Authored-By: Pedro M. Baeza <pedro.baeza@tecnativa.com>
3f9662a
to
d11d992
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.
/ocabot merge nobump
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at 75ea46e. Thanks a lot for contributing to OCA. ❤️ |
cc @Tecnativa TT43239
@Yadier-Tecnativa @CarlosRoca13 please review!
this PR superseeds #1133