[IMP] hr_timesheet: make timesheet_encode_uom_id required in config

The related field `timesheet_encode_uom_id` is required
on the company, but not on the settings.
This commit makes it requried through the view to
avoid a confusing SQL error message for the end user.

Closes #27645
This commit is contained in:
Swapnesh Shah
2018-10-30 11:02:25 +00:00
committed by jem-odoo
parent 2768da5ce4
commit cf866c3247
@@ -35,7 +35,7 @@
</div>
<div class="content-group">
<div class="mt16">
<field name="timesheet_encode_uom_id" options="{'no_create': True}"/>
<field name="timesheet_encode_uom_id" options="{'no_create': True}" required="1"/>
</div>
</div>
</div>