Date to start date added timehseet
This commit is contained in:
parent
8703ed37f2
commit
0964d5378c
|
@ -186,12 +186,32 @@
|
|||
<xpath expr="//field[@name='date']" position="replace">
|
||||
<field name="start_datetime"/>
|
||||
</xpath>
|
||||
<xpath expr="//filter[@name='month']" position="replace">
|
||||
<filter name="month" string="Start Time" date="start_datetime"/>
|
||||
</xpath>
|
||||
<xpath expr="//filter[@name='groupby_date']" position="replace">
|
||||
<filter string="Start Time" name="groupby_startdate" domain="[]" context="{'group_by': 'start_datetime'}" help="Timesheet by Start Date"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<!--<record id="view_account_analytic_line_inherit1_filter" model="ir.ui.view">
|
||||
<field name="name">account.analytic.line.search2</field>
|
||||
<field name="model">account.analytic.line</field>
|
||||
<field name="inherit_id" ref="analytic.view_account_analytic_line_filter"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//field[@name='date']" position="replace">
|
||||
<field name="start_datetime"/>
|
||||
</xpath>
|
||||
<xpath expr="//filter[@name='date']" position="replace">
|
||||
<filter string="Start Time" name="start_datetime" date="date"/>
|
||||
</xpath>
|
||||
<xpath expr="//group[@name='groupby']//filter[@name='group_date']" position="replace">
|
||||
<filter string="Start Time" name="group_startdate" context="{'group_by': 'start_datetime'}"/>
|
||||
</xpath>
|
||||
</field>
|
||||
</record>-->
|
||||
|
||||
|
||||
<record id="view_hr_my_timesheet_line_calendar" model="ir.ui.view">
|
||||
<field name="name">account.analytic.line.calendar</field>
|
||||
|
|
Loading…
Reference in New Issue