添加功能

This commit is contained in:
zhou
2025-03-12 22:16:31 +08:00
parent c36e27168e
commit baa9f4a900
4 changed files with 5 additions and 5 deletions
@@ -5,14 +5,14 @@
<field name="model">yuthon.property</field>
<field name="arch" type="xml">
<tree string="物业管理">
<field name="state"/>
<header>
<button name="put_assessment_approval" type="object" string="提交评估申请" class="btn btn-primary"/>
<button name="put_merge_approval" string="合并" type="object" invisible="state != 'done'"/>
<button name="put_merge_approval" string="合并" type="object" invisible="state != 'done'"/>
<button name="put_property_handover" string="物业移交" type="object" invisible="state != 'done'"/>
<button name="put_declare_approval" type="object" string="提交出租申报" invisible="state != 'done'"/>
</header>
<field name="name" required="1"/>
<field name="state"/>
<field name="title_deed"/>
<field name="management_area" digits="[16, 4]"/>
<field name="rent_area" digits="[16, 4]"/>
@@ -291,7 +291,7 @@
<field name="name">rent.free.setting.tree</field>
<field name="model">rent.free.setting</field>
<field name="arch" type="xml">
<tree editable="bottom">
<tree>
<field name="sequence"/>
<field name="name"/>
<field name="property_id"/>
@@ -58,7 +58,7 @@
<field name="evaluate_application_ids">
<tree editable="bottom">
<field name="property_message_id" column_invisible="1"/>
<field name="property_id" column_invisible="1"/>
<field name="yuthon_property_id" column_invisible="1"/>
<field name="premises_id"/>
<field name="property_floor"/>
<field name="units"/>
@@ -4,7 +4,7 @@
<field name='name'>yuthon.will.task.tree</field>
<field name='model'>yuthon.will.task</field>
<field name='arch' type='xml'>
<tree string='日程' editable="bottom"
<tree string='日程'
decoration-muted = "state == 'cancel'"
decoration-danger="priority == 'very_urgent'"
decoration-info="priority == 'urgent'"