diff --git a/yuthon_property/models/yuthon_property.py b/yuthon_property/models/yuthon_property.py index c264186a0..71b71d2f8 100644 --- a/yuthon_property/models/yuthon_property.py +++ b/yuthon_property/models/yuthon_property.py @@ -16,10 +16,8 @@ class YuthonProperty(models.Model): house_type_id = fields.Many2one('yuthon.resource.house.type', string="户型") district = fields.Char(string="区") - property_room = fields.Text(string="区") # 删除要去掉关联 - building_area = fields.Float(string="建筑面积") - title_deed = fields.Char(string="房产证编号") + title_deed = fields.Char(string="产权证编号") actual_area = fields.Float(string="实际面积") effective_date = fields.Date(string="生效日期") property_source = fields.Selection([('cut', '划入'), ('self', '自建'), @@ -36,9 +34,7 @@ class YuthonProperty(models.Model): property_orientation = fields.Selection([('north', '东'), ('south', '南'), ('east', '西'), ('west', '北')], string="朝向") street = fields.Char(string="街道") - property_area = fields.Float(string="产权面积") pooled_area = fields.Float(string="公摊面积") - rentable_area = fields.Float(string="可租面积") state = fields.Selection([('to', '待评估'), ('done', '已评估'), ('ing', '评估中'), ('ing_handover', '移交中'), ('done_handover', '已移交'), ('filing', '备案中'), ('net', '挂网'), ('signing', '签约中'), @@ -65,6 +61,8 @@ class YuthonProperty(models.Model): suite_area = fields.Float(string="套内面积") start_time = fields.Date(string="生效时间") end_date = fields.Date(string="失效日期") + purpose_id = fields.Many2one('yuthon.resource.purpose', string="管理类型") + admin_id = fields.Many2one('res.users', string="管理员") lessee_id = fields.Many2one('yuthon.property.lessee', string='承租方') title_address = fields.Many2one('yuthon.property.message', string="产权地址") yuthon_company = fields.Selection([('thtz', '天河投资'), ('thwg', '天河物管'), ('thlc', '天河粮储'), ('thtj', '天城投建'), ('housing', '房总')],string="所属公司") diff --git a/yuthon_property/views/menuitem.xml b/yuthon_property/views/menuitem.xml index afed2b7e4..4fc4f1bc0 100644 --- a/yuthon_property/views/menuitem.xml +++ b/yuthon_property/views/menuitem.xml @@ -107,6 +107,20 @@ name="水表库" parent="yuthon_property_meter_archives_menu" action="action_property_meter_water"/> + + + @@ -330,10 +344,6 @@ action="yuthon_property_penalty_action" sequence="37"/> - - diff --git a/yuthon_property/views/yuthon_property_views.xml b/yuthon_property/views/yuthon_property_views.xml index 1d74a0bb7..5a3949cfe 100644 --- a/yuthon_property/views/yuthon_property_views.xml +++ b/yuthon_property/views/yuthon_property_views.xml @@ -12,9 +12,9 @@ - - - + + +