[FIX] maintenance: show real time taken for a maintenance

Previously, the calendar view only shown a 1h item whatever the duration of the
maintenance, which was wrong every time the maintenance took more or less than
exactly one hour.
Adding this parameter allows showing a calendar view reflecting the real time
taken by the maintenance operation.

Closes #18072
This commit is contained in:
Antoine Huvelle
2017-07-14 15:03:31 +02:00
committed by Martin Trigaux
parent 6d1314367c
commit 0df22ebb60
@@ -198,7 +198,7 @@
<field name="name">equipment.request.calendar</field>
<field name="model">maintenance.request</field>
<field name="arch" type="xml">
<calendar date_start="schedule_date" color="technician_user_id">
<calendar date_start="schedule_date" color="technician_user_id" date_delay="duration">
<field name="name"/>
<field name="technician_user_id"/>
</calendar>