添加功能

This commit is contained in:
李鹏宇
2026-09-20 20:25:00 +08:00
parent d3ed3e49bc
commit 63e93b39d6
16 changed files with 468 additions and 430 deletions
@@ -73,7 +73,6 @@
</group>
<group string="变更信息" col="3">
<group>
<field name="early_quitting_date" invisible="renewal_type != 'early_checkout'"/>
<field name="new_lessee_id" invisible="renewal_type != 'lease'"/>
<field name="fee" invisible="renewal_type != 'lease'"/>
<field name="actual_end_date" invisible="renewal_type != 'extend'"/>
@@ -91,56 +90,12 @@
<group>
<!--<field name="reason"/>-->
<field name="effective_date" invisible="renewal_type != 'lease'"/>
<field name="early_reason" invisible="renewal_type != 'early_checkout'"/>
<field name="deposit_treatment" invisible="renewal_type != 'early_checkout'"/>
<field name="deposit" invisible="renewal_type != 'early_checkout'"/>
</group>
</group>
<group col="4">
<group>
<field name="refund_amount" invisible="deposit_treatment != 'part_refund'"/>
</group>
<group/>
<group/>
</group>
<group col="4">
<group>
<field name="total_receivables" invisible="deposit_treatment != 'part_refund'"/>
</group>
<group/>
<group/>
</group>
<group col="4">
<group>
<field name="forfeit" invisible="deposit_treatment != 'part_refund'"/>
</group>
<group/>
<group/>
</group>
<group>
<group>
<field name="early_explain" invisible="renewal_type != 'early_checkout'"/>
</group>
</group>
<group>
<field name="document_ids" widget="preview_many2many"/>
</group>
<notebook>
<page string="应收明细" invisible="renewal_type != 'early_checkout'">
<field name="receivables_ids" string=" ">
<tree editable="bottom">
<field name="renewal_id" column_invisible="1"/>
<field name="receivable_id" column_invisible="1"/>
<field name="management_type_id"/>
<field name="due_date"/>
<field name="original_amount"/>
<field name="reduction_amount"/>
<field name="refund_amount"/>
<field name="is_reconciliation"/>
<field name="void"/>
</tree>
</field>
</page>
<page string="租金明细" invisible="renewal_type != 'extend' or ((state in ['分管领导', '总经理']) and (not work_end))">
<field name="breakdown_ids" string=" ">
<tree editable="bottom">