-
Notifications
You must be signed in to change notification settings - Fork 23k
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
[IMP] hr_timesheet: remove total section when timesheets are not grouped #164662
base: master
Are you sure you want to change the base?
Conversation
<tr t-else=""> | ||
<div style="text-align: right;" class="mr-2 mb-1 text-muted"> | ||
<t t-if="is_uom_day"> | ||
Total: <span t-esc="timesheets._convert_hours_to_days(hours_spent)" t-options='{"widget": "timesheet_uom"}'/> | ||
</t> | ||
<t t-else=""> | ||
Total: <span t-esc="hours_spent" t-options='{"widget": "float_time"}'/> | ||
</t> | ||
</div> | ||
</tr> |
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.
?
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 previous code I removed. Now, I have added a new code instead of removing the else part of code.
Please check it.
Thanks
4b22e83
to
0fad2cb
Compare
0fad2cb
to
b6d58d7
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.
Thank you!
b6d58d7
to
404b6c9
Compare
@kusi-odoo Please update the commit message, PR title, and description. |
404b6c9
to
e0c8832
Compare
In this commit, we remove the total label in the portal view, if the timesheets are not grouped. task-3908815
e0c8832
to
070a655
Compare
-In this PR, we remove the total label in the portal view, if the
timesheets are not grouped.
task-3908815