diff options
| author | Antoine Huvelle <ahu@odoo.com> | 2017-07-14 15:03:31 +0200 |
|---|---|---|
| committer | Martin Trigaux <mart-e@users.noreply.github.com> | 2017-07-14 15:03:31 +0200 |
| commit | 0df22ebb60353ed0a7c0dd00a37f887e6820b360 (patch) | |
| tree | f065e07be92052e3381d634f7e526c4ad056bf74 | |
| parent | 6d1314367c77ea5c7ba989ffd3c847e793425a0b (diff) | |
[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
| -rw-r--r-- | addons/maintenance/views/maintenance_views.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/maintenance/views/maintenance_views.xml b/addons/maintenance/views/maintenance_views.xml index 1c1c8c3cdbe..aec69d80479 100644 --- a/addons/maintenance/views/maintenance_views.xml +++ b/addons/maintenance/views/maintenance_views.xml @@ -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> |
