diff options
| author | Kevin Baptiste <kba@odoo.com> | 2020-05-19 10:25:11 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2020-06-29 11:53:57 +0000 |
| commit | c8d496382f4211a26e7f0bcec81ad8329da4a234 (patch) | |
| tree | d7c50538ca77d18fa9670b454cef08cdbb67f082 /addons/resource | |
| parent | 1424a3839a6c304599bdeefcd74f29279ae75420 (diff) | |
[IMP] resource: hide start/end date on resource attendance
This commit sets the fields date_from and date_to as optional hidden on
the resource.calendar.attendace.
closes odoo/odoo#51527
Taskid: 2241686
Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
Diffstat (limited to 'addons/resource')
| -rw-r--r-- | addons/resource/views/resource_views.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/resource/views/resource_views.xml b/addons/resource/views/resource_views.xml index b6712584bfc..d05306f1222 100644 --- a/addons/resource/views/resource_views.xml +++ b/addons/resource/views/resource_views.xml @@ -202,8 +202,8 @@ <field name="day_period"/> <field name="hour_from" widget="float_time"/> <field name="hour_to" widget="float_time"/> - <field name="date_from"/> - <field name="date_to"/> + <field name="date_from" optional="hide"/> + <field name="date_to" optional="hide"/> <field name="week_type" readonly="1" force_save="1" groups="base.group_no_one"/> </tree> </field> |
