[FIX] poject,sale_timesheet: group by modified, hover lighten

In this commit, the hover color of the elements in the right panel
has been revised. Furthermore, we now group by task by default when
using the billable time stat button

task-2638359

closes #76167

closes odoo/odoo#76263

X-original-commit: a641d8e4820c4196d41e5f5b661ddef22f940477
Related: odoo/enterprise#20747
Signed-off-by: LTU-Odoo <IT-Ideas@users.noreply.github.com>
Signed-off-by: Xavier <xavierbol@users.noreply.github.com>
This commit is contained in:
Cedric Prieels (cpr)
2021-09-10 13:41:52 +00:00
committed by Xavier BOL (xbo)
parent 58195290cc
commit 0976a92076
2 changed files with 2 additions and 2 deletions
@@ -72,7 +72,7 @@ html .o_web_client > .o_action_manager > .o_action > .o_content > .o_controller_
font-size: small;
.o_rightpanel_data_row {
&:hover {
background-color: $gray-200;
background-color: $gray-100;
border-radius: 5px;
}
}
+1 -1
View File
@@ -264,7 +264,7 @@ class Project(models.Model):
action = self.env["ir.actions.actions"]._for_xml_id("hr_timesheet.timesheet_action_all")
action.update({
'context': {
'search_default_groupby_timesheet_invoice_type': True,
'search_default_groupby_task': True,
'default_project_id': self.id,
},
'domain': [('project_id', '=', self.id)],