-
-
Notifications
You must be signed in to change notification settings - Fork 762
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] project_timesheet_time_control #266
[10.0][MIG] project_timesheet_time_control #266
Conversation
This PR depends on #265 |
Please rebase now that I have merged the dependency |
847a5c6
to
75c725c
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.
When I don't have any analytic account selected, I only see tasks that don't have a project assigned. The idea is to see all the tasks in this case. Please look for the domain returned on the account_id onchange
@@ -1,18 +1,22 @@ | |||
<?xml version="1.0" encoding="utf-8"?> | |||
<odoo> | |||
|
|||
<record id="account_analytic_line_tree" model="ir.ui.view"> | |||
<record id="hr_timesheet_line_tree_inherited" model="ir.ui.view"> |
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.
Don't rename the view. Put the same name as the original one.
48f8dcf
to
3e2ef40
Compare
3e2ef40
to
cf4b193
Compare
* Decorate methods correctly + README imp * Add tests * Add button on tasks * Better README * open/close behaviour
All the lines are initialized with default value, so we need to remove the condition for this to work. For allowing the possibility to rerun the hook, a new condition has been added.
cf4b193
to
74e48f0
Compare
Merging for continuing with the last dependent module. @luismontalba you can go on with project_issue_timesheet_time_control |
Project Timesheet Time Control
time, in minutes, from start date to the current moment.
flow.
date
field in tree view, and writedate field with datetime field value.
The selected closed stage is the first one that is found with the mark
"Closed" checked.
Usage
You can access via timesheets:
select any task, opened or not.
to select opened tasks for that project. Remember that an opened task is
a task whose stage doesn't have "Closed" mark checked.
current time, writing this in the field "Duration".
duration.
or via tasks:
as you do in the above explanation (except the task selection part, which
in this case doesn't appear as it's the current one).
cc @Tecnativa