添加功能
This commit is contained in:
@@ -2,7 +2,7 @@ from odoo import models, fields, api
|
||||
|
||||
|
||||
class PropertyLessee(models.Model):
|
||||
_name = 'yuthon.property.lessee'
|
||||
_name = 'yuthon.property.lessee'
|
||||
_description = 'Property Lessee'
|
||||
|
||||
name = fields.Char(string='Lessee Name', required=True)
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
</group>
|
||||
<group>
|
||||
<field name="code"/>
|
||||
<field name="department_id"/>
|
||||
<field name="is_issues"/>
|
||||
<field name="related_issues_id" invisible="not is_issues"/>
|
||||
</group>
|
||||
|
||||
@@ -26,7 +26,7 @@
|
||||
<group>
|
||||
<group>
|
||||
<field name="code"/>
|
||||
<field name="property_documents_ids">
|
||||
<field name="property_documents_ids" widget="many2many_tags">
|
||||
<tree>
|
||||
<field name="name"/>
|
||||
</tree>
|
||||
@@ -92,7 +92,7 @@
|
||||
<page string="物业列表">
|
||||
<field name="lease_ids" string=" ">
|
||||
<tree editable="bottom">
|
||||
<field name="lease_id" colunm_visible="1"/>
|
||||
<field name="lease_id" colunm_invisible="1"/>
|
||||
<field name="property_address"/>
|
||||
<field name="property_area"/>
|
||||
<field name="evaluate_unit_price"/>
|
||||
@@ -102,7 +102,7 @@
|
||||
<page string="租金明细">
|
||||
<field name="breakdown_ids" string=" ">
|
||||
<tree editable="bottom">
|
||||
<field name="breakdown_id" colunm_visible="1"/>
|
||||
<field name="breakdown_id" colunm_invisible="1"/>
|
||||
<field name="charges"/>
|
||||
<field name="unit_price"/>
|
||||
<field name="monthly_amount"/>
|
||||
@@ -116,7 +116,7 @@
|
||||
<page string="仪表费">
|
||||
<field name="fee_ids" string=" ">
|
||||
<tree editable="bottom">
|
||||
<field name="fee_id" colunm_visible="1"/>
|
||||
<field name="fee_id" colunm_invisible="1"/>
|
||||
<field name="charges"/>
|
||||
<field name="fees"/>
|
||||
<field name="proportional"/>
|
||||
@@ -128,7 +128,7 @@
|
||||
<page string="其他费用">
|
||||
<field name="other_ids" string=" ">
|
||||
<tree editable="bottom">
|
||||
<field name="other_id" colunm_visible="1"/>
|
||||
<field name="other_id" colunm_invisible="1"/>
|
||||
<field name="charges"/>
|
||||
<field name="coping"/>
|
||||
<field name="coping_time"/>
|
||||
|
||||
Reference in New Issue
Block a user