diff --git a/tianhe_approvals/models/tianhe_fee_expend_approval.py b/tianhe_approvals/models/tianhe_fee_expend_approval.py
index 93169828b..574e4e63e 100644
--- a/tianhe_approvals/models/tianhe_fee_expend_approval.py
+++ b/tianhe_approvals/models/tianhe_fee_expend_approval.py
@@ -12,6 +12,6 @@ class TianHeFeeExpend(models.Model):
joint_name = fields.Char(string="合同名称")
project_name = fields.Char(string="项目名称")
property_listings = fields.Char(string="物业列表")
- property_address = fields.Char(string="物业地址")
+ property_address = fields.Text(string="物业地址")
payment_type = fields.Char(string="支付类型")
expend_fee = fields.Integer(string="支出金额")
diff --git a/tianhe_approvals/models/wuguan_intertubular_protocol.py b/tianhe_approvals/models/wuguan_intertubular_protocol.py
index cc795841d..0d6cc162d 100644
--- a/tianhe_approvals/models/wuguan_intertubular_protocol.py
+++ b/tianhe_approvals/models/wuguan_intertubular_protocol.py
@@ -7,7 +7,7 @@ class WuguanIntertubularProtocol(models.Model):
_inherit = "approval.request"
_description = '管子间协议'
- wuguan_payout_address = fields.Char(string="物业地址")
+ wuguan_payout_address = fields.Text(string="物业地址")
management_fee = fields.Char(string="管理费")
collection_agencies = fields.Char(string="收款公司")
total_management_fee = fields.Char(string="管理费总额")
diff --git a/tianhe_approvals/models/wuguan_lease_contract_approval_form.py b/tianhe_approvals/models/wuguan_lease_contract_approval_form.py
index 2d97d6733..2030e9621 100644
--- a/tianhe_approvals/models/wuguan_lease_contract_approval_form.py
+++ b/tianhe_approvals/models/wuguan_lease_contract_approval_form.py
@@ -10,7 +10,7 @@ class WuGuanLeaseContractApprovalForm(models.Model):
first_years_rent = fields.Char(string="首年租金")
industry = fields.Char(string="行业")
wuguan_payout_address = fields.Char(string="物业地址")
- uses = fields.Char(string="出租用途")
+ uses = fields.Many2one('yuthon.rental.purpose',string="出租用途")
payment_method = fields.Char(string="缴费方式")
partner_name = fields.Char(string="联系人")
contact_number = fields.Char(string="联系电话")
diff --git a/yuthon_account/models/yuthon_reconcil.py b/yuthon_account/models/yuthon_reconcil.py
index 9494e9e14..68ab39cdd 100644
--- a/yuthon_account/models/yuthon_reconcil.py
+++ b/yuthon_account/models/yuthon_reconcil.py
@@ -17,7 +17,7 @@ class YuthonReconcil(models.Model):
payout_name = fields.Char(string="户名")
payout_note = fields.Char(string="备注")
payout_contract = fields.Char(string="合同编号")
- payout_address = fields.Char(string="物业地址")
+ payout_address = fields.Text(string="物业地址")
payout_contract_money = fields.Float(string="合同累计应收")
payout_contract_no_money = fields.Float(string="合同累计违约金")
voucher_type = fields.Char(string="凭证种类")
diff --git a/yuthon_property/__manifest__.py b/yuthon_property/__manifest__.py
index 96134119e..169af9067 100644
--- a/yuthon_property/__manifest__.py
+++ b/yuthon_property/__manifest__.py
@@ -19,7 +19,6 @@
'views/property_patrol_standard.xml',
'views/yuthon_draw_result_views.xml',
'views/yuthon_expert_database_views.xml',
- 'views/property_rental_form_views.xml',
'views/property_transaction_confirmed.xml',
'views/yuthon_resource_mgmt_config_views.xml',
'views/property_meter_archives_views.xml',
diff --git a/yuthon_property/models/__init__.py b/yuthon_property/models/__init__.py
index 5ea97e7de..e1a13c129 100644
--- a/yuthon_property/models/__init__.py
+++ b/yuthon_property/models/__init__.py
@@ -8,7 +8,6 @@ from . import yuthon_resource_mgmt_config
from . import yuthon_draw_result
from . import yuthon_expert_database
from . import yuthon_property_evaluation
-from . import property_rental_form
from . import property_transaction_confirmed
from . import property_meter_archives
from . import property_meter_water
diff --git a/yuthon_property/models/yuthon_property.py b/yuthon_property/models/yuthon_property.py
index a3df3cb3b..97dab0f5e 100644
--- a/yuthon_property/models/yuthon_property.py
+++ b/yuthon_property/models/yuthon_property.py
@@ -58,7 +58,7 @@ class YuthonProperty(models.Model):
code = fields.Char(string="编号",
default=lambda self: self.env['ir.sequence'].next_by_code('property_message_code'))
rental_unit_price = fields.Float(string="评估单价")
- address = fields.Char(string="物业地址")
+ address = fields.Text(string="物业地址")
title_number = fields.Char(string="产权编号")
suite_area = fields.Float(string="套内面积")
start_time = fields.Date(string="生效时间")
diff --git a/yuthon_property/models/yuthon_property_evaluated.py b/yuthon_property/models/yuthon_property_evaluated.py
index 9b82cc944..7689f2adc 100644
--- a/yuthon_property/models/yuthon_property_evaluated.py
+++ b/yuthon_property/models/yuthon_property_evaluated.py
@@ -14,6 +14,12 @@ class YuthonPropertyEvaluated(models.Model):
notice_documents_ids = fields.Many2many('ir.attachment', string='议题附件')
evaluate_application_ids = fields.One2many('evaluated.application.line', 'yuthon_property_evaluated_id', string='关联物业信息明细行')
+ def put_declare_approval(self):
+ pass
+ def put_offline_approval(self):
+ pass
+ def put_adjustment_approval(self):
+ pass
class EvaluatedApplicationLine(models.Model):
_name = 'evaluated.application.line'
diff --git a/yuthon_property/models/yuthon_resource_mgmt_config.py b/yuthon_property/models/yuthon_resource_mgmt_config.py
index 14cd739dc..8bc408625 100644
--- a/yuthon_property/models/yuthon_resource_mgmt_config.py
+++ b/yuthon_property/models/yuthon_resource_mgmt_config.py
@@ -18,7 +18,7 @@ class YuthonResourceHouseType(models.Model):
class YuthonResourcePurpose(models.Model):
_name = 'yuthon.resource.purpose'
- _description = '用途'
+ _description = '资产用途'
name = fields.Char(string="用途")
@@ -47,4 +47,11 @@ class YuthonOwnerMessage(models.Model):
_name = 'yuthon.owner.message'
_description = '权属人'
- name = fields.Char(string="名称")
\ No newline at end of file
+ name = fields.Char(string="名称")
+
+
+class YuthonRentalPurposes(models.Model):
+ _name = 'yuthon.rental.purpose'
+ _description = '出租用途'
+
+ name = fields.Char(string="出租用途")
diff --git a/yuthon_property/security/ir.model.access.csv b/yuthon_property/security/ir.model.access.csv
index 8eddf53d4..04351f8db 100644
--- a/yuthon_property/security/ir.model.access.csv
+++ b/yuthon_property/security/ir.model.access.csv
@@ -14,7 +14,6 @@ access_yuthon_resource_house_type,yuthon_resource_house_type,model_yuthon_resour
access_yuthon_resource_purpose,yuthon_resource_purpose,model_yuthon_resource_purpose,base.group_user,1,1,1,1
access_yuthon_resource_management_type,yuthon_resource_management_type,model_yuthon_resource_management_type,base.group_user,1,1,1,1
access_yuthon_resource_billing_type,yuthon_resource_billing_type,model_yuthon_resource_billing_type,base.group_user,1,1,1,1
-access_property_rental_form,property_rental_form,model_property_rental_form,base.group_user,1,1,1,1
access_property_transaction_confirmed,property_transaction_confirmed,model_property_transaction_confirmed,base.group_user,1,1,1,1
access_property_meter_archives,property_meter_archives,model_property_meter_archives,base.group_user,1,1,1,1
access_property_meter_water,property_meter_water,model_property_meter_water,base.group_user,1,1,1,1
@@ -26,4 +25,5 @@ access_manage_information_line,manage_information_line,model_manage_information_
access_disassembly_information_line,disassembly_information_line,model_disassembly_information_line,base.group_user,1,1,1,1
access_yuthon_property_source,yuthon_property_source,model_yuthon_property_source,base.group_user,1,1,1,1
access_yuthon_owner_message,yuthon_owner_message,model_yuthon_owner_message,base.group_user,1,1,1,1
-access_evaluated_application_line,evaluated_application_line,model_evaluated_application_line,base.group_user,1,1,1,1
\ No newline at end of file
+access_evaluated_application_line,evaluated_application_line,model_evaluated_application_line,base.group_user,1,1,1,1
+access_yuthon_rental_purpose,yuthon_rental_purpose,model_yuthon_rental_purpose,base.group_user,1,1,1,1
\ No newline at end of file
diff --git a/yuthon_property/views/menuitem.xml b/yuthon_property/views/menuitem.xml
index 8f60634a6..bdb77a701 100644
--- a/yuthon_property/views/menuitem.xml
+++ b/yuthon_property/views/menuitem.xml
@@ -52,17 +52,6 @@
name="招租"
parent="yuthon_property_menu_root"/>
-
-
-
-
-
-
-
-
+