This commit is contained in:
李鹏宇
2026-07-07 16:18:39 +08:00
parent c3d5d38509
commit 005bbef16a
@@ -19,13 +19,7 @@
<!-- <button name="put_hr_employee" type="object" string="Approve" class="oe_highlight"/>-->
<!-- </header>-->
<sheet>
<widget name="web_ribbon" title="工作日加班" bg_color="text-bg-success"
invisible="type_overtime != 'work'"/>
<widget name="web_ribbon" title="公休日加班" bg_color="text-bg-warning"
invisible="type_overtime != 'weekend'"/>
<widget name="web_ribbon" title="法定日加班" bg_color="text-bg-danger"
invisible="type_overtime != 'holiday'"/>
<group col="4">
<group col="4">
<group>
<field name="code" string="流水号" readonly="1"/>
</group>
@@ -87,10 +81,10 @@
style="max-width: 5rem !important;"/>
</div>
</group>
<field name="type_overtime" invisible="1"/>
</group>
<group col="2">
<group>
<field name="type_overtime" string="加班类型" readonly="1"/>
<field name="rest_start_time"/>
<field name="rest_end_time"/>
</group>