Files
gzth/yuthon_property_approval/views/property_confirm_views.xml
T
2026-05-15 16:13:20 +08:00

82 lines
3.7 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<record id="view_property_confirm_tree" model="ir.ui.view">
<field name="name">property.confirm.tree</field>
<field name="model">property.confirm</field>
<field name="arch" type="xml">
<tree string="成交确认">
<field name="name"/>
<field name="code"/>
</tree>
</field>
</record>
<record id="view_property_confirm_form" model="ir.ui.view">
<field name="name">property.confirm.form</field>
<field name="model">property.confirm</field>
<field name="arch" type="xml">
<form string="成交确认" create="0">
<header>
<button name="action_print_property_confirm" string="打印" type="object" class="btn-primary"/>
</header>
<sheet>
<group col="3">
<group>
<field name="code" string="流水号" readonly="1"/>
</group>
<group>
<field name="urgency_level"/>
</group>
<group/>
</group>
<div class="col-12 text-center">
<h1>
<field name="name_title" readonly="1"/>
</h1>
</div>
<div class="oe_title">
<label for="name"/>
<h1>
<field name="name"/>
</h1>
</div>
<group>
<group>
<field name="work_end" invisible="1"/>
<field name="is_chapter"/>
<field name="type_stamp_ids" widget="many2many_tags" invisible="is_chapter != 'yes'" options="{'no_create': True}"/>
<field name="lessee"/>
<field name="property_name"/>
<field name="handling_opinions"/>
<field name="documents_ids" widget="preview_many2many"/>
</group>
</group>
<notebook>
<page string="物业列表">
<button name="choose_property_button" string="添加物业" type="object" class="btn-primary"/>
<field name="lease_ids" string=" ">
<tree editable="bottom" create="false">
<field name="lease_id" column_invisible="1"/>
<field name="address_id" options="{'no_open': True, 'no_create': True}"/>
<field name="property_area"/>
<field name="evaluate_unit_price"/>
<field name="message_standard_id"/>
<field name="tax"/>
<field name="admin_line_id" options="{'no_open': True}"/>
<button name="open_record" string="详情" type="object" class="btn-primary"/>
</tree>
</field>
</page>
</notebook>
</sheet>
</form>
</field>
</record>
<record id="property_confirm_action" model="ir.actions.act_window">
<field name="name">物业成交确认审批</field>
<field name="res_model">property.confirm</field>
<field name="view_mode">tree,form</field>
</record>
</odoo>