From 5a582374f084f6ac7006d255b73ab35f9b220eef Mon Sep 17 00:00:00 2001
From: zhou <123@>
Date: Thu, 17 Apr 2025 11:05:25 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8A=9F=E8=83=BD?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../models/property_evaluation_plan.py | 5 +-
yuthon_property/models/yuthon_property.py | 11 +-
.../models/yuthon_resource_mgmt_config.py | 8 ++
yuthon_property/security/ir.model.access.csv | 3 +-
yuthon_property/views/menuitem.xml | 3 +
.../views/property_evaluation_plan_view.xml | 3 +-
.../views/yuthon_property_views.xml | 5 +-
.../yuthon_resource_mgmt_config_views.xml | 14 +++
.../wizard/evaluation_plan_wizard.py | 3 +-
yuthon_property_approval/__manifest__.py | 1 +
.../data/sale_renting_code_data.xml | 5 +
yuthon_property_approval/models/__init__.py | 3 +-
.../models/property_approval.py | 2 +-
.../models/property_evaluate_application.py | 3 +-
.../models/property_lease_contract.py | 6 +-
.../models/property_meeting_approval.py | 104 ++++++++++++++++
.../models/property_record.py | 11 ++
.../models/property_rental_conditions.py | 4 +-
.../security/ir.model.access.csv | 1 +
.../static/others/property_template.xlsx | Bin 0 -> 9459 bytes
.../property_evaluate_application_views.xml | 3 +-
.../views/property_meeting_approval_views.xml | 114 ++++++++++++++++++
.../views/property_menu_all.xml | 7 +-
.../views/property_record_views.xml | 3 +
.../views/property_rental_conditions.xml | 2 +-
.../wizard/property_add_wizard_views.xml | 4 +-
.../models/inherit_hr_payroll_structure.py | 7 ++
.../models/yuthon_payroll_project.py | 2 +-
.../inherit_hr_payroll_structure_views.xml | 9 +-
29 files changed, 309 insertions(+), 37 deletions(-)
create mode 100644 yuthon_property_approval/models/property_meeting_approval.py
create mode 100644 yuthon_property_approval/static/others/property_template.xlsx
create mode 100644 yuthon_property_approval/views/property_meeting_approval_views.xml
diff --git a/yuthon_property/models/property_evaluation_plan.py b/yuthon_property/models/property_evaluation_plan.py
index 685f68747..44f0c8222 100644
--- a/yuthon_property/models/property_evaluation_plan.py
+++ b/yuthon_property/models/property_evaluation_plan.py
@@ -15,10 +15,7 @@ class PropertyEvaluationPlan(models.Model):
registered_id = fields.Many2one('yuthon.purpose.evidence', string='证载用途')
registered_id2 = fields.Many2one('yuthon.purpose.evidence', string='设定用途')
rent_id = fields.Many2one('rent.free.setting', string="办法")
- start_lease_period = fields.Selection(selection=[(str(i), str(i)) for i in range(1, 7)], string='租期开始',
- default='1')
- end_lease_period = fields.Selection(selection=[(str(i), str(i)) for i in range(1, 7)], string='租期结束',
- default='6')
+ lease_period = fields.Integer(string='租赁期限(<=)')
annual_increase_percentage = fields.Float(string='每年递增(%)', igits=(6, 2))
remake = fields.Text(string='备注')
property_state = fields.Selection([('to', '待审批'), ('done', '已审批')], string="状态", default='to')
diff --git a/yuthon_property/models/yuthon_property.py b/yuthon_property/models/yuthon_property.py
index dae2b58c5..73823fca0 100644
--- a/yuthon_property/models/yuthon_property.py
+++ b/yuthon_property/models/yuthon_property.py
@@ -234,8 +234,7 @@ class YuthonProperty(models.Model):
'owner_id': record.title_information_ids[0].owner_id.id if record.title_information_ids else None,
'registered_id': record.title_information_ids[0].registered_id.id if record.title_information_ids else None,
'rent_id': record.reference_ids[0].rent_id.id if record.reference_ids else None,
- 'start_lease_period': record.reference_ids[0].start_lease_period if record.reference_ids else None,
- 'end_lease_period': record.reference_ids[0].end_lease_period if record.reference_ids else None,
+ 'lease_period': record.reference_ids[0].lease_period if record.reference_ids else None,
'annual_increase_percentage': record.reference_ids[0].annual_increase_percentage if record.reference_ids else None,
'assessment_category': 'rent_money',
'remake': record.remark,
@@ -261,8 +260,7 @@ class YuthonProperty(models.Model):
'owner_id': record.title_information_ids[0].owner_id.id if record.title_information_ids else None,
'registered_id': record.title_information_ids[0].registered_id.id if record.title_information_ids else None,
'rent_id': record.reference_ids[0].rent_id.id if record.reference_ids else None,
- 'start_lease_period': record.reference_ids[0].start_lease_period if record.reference_ids else None,
- 'end_lease_period': record.reference_ids[0].end_lease_period if record.reference_ids else None,
+ 'lease_period': record.reference_ids[0].lease_period if record.reference_ids else None,
'annual_increase_percentage': record.reference_ids[0].annual_increase_percentage if record.reference_ids else None,
'assessment_category': 'rent_money',
'remake': record.remark,
@@ -444,9 +442,8 @@ class YuthonReferenceConditions(models.Model):
_description = '出租参考条件'
yuthon_property_id = fields.Many2one('yuthon.property', string="关联物业信息")
- rent_id = fields.Many2one('rent.free.setting', string="办法")
- start_lease_period = fields.Selection(selection=[(str(i), str(i)) for i in range(1, 7)], string='租期开始', default='1')
- end_lease_period = fields.Selection(selection=[(str(i), str(i)) for i in range(1, 7)], string='租期结束', default='6')
+ lease_period = fields.Integer(string='租赁期限(<=)')
+ rent_period = fields.Integer(string="免租期(<=)")
annual_increase_percentage = fields.Float(string='每年递增(%)', igits=(6, 2))
class YuthonMajorEventLine(models.Model):
diff --git a/yuthon_property/models/yuthon_resource_mgmt_config.py b/yuthon_property/models/yuthon_resource_mgmt_config.py
index 582aad30b..a3b9e44e9 100644
--- a/yuthon_property/models/yuthon_resource_mgmt_config.py
+++ b/yuthon_property/models/yuthon_resource_mgmt_config.py
@@ -238,4 +238,12 @@ class EvaluationCompany(models.Model):
_name = 'evaluation.company'
_description = '评估公司配置'
+ name = fields.Char(string="名称")
+
+
+
+class AmountWay(models.Model):
+ _name = 'amount.way'
+ _description = '交易方式'
+
name = fields.Char(string="名称")
\ No newline at end of file
diff --git a/yuthon_property/security/ir.model.access.csv b/yuthon_property/security/ir.model.access.csv
index 947d1c41b..3974ff8b3 100644
--- a/yuthon_property/security/ir.model.access.csv
+++ b/yuthon_property/security/ir.model.access.csv
@@ -86,4 +86,5 @@ access_yuthon_major_event_line,yuthon_major_event_line,model_yuthon_major_event_
access_property_floor_setting,property_floor_setting,model_property_floor_setting,base.group_user,1,1,1,1
access_property_evaluation_plan,property_evaluation_plan,model_property_evaluation_plan,base.group_user,1,1,1,1
access_evaluation_company,evaluation_company,model_evaluation_company,base.group_user,1,1,1,1
-access_evaluation_plan_wizard,evaluation_plan_wizard,model_evaluation_plan_wizard,base.group_user,1,1,1,1
\ No newline at end of file
+access_evaluation_plan_wizard,evaluation_plan_wizard,model_evaluation_plan_wizard,base.group_user,1,1,1,1
+access_amount_way,amount_way,model_amount_way,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 0e164c833..bfbd8f658 100644
--- a/yuthon_property/views/menuitem.xml
+++ b/yuthon_property/views/menuitem.xml
@@ -314,6 +314,9 @@
action="action_feature_setting" sequence="90"/>
+
+
-
-
+
diff --git a/yuthon_property/views/yuthon_property_views.xml b/yuthon_property/views/yuthon_property_views.xml
index a676e6a43..e8c10977c 100644
--- a/yuthon_property/views/yuthon_property_views.xml
+++ b/yuthon_property/views/yuthon_property_views.xml
@@ -197,9 +197,8 @@
-
-
-
+
+
diff --git a/yuthon_property/views/yuthon_resource_mgmt_config_views.xml b/yuthon_property/views/yuthon_resource_mgmt_config_views.xml
index 0dbadd927..6349919c7 100644
--- a/yuthon_property/views/yuthon_resource_mgmt_config_views.xml
+++ b/yuthon_property/views/yuthon_resource_mgmt_config_views.xml
@@ -383,4 +383,18 @@
evaluation.company
tree
+
+ amount.way.tree
+ amount.way
+
+
+
+
+
+
+
+ 交易方式
+ amount.way
+ tree
+
diff --git a/yuthon_property/wizard/evaluation_plan_wizard.py b/yuthon_property/wizard/evaluation_plan_wizard.py
index c69d59be5..d50531a2c 100644
--- a/yuthon_property/wizard/evaluation_plan_wizard.py
+++ b/yuthon_property/wizard/evaluation_plan_wizard.py
@@ -24,8 +24,7 @@ class EvaluationPlanWizard(models.Model):
'owner_id': first_id.title_information_ids[0].owner_id.id if first_id.title_information_ids else None,
'registered_id': first_id.title_information_ids[0].registered_id.id if first_id.title_information_ids else None,
'rent_id': first_id.reference_ids[0].rent_id.id if first_id.reference_ids else None,
- 'start_lease_period': first_id.reference_ids[0].start_lease_period if first_id.reference_ids else None,
- 'end_lease_period': first_id.reference_ids[0].end_lease_period if first_id.reference_ids else None,
+ 'lease_period': first_id.reference_ids[0].lease_period if first_id.reference_ids else None,
'annual_increase_percentage': first_id.reference_ids[0].annual_increase_percentage if first_id.reference_ids else None,
'remake': first_id.remark,
'property_ids': self.property_ids.ids
diff --git a/yuthon_property_approval/__manifest__.py b/yuthon_property_approval/__manifest__.py
index d50f72ce9..5f941cae1 100644
--- a/yuthon_property_approval/__manifest__.py
+++ b/yuthon_property_approval/__manifest__.py
@@ -67,6 +67,7 @@
'views/property_accounts_approval_views.xml',
'views/property_delegated_agent_views.xml',
'views/property_transaction_confirmed.xml',
+ 'views/property_meeting_approval_views.xml',
'wizard/property_add_wizard_views.xml',
'wizard/property_contract_wizard.xml',
'wizard/property_physical_wizard_views.xml',
diff --git a/yuthon_property_approval/data/sale_renting_code_data.xml b/yuthon_property_approval/data/sale_renting_code_data.xml
index 692c5c220..a99b714a9 100644
--- a/yuthon_property_approval/data/sale_renting_code_data.xml
+++ b/yuthon_property_approval/data/sale_renting_code_data.xml
@@ -304,4 +304,9 @@
property_claim_approval_code
YW%(y)s%(month)s%(day)s
+
+ 物业出租申报会议
+ property_meeting_approval_code
+ HY%(y)s%(month)s%(day)s
+
\ No newline at end of file
diff --git a/yuthon_property_approval/models/__init__.py b/yuthon_property_approval/models/__init__.py
index 3dad2c3a9..de52fc969 100644
--- a/yuthon_property_approval/models/__init__.py
+++ b/yuthon_property_approval/models/__init__.py
@@ -53,4 +53,5 @@ from . import property_service_approval
from . import property_engineering_approval
from . import property_current_approval
from . import property_accounts_approval
-from . import inherit_property_tenant_information
\ No newline at end of file
+from . import inherit_property_tenant_information
+from . import property_meeting_approval
\ No newline at end of file
diff --git a/yuthon_property_approval/models/property_approval.py b/yuthon_property_approval/models/property_approval.py
index 804a16ee3..744eed38c 100644
--- a/yuthon_property_approval/models/property_approval.py
+++ b/yuthon_property_approval/models/property_approval.py
@@ -20,7 +20,7 @@ class PropertyApproval(models.Model):
issues_result = fields.Html(string="会议结果")
related_issues_id = fields.Many2one('issue.library', string="关联议题")
property_documents_ids = fields.Many2many('documents.document', string="附件")
- property_source = fields.Selection([('cut', '划入'), ('self', '自建'),
+ property_source = fields.Selection([('cut', '划拨'), ('self', '自建'),
('replace', '置换'), ('buy', '购入'),
('entrust', '委托'), ('Rent', '租入')], string='资产来源')
property_massage_ids = fields.One2many('property.approval.line', 'property_approval_id', string="审批信息")
diff --git a/yuthon_property_approval/models/property_evaluate_application.py b/yuthon_property_approval/models/property_evaluate_application.py
index bccb5284e..187c86783 100644
--- a/yuthon_property_approval/models/property_evaluate_application.py
+++ b/yuthon_property_approval/models/property_evaluate_application.py
@@ -85,8 +85,7 @@ class YuhtonPropertyLine(models.Model):
property_ids = fields.Many2many(related='property_evaluation_id.property_ids', string="物业信息")
owner_id = fields.Many2one('yuthon.owner.message', related='property_evaluation_id.owner_id', string="权属人")
assessment_category = fields.Selection(related='property_evaluation_id.assessment_category', string="评估类别")
- start_lease_period = fields.Selection(related='property_evaluation_id.start_lease_period', string='租期开始')
- end_lease_period = fields.Selection(related='property_evaluation_id.end_lease_period', string='租期结束')
+ lease_period = fields.Integer(related='property_evaluation_id.lease_period', string='租期期限(<=)')
registered_id = fields.Many2one(related='property_evaluation_id.registered_id', string='证载用途')
registered_id2 = fields.Many2one(related='property_evaluation_id.registered_id2', string='设定用途')
annual_increase_percentage = fields.Float(related='property_evaluation_id.annual_increase_percentage', string='每年递增(%)', igits=(6, 2))
diff --git a/yuthon_property_approval/models/property_lease_contract.py b/yuthon_property_approval/models/property_lease_contract.py
index c34cc95cc..853a260ba 100644
--- a/yuthon_property_approval/models/property_lease_contract.py
+++ b/yuthon_property_approval/models/property_lease_contract.py
@@ -1206,8 +1206,7 @@ class PropertyLeaseContract(models.Model):
'owner_id': first_address_id.title_information_ids[0].owner_id.id if first_address_id and first_address_id.title_information_ids else None,
'registered_id': first_address_id.title_information_ids[0].registered_id.id if first_address_id and first_address_id.title_information_ids else None,
'rent_id': first_address_id.reference_ids[0].rent_id.id if first_address_id and first_address_id.reference_ids else None,
- 'start_lease_period': first_address_id.reference_ids[0].start_lease_period if first_address_id and first_address_id.reference_ids else None,
- 'end_lease_period': first_address_id.reference_ids[0].end_lease_period if first_address_id and first_address_id.reference_ids else None,
+ 'lease_period': first_address_id.reference_ids[0].lease_period if first_address_id and first_address_id.reference_ids else None,
'annual_increase_percentage': first_address_id.reference_ids[0].annual_increase_percentage if first_address_id and first_address_id.reference_ids else None,
'remake': first_address_id.remark if first_address_id else None,
'assessment_category': 'rent_money',
@@ -1238,8 +1237,7 @@ class PropertyLeaseContract(models.Model):
'owner_id': property_id.title_information_ids[0].owner_id.id if property_id.title_information_ids else None,
'registered_id': property_id.title_information_ids[0].registered_id.id if property_id.title_information_ids else None,
'rent_id': property_id.reference_ids[0].rent_id.id if property_id.reference_ids else None,
- 'start_lease_period': property_id.reference_ids[0].start_lease_period if property_id.reference_ids else None,
- 'end_lease_period': property_id.reference_ids[0].end_lease_period if property_id.reference_ids else None,
+ 'lease_period': property_id.reference_ids[0].lease_period if property_id.reference_ids else None,
'annual_increase_percentage': property_id.reference_ids[0].annual_increase_percentage if property_id.reference_ids else None,
'remake': property_id.remark,
'assessment_category': 'rent_money',
diff --git a/yuthon_property_approval/models/property_meeting_approval.py b/yuthon_property_approval/models/property_meeting_approval.py
new file mode 100644
index 000000000..3b679fd47
--- /dev/null
+++ b/yuthon_property_approval/models/property_meeting_approval.py
@@ -0,0 +1,104 @@
+from email.policy import default
+
+from odoo import models, fields, api, exceptions, _
+from odoo.exceptions import UserError, ValidationError
+
+
+class PropertyMeetingApproval(models.Model):
+ _name = 'property.meeting.approval'
+ _inherit = ['soong.workflow.mixin', 'mail.thread.main.attachment', 'mail.activity.mixin']
+ _description = '物业出租申报会议审批表'
+
+ name = fields.Char(string='标题')
+ reason = fields.Html(string="正文")
+ property_documents_ids = fields.Many2many('ir.attachment', string="附件")
+ property_id = fields.Many2one('yuthon.property', string="物业地址")
+ registered_id = fields.Many2one(related='property_id.registered_id', string='证载用途')
+ evaluation_area = fields.Float(related='property_id.rent_area', string='出租面积(m²)')
+ lease_expiration_date = fields.Date(string='租赁到期日')
+ lessee_id = fields.Many2one('property.tenant.information', string='原租户')
+ now_rent_price = fields.Float(related='property_id.rental_unit_price', string='现租价(元/m² •月)')
+ appraisal_price = fields.Float(string='评估价(元/m² •月)')
+ users_id = fields.Many2one('res.users', string="申请人", default=lambda self: self.env.user.id)
+ department_id = fields.Many2one(related='users_id.employee_id.department_id', string="部门")
+ code = fields.Char(string="编号",
+ default=lambda self: self.env['ir.sequence'].next_by_code('property_meeting_approval_code'))
+ urgency_level = fields.Selection([('normal', '普件'), ('urgent', '急件'), ('emergency', '特急件')], string='紧急度',
+ default='normal')
+ active = fields.Boolean('Active', default=True, tracking=True)
+ work_end = fields.Boolean(string="结束")
+ initial_low_area_price = fields.Float() # 初始底价
+ low_area_price = fields.Float(string='底价(元/m² •月)', default=lambda self: self.appraisal_price)
+ low_price = fields.Float(string='底价(元/月)', compute='_compute_low_price', store=True)
+ lease_period = fields.Integer(string='租赁期限(<=)')
+ annual_increase_percentage = fields.Float(string='每年递增(%)', igits=(6, 2))
+ rental_purposes = fields.Many2one('yuthon.rental.purpose', string="出租用途")
+ rent_period = fields.Integer(string="免租期(<=)")
+ amount_way = fields.Many2one('amount.way', string="交易方式")
+ initial_rent_period = fields.Integer(string="初始免租期(<=)")
+ initial_lease_period = fields.Integer(string="初始租赁期限(<=)")
+ initial_low_price = fields.Float(string='初始底价(元/月)')
+ is_issues = fields.Boolean(string='是否上会')
+ issues_result = fields.Html(string="会议结果")
+ related_issues_id = fields.Many2one('issue.library', string="关联议题")
+ rent_comparison = fields.Selection([('red', '红'), ('green',' 绿')] , string="免租期结果")
+ lease_comparison = fields.Selection([('red', '红'), ('green',' 绿')] , string="租赁期限结果")
+ end_comparison = fields.Selection([('red', '红'), ('green',' 绿')] , string="初始底价结果")
+
+ def _get_default_name_title(self):
+ return self._description if self._description else self._name
+
+ name_title = fields.Char(default=_get_default_name_title)
+
+ @api.onchange('is_issues')
+ def _onchange_is_issues(self):
+ if self.is_issues:
+ issue_id = self.env['issue.library'].create({'name': self.name})
+ self.related_issues_id = issue_id.id
+ workflow_record_id = self.env["soong.workflow.record"].search(
+ [("res_model", "=", self._name), ("res_id", "=", self.id)])
+ self.env['issue.library.approval.line'].create({
+ 'issue_library_id': issue_id.id,
+ 'workflow_record_id': workflow_record_id.id,
+ 'approval_type': workflow_record_id.workflow_id.id,
+ 'code': self.code,
+ 'approval_date': fields.Datetime.now(),
+ })
+
+ @api.onchange('rent_period')
+ def _onchange_rent_period(self):
+ if self.initial_rent_period == 0:
+ self.initial_rent_period = self.rent_period
+ else:
+ if self.rent_period > self.initial_rent_period:
+ self.rent_comparison = 'red'
+ elif self.rent_period < self.initial_rent_period:
+ self.rent_comparison = 'green'
+
+ @api.onchange('lease_period')
+ def _onchange_lease_period(self):
+ if self.initial_lease_period == 0:
+ # 如果是第一次输入,记录初始值
+ self.initial_lease_period = self.lease_period
+ else:
+ if self.lease_period > self.initial_lease_period:
+ self.lease_comparison = 'red'
+ elif self.lease_period < self.initial_lease_period:
+ self.lease_comparison = 'green'
+
+ @api.onchange('low_area_price')
+ def _onchange_low_area_price(self):
+ if self.initial_low_area_price == 0:
+ # 如果是第一次输入,记录初始值
+ self.initial_low_price = self.low_price
+ else:
+ if self.low_area_price > self.initial_low_price:
+ self.end_comparison = 'red'
+ elif self.low_area_price < self.initial_low_price:
+ self.end_comparison = 'green'
+
+
+ @api.depends('evaluation_area')
+ def _compute_low_price(self):
+ if self.evaluation_area and self.low_area_price:
+ self.low_price = self.evaluation_area * self.low_area_price
\ No newline at end of file
diff --git a/yuthon_property_approval/models/property_record.py b/yuthon_property_approval/models/property_record.py
index 739ff4e76..ae05ee1e7 100644
--- a/yuthon_property_approval/models/property_record.py
+++ b/yuthon_property_approval/models/property_record.py
@@ -51,6 +51,17 @@ class PropertyRecord(models.Model):
'approval_date': fields.Datetime.now(),
})
+ def button_meeting(self):
+ property_record_ids = self.env["property.record"].browse(
+ self._context.get('active_ids', self._context.get('active_id')))
+ form_id = self.env.ref('yuthon_property_approval.view_property_meeting_approval_form').id
+ return {
+ "type": "ir.actions.act_window",
+ "name": "物业出租申报会议审批表",
+ "res_model": "property.meeting.approval",
+ "views": [[form_id, "form"]],
+ }
+
class EvaluatedApplicationLine(models.Model):
_name = 'evaluated.application.line'
diff --git a/yuthon_property_approval/models/property_rental_conditions.py b/yuthon_property_approval/models/property_rental_conditions.py
index bb6fb2649..af0c456f0 100644
--- a/yuthon_property_approval/models/property_rental_conditions.py
+++ b/yuthon_property_approval/models/property_rental_conditions.py
@@ -37,7 +37,7 @@ class NowRentalConditionsLine(models.Model):
property_rental_conditions_id = fields.Many2one('property.rental.conditions', string='关联出租调整表')
rental_price = fields.Float(string='租金底价(元/m²)')
rental_price_month = fields.Float(string='租金底价(/m²)')
- rental_year = fields.Char(string='租聘期限(年)')
+ lease_period = fields.Integer(string='租聘期限(<=)')
increment_rate = fields.Char(string='每年递增率(%)')
rental_use = fields.Many2one('yuthon.rental.purpose',string='出租用途')
other = fields.Char(string='其他')
@@ -50,7 +50,7 @@ class RentalConditionsLine(models.Model):
property_rental_conditions_id = fields.Many2one('property.rental.conditions', string='关联出租调整表')
new_rental_price = fields.Float(string='租金底价(元/m²)')
new_rental_price_month = fields.Float(string='租金底价(/m²)')
- new_rental_year = fields.Char(string='租聘期限(年)')
+ new_rental_year = fields.Integer(string='租聘期限(<=)')
new_increment_rate = fields.Char(string='每年递增率(%)')
new_rental_use = fields.Many2one('yuthon.rental.purpose', string='出租用途')
new_other = fields.Char(string='其他')
\ No newline at end of file
diff --git a/yuthon_property_approval/security/ir.model.access.csv b/yuthon_property_approval/security/ir.model.access.csv
index f9795e04d..138204f61 100644
--- a/yuthon_property_approval/security/ir.model.access.csv
+++ b/yuthon_property_approval/security/ir.model.access.csv
@@ -92,5 +92,6 @@ access_property_current_approval, property_current_approval,model_property_curre
access_property_accounts_approval, property_accounts_approval,model_property_accounts_approval,base.group_user,1,1,1,1
access_yuthon_property_line,yuthon_property_line,model_yuthon_property_line,base.group_user,1,1,1,1
access_property_tenant_line, property_tenant_line,model_property_tenant_line,base.group_user,1,1,1,1
+access_property_meeting_approval,property_meeting_approval,model_property_meeting_approval,base.group_user,1,1,1,1
diff --git a/yuthon_property_approval/static/others/property_template.xlsx b/yuthon_property_approval/static/others/property_template.xlsx
new file mode 100644
index 0000000000000000000000000000000000000000..a658c70676d06f79b3b844b19a4d6a9aea1f052f
GIT binary patch
literal 9459
zcma)iby!?W@;1TUEx5Y|C%6T-00Dx#56(a!xVyUqch}$&Bsc_@;1b*&z9HGY_a?i)
zeZKzVoO#Z?)z$rWcXfAFDat@V!h=1RK>0PH=l8!09O#D;z);a1VC%rF2!dgPKEVEj
zHFM2Xu)F{RV+RKVL;WXA-`181Xl<1q-6;*hiYb2O^MqOrU}GdxensmO^cqIfiI5F2
z-yw@0vpsgp$mB?R4P$c-P`O8B!x$@Sw0F@x+-y68%><;R)UNo}Qx(M8Nx^|c_x+>*BBf$s|Ah^C?$Kin;+jzHdqCiD)T!@P7wUgzxMmx-~xd8qTX
zhntgw3nr#jhTGk;#O@u%JqXra2&H}KW}hCkaP6+VUc4?>Rmn(CFol2)e$g&D?obY}
z{B+T_$F;`YcU*TjHYZTOvx~0o_aFgcS0BVK+CSMf1lSut(;FT$DBsP3Dt;w-FS_Aj
zP=Erj784TqIU5~aoWwbS-)#6*>dg|kMkc*5|f{#L;A#!!ho{KpO!7q~!moUEfTEUf8
z%xdj6k68m$z?3XzqG%egs7xHm&F-SQ^kcVRe7G7JSXQ5LQjT1}CG`x+OlY_|D6aZ8
zT*jS6hLL8EF!Zjz5mVY?x5c^`5hZRbgwo;TOXRi$lJd(h+kGDbJR2Y?!oLd(i;oCc!!|9lrwx4JUJJV>-Z{XW34IqcHIM`(z397-xH(2FM=9k4NbAO$@62#
z8p7|Sqo^lf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&LLnS)h$tnsf%-20*0aK{S2_(TN9ogIpcIVE??!|BGEY3s7{@|H^+^c&IHQJwaJ|!%CWT
zVVd77sy88+5pMXruc5-0)Q%(<9{>q}ZoL|oTv!_A4q}%522+tmCylxzSJ`@m>CRr^
zqCgT<*WdSR1F5iFhFSEm$;QI(&)=r%R=1`D`PqU(i>cz91Nu
z^{6EqXBh#a+B2DS06w(7W@?pLQBKxG;w0efRAG>%%XoMGVV%N9SdGsHyS_9f7&R<`
zEc$Jm;}0)o8#pZ0Esoh8FD@hBlN>+iEtih^!|?22O<`7S)>e2K&c;)F0uLeifZ}%5
zh}rYWq68s41Q|4yvHDV>cy9_)DkQ;-CnFi+Rr_nEocddXHSpMmL^c$>1dT1(>#w#}
zVvrXZWa*OovVEw+G*)0S98(#WhlK>8tryYL(2q+(*!;rsjzwPEfOZEkjV;LI!M>Y<
ztFw{H?poT5ukZ&WE8C1B^B%>!%NK3Y_3aETXPsw;ocAD4#0zlDpDwvy2@8LY3}|q`
zUVxE+o&v=Gb)0@x@ZTep&lcxbdCq+(Ao$z<{I2v*3-m1WOX=WWGCx<$|5En6B!87>
zWzXdwIT^p}`!g%!8T?Bh^*_b_m80<|MSo@;{4MPdn$mwM{dW$+pW=VU&;J&`1zC*0
z#s7+?|F2Fz2Z?``=T1LIdO_yqe+m4~(i!1D?9-nO{nL;=>-ohJ9??I<{==;OS{yVJs`waOru=%$}XqbP9
z{T=4~v&nz@a{sPC1r)aj>HQ~d|Etl@QT|`$d4yeljqtPZUorpRTmEO%|5^6esO9{J
Z?B6*6iZW0?7b_Ylj|K*Wn
-
-
+
diff --git a/yuthon_property_approval/views/property_meeting_approval_views.xml b/yuthon_property_approval/views/property_meeting_approval_views.xml
new file mode 100644
index 000000000..8f1c5200f
--- /dev/null
+++ b/yuthon_property_approval/views/property_meeting_approval_views.xml
@@ -0,0 +1,114 @@
+
+
+
+ property.meeting.approval.tree
+ property.meeting.approval
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ property.meeting.approval.form
+ property.meeting.approval
+
+
+
+
+
+ 出租申报会议审批表
+ property.meeting.approval
+ tree,form
+
+
+
+
diff --git a/yuthon_property_approval/views/property_menu_all.xml b/yuthon_property_approval/views/property_menu_all.xml
index 394926d66..fa0da81d4 100644
--- a/yuthon_property_approval/views/property_menu_all.xml
+++ b/yuthon_property_approval/views/property_menu_all.xml
@@ -166,7 +166,12 @@
name="备案申请"
action="property_record_action"
sequence="9"/>
-
+