Skip to content
Extraits de code Groupes Projets
Valider ebfb3141 rédigé par jordan's avatar jordan
Parcourir les fichiers

[update] default group by date:day in hr_timesheet for tree view

parent 2d511002
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -31,6 +31,9 @@
<filter string="Contact" name="groupby_partner" domain="[]" context="{'group_by':'partner_id'}"/>
<filter string="Dispositif financier" name="groupby_financial_system" domain="[]" context="{'group_by':'ur_financial_system_id'}"/>
</xpath>
<xpath expr="//filter[@name='groupby_date']" position="attributes">
<attribute name="context">{'group_by':'date:day'}</attribute>
</xpath>
<xpath expr="//filter[@name='groupby_project']" position="attributes">
<attribute name="string">Code activité UR</attribute>
</xpath>
......@@ -189,7 +192,7 @@
<record id="hr_timesheet.act_hr_timesheet_line" model="ir.actions.act_window">
<field name="name">Mes lignes de temps</field>
<field name="view_mode">calendar,tree,form,pivot</field>
<field name="context">{'search_default_no_report': 1}</field>
<field name="context">{'search_default_no_report': 1, 'search_default_groupby_date': 1}</field>
<field name="view_ids" eval="[(5, 0, 0),
(0, 0, {'view_mode': 'tree', 'sequence': 5, 'view_id': ref('cgscop_timesheet.view_cgscop_hr_timesheet_line_tree')}),
(0, 0, {'view_mode': 'calendar', 'sequence': 10, 'view_id': ref('cgscop_timesheet.view_cgscop_hr_timesheet_line_calendar')}),
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter