26 lines
1.2 KiB
26 lines
1.2 KiB
<odoo>
|
|
<record model="ir.ui.view" id="extension_coop_wizard_view_form">
|
|
<field name="name">Extension Management</field>
|
|
<field name="model">beesdoo.shift.extension</field>
|
|
<field name="arch" type="xml">
|
|
<form>
|
|
<field name="cooperator_id" invisible="1"/>
|
|
<field name="auto" invisible="1"/>
|
|
<group attrs="{'invisible': [('auto', '=', False)]}">
|
|
<field name="extension_start_date" />
|
|
</group>
|
|
<group attrs="{'invisible': [('auto', '=', True)]}">
|
|
<field name="extension_days" />
|
|
</group>
|
|
<footer>
|
|
<button type="object" name="extension"
|
|
string="Confirm" class="oe_highlight" attrs="{'invisible': [('auto', '=', True)]}" />
|
|
<button type="object" name="auto_ext"
|
|
string="Confirm" class="oe_highlight" attrs="{'invisible': [('auto', '=', False)]}" />
|
|
or
|
|
<button special="cancel" string="Cancel" />
|
|
</footer>
|
|
</form>
|
|
</field>
|
|
</record>
|
|
</odoo>
|