Files
gzth/yuthon_property_approval/wizard/property_contract_wizard.xml
T
2024-12-31 16:24:57 +08:00

35 lines
1.4 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="property_contract_template_downloads_tian_he_action" model="ir.actions.act_url">
<field name="name">物业合同模板</field>
<field name="target">self</field>
<field name="url">...</field>
</record>
<record id="property_contract_wizard_form" model="ir.ui.view">
<field name="name">物业合同导入弹窗</field>
<field name="model">property.contract.wizard</field>
<field name="arch" type="xml">
<form>
<sheet>
<header>
<button name="%(property_contract_template_downloads_tian_he_action)d" string="模板下载" type="action"
class="btn btn-primary"/>
</header>
<group>
<group>
<field name="excel_file" filename="excel_name"/>
<field name="excel_name" invisible="1"/>
</group>
<group>
</group>
</group>
</sheet>
<footer>
<button name="confirm" string="确认" type="object" class="oe_highlight"/>
<button string="返回" class="btn-secondary" special="cancel"/>
</footer>
</form>
</field>
</record>
</odoo>