diff --git a/yuthon_property/__manifest__.py b/yuthon_property/__manifest__.py index 136cd8d4f..60742e59d 100644 --- a/yuthon_property/__manifest__.py +++ b/yuthon_property/__manifest__.py @@ -30,6 +30,15 @@ 'views/property_rent_list_views.xml', 'views/property_management_list_views.xml', 'views/property_penalty_list_views.xml', + 'views/property_check_elevator_views.xml', + 'views/property_check_equipment_views.xml', + 'views/property_check_escape_views.xml', + 'views/property_check_list_views.xml', + 'views/property_check_lobby_views.xml', + 'views/property_check_project_views.xml', + 'views/property_check_room_views.xml', + 'views/property_check_stairs_views.xml', + 'views/property_check_decorate_views.xml', 'views/property_other_list_views.xml', 'views/menuitem.xml', ], diff --git a/yuthon_property/models/__init__.py b/yuthon_property/models/__init__.py index 29d1f35e3..770d34e03 100644 --- a/yuthon_property/models/__init__.py +++ b/yuthon_property/models/__init__.py @@ -20,4 +20,13 @@ from . import property_water_list from . import property_tariff_list from . import property_penalty_list from . import property_management_list -from . import property_other_list \ No newline at end of file +from . import property_other_list +from . import property_check_decorate +from . import property_check_elevator +from . import property_check_equipment +from . import property_check_escape +from . import property_check_list +from . import property_check_lobby +from . import property_check_project +from . import property_check_room +from . import property_check_stairs \ No newline at end of file diff --git a/yuthon_property/models/property_check_decorate.py b/yuthon_property/models/property_check_decorate.py new file mode 100644 index 000000000..33fab1852 --- /dev/null +++ b/yuthon_property/models/property_check_decorate.py @@ -0,0 +1,9 @@ +from odoo import models, fields, api + + +class PropertyCheckDecorate(models.Model): + _name = 'property.check.decorate' + _description = '巡检违章装修' + + name = fields.Char(string='名称') + sequence = fields.Integer(string='序号') \ No newline at end of file diff --git a/yuthon_property/models/property_check_elevator.py b/yuthon_property/models/property_check_elevator.py new file mode 100644 index 000000000..e33bd2b39 --- /dev/null +++ b/yuthon_property/models/property_check_elevator.py @@ -0,0 +1,10 @@ +from odoo import models, fields, api + + +class PropertyCheckElevator(models.Model): + _name = 'property.check.elevator' + _description = '巡检电梯' + + name = fields.Char(string='名称') + sequence = fields.Integer(string='序号') + diff --git a/yuthon_property/models/property_check_equipment.py b/yuthon_property/models/property_check_equipment.py new file mode 100644 index 000000000..9780951b0 --- /dev/null +++ b/yuthon_property/models/property_check_equipment.py @@ -0,0 +1,11 @@ +from odoo import models, fields, api + + +class PropertyCheckEquipment(models.Model): + _name = 'property.check.equipment' + _description = '公告设施巡检' + + name = fields.Char(string='名称') + sequence = fields.Integer(string='序号') + + diff --git a/yuthon_property/models/property_check_escape.py b/yuthon_property/models/property_check_escape.py new file mode 100644 index 000000000..8cda32e7b --- /dev/null +++ b/yuthon_property/models/property_check_escape.py @@ -0,0 +1,10 @@ +from odoo import models, fields, api + + +class PropertyCheckEscape(models.Model): + _name = 'property.check.escape' + _description = '巡检逃生平台' + + name = fields.Char(string='名称') + sequence = fields.Integer(string='序号') + diff --git a/yuthon_property/models/property_check_list.py b/yuthon_property/models/property_check_list.py new file mode 100644 index 000000000..21d1e99a8 --- /dev/null +++ b/yuthon_property/models/property_check_list.py @@ -0,0 +1,10 @@ +from odoo import models, fields, api + + +class PropertyCheckList(models.Model): + _name = 'property.check.list' + _description = '检查电水表' + + name = fields.Char(string='名称') + sequence = fields.Integer(string='序号') + diff --git a/yuthon_property/models/property_check_lobby.py b/yuthon_property/models/property_check_lobby.py new file mode 100644 index 000000000..37f515a73 --- /dev/null +++ b/yuthon_property/models/property_check_lobby.py @@ -0,0 +1,11 @@ +from odoo import models, fields, api + + +class PropertyCheckLobby(models.Model): + _name = 'property.check.lobby' + _description = '巡检大堂、门厅、走廊' + + name = fields.Char(string='名称') + sequence = fields.Integer(string='序号') + + diff --git a/yuthon_property/models/property_check_project.py b/yuthon_property/models/property_check_project.py new file mode 100644 index 000000000..9d6d8f84b --- /dev/null +++ b/yuthon_property/models/property_check_project.py @@ -0,0 +1,10 @@ +from odoo import models, fields, api + + +class PropertyCheckProject(models.Model): + _name = 'property.check.project' + _description = '巡检项目' + + name = fields.Char(string='名称') + sequence = fields.Integer(string='序号') + diff --git a/yuthon_property/models/property_check_room.py b/yuthon_property/models/property_check_room.py new file mode 100644 index 000000000..16b2061d2 --- /dev/null +++ b/yuthon_property/models/property_check_room.py @@ -0,0 +1,10 @@ +from odoo import models, fields, api + + +class PropertyCheckRoom(models.Model): + _name = 'property.check.room' + _description = '查询空置房' + + name = fields.Char(string='名称') + sequence = fields.Integer(string='序号') + diff --git a/yuthon_property/models/property_check_stairs.py b/yuthon_property/models/property_check_stairs.py new file mode 100644 index 000000000..831c468b1 --- /dev/null +++ b/yuthon_property/models/property_check_stairs.py @@ -0,0 +1,9 @@ +from odoo import models, fields, api + + +class PropertyCheckStairs(models.Model): + _name = 'property.check.stairs' + _description = '巡检楼梯间' + + name = fields.Char(string='名称') + sequence = fields.Integer(string='序号') diff --git a/yuthon_property/security/ir.model.access.csv b/yuthon_property/security/ir.model.access.csv index d9c30d086..6dcd974e9 100644 --- a/yuthon_property/security/ir.model.access.csv +++ b/yuthon_property/security/ir.model.access.csv @@ -30,4 +30,13 @@ access_property_water_list,property_water_list,model_property_water_list,base.gr access_property_tariff_list,property_tariff_list,model_property_tariff_list,base.group_user,1,1,1,1 access_property_management_list,property_management_list,model_property_management_list,base.group_user,1,1,1,1 access_property_penalty_list,property_penalty_list,model_property_penalty_list,base.group_user,1,1,1,1 -access_property_other_list,property_other_list,model_property_other_list,base.group_user,1,1,1,1 \ No newline at end of file +access_property_other_list,property_other_list,model_property_other_list,base.group_user,1,1,1,1 +access_property_check_decorate,property_check_decorate,model_property_check_decorate,base.group_user,1,1,1,1 +access_property_check_elevator,property_check_elevator,model_property_check_elevator,base.group_user,1,1,1,1 +access_property_check_equipment,property_check_equipment,model_property_check_equipment,base.group_user,1,1,1,1 +access_property_check_escape,property_check_escape,model_property_check_escape,base.group_user,1,1,1,1 +access_property_check_list,property_check_list,model_property_check_list,base.group_user,1,1,1,1 +access_property_check_lobby,property_check_lobby,model_property_check_lobby,base.group_user,1,1,1,1 +access_property_check_project,property_check_project,model_property_check_project,base.group_user,1,1,1,1 +access_property_check_room,property_check_room,model_property_check_room,base.group_user,1,1,1,1 +access_property_check_stairs,property_check_stairs,model_property_check_stairs,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 795fb2024..d925e0b65 100644 --- a/yuthon_property/views/menuitem.xml +++ b/yuthon_property/views/menuitem.xml @@ -202,6 +202,55 @@ name="巡更计划" parent="yuthon_security_inspection_menu" action="property_patrol_plan"/> + + + + + + + + + + + + + property.check.decorate.tree + property.check.decorate + + + + + + + + + property.check.decorate.form + property.check.decorate + +
+ + + + + + +
+
+
+ + 违章装修 + property.check.decorate + tree,form + +
\ No newline at end of file diff --git a/yuthon_property/views/property_check_elevator_views.xml b/yuthon_property/views/property_check_elevator_views.xml new file mode 100644 index 000000000..52e546b04 --- /dev/null +++ b/yuthon_property/views/property_check_elevator_views.xml @@ -0,0 +1,33 @@ + + + + property.check.elevator.tree + property.check.elevator + + + + + + + + + property.check.elevator.form + property.check.elevator + +
+ + + + + + +
+
+
+ + 巡检电梯 + property.check.elevator + tree,form + +
+ diff --git a/yuthon_property/views/property_check_equipment_views.xml b/yuthon_property/views/property_check_equipment_views.xml new file mode 100644 index 000000000..6d6fcdf45 --- /dev/null +++ b/yuthon_property/views/property_check_equipment_views.xml @@ -0,0 +1,34 @@ + + + + property.check.equipment.tree + property.check.equipment + + + + + + + + + property.check.equipment.form + property.check.equipment + +
+ + + + + + +
+
+
+ + 公告设施巡检 + property.check.equipment + tree,form + +
+ + diff --git a/yuthon_property/views/property_check_escape_views.xml b/yuthon_property/views/property_check_escape_views.xml new file mode 100644 index 000000000..9e0c793b6 --- /dev/null +++ b/yuthon_property/views/property_check_escape_views.xml @@ -0,0 +1,35 @@ + + + + property.check.escape.tree + property.check.escape + + + + + + + + + property.check.escape.form + property.check.escape + +
+ + + + + + +
+
+
+ + 巡检逃生平台 + property.check.escape + tree,form + +
+ + + diff --git a/yuthon_property/views/property_check_list_views.xml b/yuthon_property/views/property_check_list_views.xml new file mode 100644 index 000000000..ea76e5ab3 --- /dev/null +++ b/yuthon_property/views/property_check_list_views.xml @@ -0,0 +1,32 @@ + + + + property.check.list.tree + property.check.list + + + + + + + + + property.check.list.form + property.check.list + +
+ + + + + + +
+
+
+ + 检查电水表 + property.check.list + tree,form + +
diff --git a/yuthon_property/views/property_check_lobby_views.xml b/yuthon_property/views/property_check_lobby_views.xml new file mode 100644 index 000000000..93f09565b --- /dev/null +++ b/yuthon_property/views/property_check_lobby_views.xml @@ -0,0 +1,35 @@ + + + + property.check.lobby.tree + property.check.lobby + + + + + + + + + property.check.lobby.form + property.check.lobby + +
+ + + + + + +
+
+
+ + 巡检大堂、门厅、走廊 + property.check.lobby + tree,form + +
+ + + diff --git a/yuthon_property/views/property_check_project_views.xml b/yuthon_property/views/property_check_project_views.xml new file mode 100644 index 000000000..ae1ab4c05 --- /dev/null +++ b/yuthon_property/views/property_check_project_views.xml @@ -0,0 +1,34 @@ + + + + property.check.project.tree + property.check.project + + + + + + + + + property.check.project.form + property.check.project + +
+ + + + + + +
+
+
+ + 巡检项目 + property.check.project + tree,form + +
+ + diff --git a/yuthon_property/views/property_check_room_views.xml b/yuthon_property/views/property_check_room_views.xml new file mode 100644 index 000000000..0e5ebcc92 --- /dev/null +++ b/yuthon_property/views/property_check_room_views.xml @@ -0,0 +1,33 @@ + + + + property.check.room.tree + property.check.room + + + + + + + + + property.check.room.form + property.check.room + +
+ + + + + + +
+
+
+ + 查询空置房 + property.check.room + tree,form + +
+ diff --git a/yuthon_property/views/property_check_stairs_views.xml b/yuthon_property/views/property_check_stairs_views.xml new file mode 100644 index 000000000..77c244a07 --- /dev/null +++ b/yuthon_property/views/property_check_stairs_views.xml @@ -0,0 +1,32 @@ + + + + property.check.stairs.tree + property.check.stairs + + + + + + + + + property.check.stairs.form + property.check.stairs + +
+ + + + + + +
+
+
+ + 巡检楼梯间 + property.check.stairs + tree,form + +