[FIX] hr_timesheet: fix timesheet description required in mobile
Currently, when user enter the timsheet in editable tree from the task form view the description is not required and if keep empty then it will add the '/' as default description but in the mobile form view of the timesheet description is still required. so in this commit, make description non required in timesheet form view of mobile. task-2740041 closes odoo/odoo#85460 X-original-commit: 1c82a66cf975203b6a44f23c6a866c1d7b4637ed Signed-off-by: Laurent Stukkens (ltu) <ltu@odoo.com>
This commit is contained in:
committed by
Barad Mahendra
parent
2adba30ef2
commit
d4e327fa80
@@ -195,7 +195,7 @@
|
||||
<field name="date"/>
|
||||
<field name="user_id" invisible="1"/>
|
||||
<field name="employee_id" required="1" widget="many2one_avatar_employee"/>
|
||||
<field name="name"/>
|
||||
<field name="name" required="0"/>
|
||||
<field name="unit_amount" string="Duration" widget="float_time" decoration-danger="unit_amount > 24"/>
|
||||
<field name="project_id" invisible="1"/>
|
||||
<field name="task_id" invisible="1"/>
|
||||
|
||||
Reference in New Issue
Block a user