Files
gzth/yuthon_holiday/wizard/yuthon_fixes_wizard_views.xml
T
2025-01-03 20:05:52 +08:00

31 lines
1.1 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_yuthon_fixes_wizard_form" model="ir.ui.view">
<field name="name">yuthon.fixes.wizard.form</field>
<field name="model">yuthon.fixes.wizard</field>
<field name="arch" type="xml">
<form string="修正">
<sheet>
<group>
<field name="now_type" invisible="1"/>
<field name="now_days" invisible="now_type != 'days'"/>
<field name="now_hours" invisible="now_type != 'hours'"/>
<field name="users_id" invisible="1"/>
<field name="original_days" invisible="1"/>
<field name="original_hours" invisible="1"/>
<field name="remarks" required="1"/>
</group>
</sheet>
<footer>
<button name="confirm" string="确认" type="object" class="oe_highlight"/>
<button string="返回" class="btn-secondary" special="cancel"/>
</footer>
</form>
</field>
</record>
</odoo>