[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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user