@@ -38,7 +38,7 @@
|
||||
<field name="model">hr.leave.allocation</field>
|
||||
<field name="inherit_id" ref="hr_holidays.hr_leave_allocation_view_form"/>
|
||||
<field name="arch" type="xml">
|
||||
<xpath expr="//div[@name='duration_display']" position="after">
|
||||
<xpath expr="//group[@name='alloc_right_col']" position="after">
|
||||
<group>
|
||||
<field name="remarks" invisible="1"/>
|
||||
</group>
|
||||
|
||||
@@ -26,8 +26,10 @@
|
||||
<field name="related_issues_id" invisible="not is_issues"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="original_days"/>
|
||||
<field name="now_days"/>
|
||||
<field name="original_days" invisible="now_type != 'days'"/>
|
||||
<field name="now_days" invisible="now_type != 'days'"/>
|
||||
<field name="original_hours" invisible="now_type != 'hours'"/>
|
||||
<field name="now_hours" invisible="now_type != 'hours'"/>
|
||||
<field name="remarks" invisible="1"/>
|
||||
<field name="yuthon_company" invisible="1"/>
|
||||
<field name="department_id" invisible="1"/>
|
||||
|
||||
@@ -14,13 +14,13 @@
|
||||
'data': [
|
||||
'security/ir.model.access.csv',
|
||||
'data/library_changes_data.xml',
|
||||
'views/yuthon_Index_management.xml',
|
||||
'views/yuthon_index_management.xml',
|
||||
'views/yuthon_duty_management.xml',
|
||||
'views/yuthon_performance_menus.xml',
|
||||
'views/yuthon_plan_management.xml',
|
||||
'views/yuthon_departmental_responsible_views.xml',
|
||||
'views/yuthon_personal_logs_views.xml',
|
||||
'views/yuthon_Index_approval.xml',
|
||||
'views/yuthon_index_approval.xml',
|
||||
'views/yuthon_tissue_duty_approval.xml',
|
||||
'views/yuthon_index_employee.xml',
|
||||
'views/yuthon_employee_approval.xml',
|
||||
@@ -30,7 +30,9 @@
|
||||
'views/yuthon_grading_tasks.xml',
|
||||
'views/yuthon_employee_appraisal.xml',
|
||||
'views/yuthon_kpi_tasks.xml',
|
||||
'views/performacne_menu.xml',
|
||||
'wizard/yuthon_assessment_tasks_wizard_views.xml',
|
||||
|
||||
],
|
||||
'installable': True,
|
||||
'application': True,
|
||||
|
||||
@@ -1,9 +1,7 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
from . import yuthon_employee_approval
|
||||
from . import yuthon_Index_management
|
||||
from . import yuthon_duty_management
|
||||
from . import yuthon_plan_management
|
||||
from . import yuthon_Index_approval
|
||||
from . import yuthon_tissue_duty_approval
|
||||
from . import yuthon_index_employee
|
||||
from . import yuthon_plan_approval
|
||||
@@ -13,4 +11,6 @@ from . import yuthon_grading_tasks
|
||||
from . import yuthon_kpi_tasks
|
||||
from . import yuthon_employee_appraisal
|
||||
from . import yuthon_departmental_responsible
|
||||
from . import yuthon_personal_logs
|
||||
from . import yuthon_index_management
|
||||
from . import yuthon_personal_logs
|
||||
from . import yuthon_index_approval
|
||||
@@ -3,77 +3,73 @@
|
||||
<!-- 绩效考核 -->
|
||||
<menuitem id="yuthon_performance_menu_config_root"
|
||||
name="绩效考核"
|
||||
web_icon="yuthon_performance,static/description/icon.png"
|
||||
web_icon="yuthon_performance,static/description/icon.png"
|
||||
sequence="13"/>
|
||||
<menuitem id="yuthon_performance_menu_tt_root"
|
||||
name="天河投资绩效"
|
||||
<menuitem id="yuthon_index_management_menu"
|
||||
parent="yuthon_performance_menu_config_root"
|
||||
sequence="1"/>
|
||||
<menuitem id="yuthon_index_management_menu_tt"
|
||||
parent="yuthon_performance_menu_tt_root"
|
||||
name="指标库"
|
||||
sequence="1"/>
|
||||
<menuitem id="yuthon_organization_performance_library"
|
||||
parent="yuthon_index_management_menu_tt"
|
||||
parent="yuthon_index_management_menu"
|
||||
name="组织绩效指标库"
|
||||
sequence="1"
|
||||
action="yuthon_index_management_action1"/>
|
||||
action="yuthon_index_management_action"/>
|
||||
<menuitem id="yuthon_employee_performance_library"
|
||||
parent="yuthon_index_management_menu_tt"
|
||||
parent="yuthon_index_management_menu"
|
||||
name="员工绩效指标库"
|
||||
sequence="3"
|
||||
action="yuthon_index_employee_action1"/>
|
||||
<menuitem id="yuthon_performance_approval_management_menu"
|
||||
parent="yuthon_index_management_menu_tt"
|
||||
parent="yuthon_index_management_menu"
|
||||
name="组织指标变更申请表"
|
||||
action="yuthon_index_approval_action1"
|
||||
sequence="5"/>
|
||||
<menuitem id="yuthon_performance_employee_management_menu"
|
||||
parent="yuthon_index_management_menu_tt"
|
||||
parent="yuthon_index_management_menu"
|
||||
name="员工指标变更申请表"
|
||||
action="yuthon_employee_approval_action1"
|
||||
sequence="7"/>
|
||||
<menuitem id="yuthon_performance_duty_menu_tt"
|
||||
parent="yuthon_performance_menu_tt_root"
|
||||
<menuitem id="yuthon_performance_duty_menu"
|
||||
parent="yuthon_performance_menu_config_root"
|
||||
name="考核任务"
|
||||
sequence="3"/>
|
||||
<menuitem id="yuthon_performance_duty_management_menu"
|
||||
parent="yuthon_performance_duty_menu_tt"
|
||||
parent="yuthon_performance_duty_menu"
|
||||
name="考核任务总汇"
|
||||
action="yuthon_assessment_tasks_action1"
|
||||
sequence="1"/>
|
||||
<menuitem id="yuthon_organization_performance_menu"
|
||||
parent="yuthon_performance_duty_menu_tt"
|
||||
parent="yuthon_performance_duty_menu"
|
||||
name="组织绩效责任书"
|
||||
sequence="3"
|
||||
action="yuthon_duty_management_action1"/>
|
||||
<menuitem id="yuthon_employee_performance_menu"
|
||||
parent="yuthon_performance_duty_menu_tt"
|
||||
parent="yuthon_performance_duty_menu"
|
||||
name="员工绩效"
|
||||
sequence="5"
|
||||
action="yuthon_employee_performance_action1"/>
|
||||
<menuitem id="yuthon_tissue_duty_approval_menu"
|
||||
name="组织绩效变更申请"
|
||||
parent="yuthon_performance_duty_menu_tt"
|
||||
parent="yuthon_performance_duty_menu"
|
||||
sequence="7"
|
||||
action="yuthon_tissue_duty_approval_action1"/>
|
||||
<menuitem id="yuthon_plan_management"
|
||||
parent="yuthon_performance_menu_tt_root"
|
||||
parent="yuthon_performance_menu_config_root"
|
||||
name="个人工作任务"
|
||||
sequence="5"
|
||||
action="yuthon_plan_management_action1"/>
|
||||
<menuitem id="action_yuthon_personal_logs"
|
||||
parent="yuthon_performance_menu_tt_root"
|
||||
<menuitem id="action_yuthon_personal_logs_menu"
|
||||
parent="yuthon_performance_menu_config_root"
|
||||
name="个人日志表"
|
||||
sequence="6"
|
||||
action="action_yuthon_personal_logs"/>
|
||||
<menuitem id="yuthon_departmental_responsible"
|
||||
parent="yuthon_performance_menu_tt_root"
|
||||
name="本部门绩效责任书"
|
||||
parent="yuthon_performance_menu_config_root"
|
||||
name="绩效责任书"
|
||||
sequence="9"
|
||||
action="action_yuthon_departmental_responsible"/>
|
||||
<menuitem id="yuthon_score_root"
|
||||
parent="yuthon_performance_menu_tt_root"
|
||||
parent="yuthon_performance_menu_config_root"
|
||||
name="评分"
|
||||
sequence="15"/>
|
||||
<menuitem id="yuthon_score_form_menu"
|
||||
@@ -95,186 +91,4 @@
|
||||
name="员工绩效考核表"
|
||||
sequence="5"
|
||||
action="yuthon_employee_appraisal_action1"/>
|
||||
|
||||
<!--天河粮储-->
|
||||
<menuitem id="yuthon_performance_menu_lc_config"
|
||||
name="天河粮储绩效"
|
||||
parent="yuthon_performance_menu_config_root"
|
||||
sequence="3"/>
|
||||
<menuitem id="yuthon_index_management_menu_lc"
|
||||
parent="yuthon_performance_menu_lc_config"
|
||||
name="指标库"
|
||||
sequence="1"/>
|
||||
<menuitem id="yuthon_organization_performance_library"
|
||||
parent="yuthon_index_management_menu_lc"
|
||||
name="组织绩效指标库"
|
||||
sequence="1"
|
||||
action="yuthon_index_management_action2"/>
|
||||
<menuitem id="yuthon_employee_performance_library"
|
||||
parent="yuthon_index_management_menu_lc"
|
||||
name="员工绩效指标库"
|
||||
sequence="3"
|
||||
action="yuthon_index_employee_action2"/>
|
||||
<menuitem id="yuthon_performance_approval_management_menu"
|
||||
parent="yuthon_index_management_menu_lc"
|
||||
name="组织指标变更申请表"
|
||||
action="yuthon_index_approval_action2"
|
||||
sequence="5"/>
|
||||
<menuitem id="yuthon_performance_employee_management_menu"
|
||||
parent="yuthon_index_management_menu_lc"
|
||||
name="员工指标变更申请表"
|
||||
action="yuthon_employee_approval_action2"
|
||||
sequence="7"/>
|
||||
<menuitem id="yuthon_performance_duty_menu_lc"
|
||||
parent="yuthon_performance_menu_lc_config"
|
||||
name="考核任务"
|
||||
sequence="3"/>
|
||||
<menuitem id="yuthon_performance_duty_management_menu"
|
||||
parent="yuthon_performance_duty_menu_lc"
|
||||
name="考核任务总汇"
|
||||
action="yuthon_assessment_tasks_action2"
|
||||
sequence="1"/>
|
||||
<menuitem id="yuthon_organization_performance_menu"
|
||||
parent="yuthon_performance_duty_menu_lc"
|
||||
name="组织绩效责任书"
|
||||
sequence="3"
|
||||
action="yuthon_duty_management_action2"/>
|
||||
<menuitem id="yuthon_employee_performance_menu"
|
||||
parent="yuthon_performance_duty_menu_lc"
|
||||
name="员工绩效"
|
||||
sequence="5"
|
||||
action="yuthon_employee_performance_action2"/>
|
||||
<menuitem id="yuthon_tissue_duty_approval_menu"
|
||||
name="组织绩效变更申请"
|
||||
parent="yuthon_performance_duty_menu_lc"
|
||||
sequence="7"
|
||||
action="yuthon_tissue_duty_approval_action2"/>
|
||||
<menuitem id="yuthon_plan_management"
|
||||
parent="yuthon_performance_menu_lc_config"
|
||||
name="个人工作任务"
|
||||
sequence="5"
|
||||
action="yuthon_plan_management_action2"/>
|
||||
<menuitem id="action_yuthon_personal_logs"
|
||||
parent="yuthon_performance_menu_lc_config"
|
||||
name="个人日志表"
|
||||
sequence="6"
|
||||
action="action_yuthon_personal_logs"/>
|
||||
<menuitem id="yuthon_departmental_responsible"
|
||||
parent="yuthon_performance_menu_lc_config"
|
||||
name="本部门绩效责任书"
|
||||
sequence="9"
|
||||
action="action_yuthon_departmental_responsible"/>
|
||||
<menuitem id="yuthon_score_root"
|
||||
parent="yuthon_performance_menu_lc_config"
|
||||
name="评分"
|
||||
sequence="15"/>
|
||||
<menuitem id="yuthon_score_form_menu"
|
||||
parent="yuthon_score_root"
|
||||
name="组织绩效评分表"
|
||||
sequence="2"/>
|
||||
<menuitem id="yuthon_gs_tasks_menu"
|
||||
parent="yuthon_score_form_menu"
|
||||
name="GS评分表"
|
||||
sequence="1"
|
||||
action="yuthon_grading_tasks_action2"/>
|
||||
<menuitem id="yuthon_kpi_tasks_menu"
|
||||
parent="yuthon_score_form_menu"
|
||||
name="KPI评分表"
|
||||
sequence="3"
|
||||
action="yuthon_kpi_tasks_action2"/>
|
||||
<menuitem id="yuthon_employee_appraisal_root"
|
||||
parent="yuthon_score_root"
|
||||
name="员工绩效考核表"
|
||||
sequence="5"
|
||||
action="yuthon_employee_appraisal_action2"/>
|
||||
<menuitem id="yuthon_performance_menu_wg_config"
|
||||
name="天河物管绩效"
|
||||
parent="yuthon_performance_menu_config_root"
|
||||
sequence="5"/>
|
||||
<menuitem id="yuthon_index_management_menu_wg"
|
||||
parent="yuthon_performance_menu_wg_config"
|
||||
name="指标库"
|
||||
sequence="1"/>
|
||||
<menuitem id="yuthon_organization_performance_library_board3"
|
||||
parent="yuthon_index_management_menu_wg"
|
||||
name="组织绩效指标库"
|
||||
sequence="1"
|
||||
action="yuthon_index_management_action3"/>
|
||||
<menuitem id="yuthon_employee_performance_library_board3"
|
||||
parent="yuthon_index_management_menu_wg"
|
||||
name="员工绩效指标库"
|
||||
sequence="3"
|
||||
action="yuthon_index_employee_action3"/>
|
||||
<menuitem id="yuthon_performance_approval_management_menu_board3"
|
||||
parent="yuthon_index_management_menu_wg"
|
||||
name="组织指标变更申请表"
|
||||
action="yuthon_index_approval_action3"
|
||||
sequence="5"/>
|
||||
<menuitem id="yuthon_performance_employee_management_menu_board3"
|
||||
parent="yuthon_index_management_menu_wg"
|
||||
name="员工指标变更申请表"
|
||||
action="yuthon_employee_approval_action3"
|
||||
sequence="7"/>
|
||||
<menuitem id="yuthon_performance_duty_menu_wg"
|
||||
parent="yuthon_performance_menu_wg_config"
|
||||
name="考核任务"
|
||||
sequence="3"/>
|
||||
<menuitem id="yuthon_performance_duty_management_menu_board3"
|
||||
parent="yuthon_performance_duty_menu_wg"
|
||||
name="考核任务总汇"
|
||||
action="yuthon_assessment_tasks_action3"
|
||||
sequence="1"/>
|
||||
<menuitem id="yuthon_organization_performance_menu_board3"
|
||||
parent="yuthon_performance_duty_menu_wg"
|
||||
name="组织绩效责任书"
|
||||
sequence="3"
|
||||
action="yuthon_duty_management_action3"/>
|
||||
<menuitem id="yuthon_employee_performance_menu_board3"
|
||||
parent="yuthon_performance_duty_menu_wg"
|
||||
name="员工绩效"
|
||||
sequence="5"
|
||||
action="yuthon_employee_performance_action3"/>
|
||||
<menuitem id="yuthon_tissue_duty_approval_menu_board3"
|
||||
name="组织绩效变更申请"
|
||||
parent="yuthon_performance_duty_menu_wg"
|
||||
sequence="7"
|
||||
action="yuthon_tissue_duty_approval_action3"/>
|
||||
<menuitem id="yuthon_plan_management_board3"
|
||||
parent="yuthon_performance_menu_wg_config"
|
||||
name="个人工作任务"
|
||||
sequence="5"
|
||||
action="yuthon_plan_management_action3"/>
|
||||
<menuitem id="action_yuthon_personal_logs_board3"
|
||||
parent="yuthon_performance_menu_wg_config"
|
||||
name="个人日志表"
|
||||
sequence="6"
|
||||
action="action_yuthon_personal_logs"/>
|
||||
<menuitem id="yuthon_departmental_responsible_board3"
|
||||
parent="yuthon_performance_menu_wg_config"
|
||||
name="本部门绩效责任书"
|
||||
sequence="9"
|
||||
action="action_yuthon_departmental_responsible"/>
|
||||
<menuitem id="yuthon_score_root_board3"
|
||||
parent="yuthon_performance_menu_wg_config"
|
||||
name="评分"
|
||||
sequence="15"/>
|
||||
<menuitem id="yuthon_score_form_menu_board3"
|
||||
parent="yuthon_score_root_board3"
|
||||
name="组织绩效评分表"
|
||||
sequence="2"/>
|
||||
<menuitem id="yuthon_gs_tasks_menu_board3"
|
||||
parent="yuthon_score_form_menu_board3"
|
||||
name="GS评分表"
|
||||
sequence="1"
|
||||
action="yuthon_grading_tasks_action3"/>
|
||||
<menuitem id="yuthon_kpi_tasks_menu_board3"
|
||||
parent="yuthon_score_form_menu_board3"
|
||||
name="KPI评分表"
|
||||
sequence="3"
|
||||
action="yuthon_kpi_tasks_action3"/>
|
||||
<menuitem id="yuthon_employee_appraisal_root_board3"
|
||||
parent="yuthon_score_root_board3"
|
||||
name="员工绩效考核表"
|
||||
sequence="5"
|
||||
action="yuthon_employee_appraisal_action2"/>
|
||||
</odoo>
|
||||
@@ -70,18 +70,5 @@
|
||||
<field name="name">考核任务</field>
|
||||
<field name="res_model">yuthon.assessment.tasks</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thtz')]</field>
|
||||
</record>
|
||||
<record id="yuthon_assessment_tasks_action2" model="ir.actions.act_window">
|
||||
<field name="name">考核任务</field>
|
||||
<field name="res_model">yuthon.assessment.tasks</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thlc')]</field>
|
||||
</record>
|
||||
<record id="yuthon_assessment_tasks_action3" model="ir.actions.act_window">
|
||||
<field name="name">考核任务</field>
|
||||
<field name="res_model">yuthon.assessment.tasks</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thwg')]</field>
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -100,18 +100,5 @@
|
||||
<field name="name">部门责任书</field>
|
||||
<field name="res_model">yuthon.duty.management</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thtz')]</field>
|
||||
</record>
|
||||
<record id="yuthon_duty_management_action2" model="ir.actions.act_window">
|
||||
<field name="name">部门责任书</field>
|
||||
<field name="res_model">yuthon.duty.management</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thlc')]</field>
|
||||
</record>
|
||||
<record id="yuthon_duty_management_action3" model="ir.actions.act_window">
|
||||
<field name="name">部门责任书</field>
|
||||
<field name="res_model">yuthon.duty.management</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thwg')]</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
@@ -78,19 +78,6 @@
|
||||
<field name="name">员工绩效考核表</field>
|
||||
<field name="res_model">yuthon.employee.appraisal</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thtz')]</field>
|
||||
</record>
|
||||
<record id="yuthon_employee_appraisal_action2" model="ir.actions.act_window">
|
||||
<field name="name">员工绩效考核表</field>
|
||||
<field name="res_model">yuthon.employee.appraisal</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thlc')]</field>
|
||||
</record>
|
||||
<record id="yuthon_employee_appraisal_action3" model="ir.actions.act_window">
|
||||
<field name="name">员工绩效考核表</field>
|
||||
<field name="res_model">yuthon.employee.appraisal</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thwg')]</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
|
||||
@@ -92,18 +92,5 @@
|
||||
<field name="name">员工指标库变更</field>
|
||||
<field name="res_model">yuthon.employee.approval</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thtz')]</field>
|
||||
</record>
|
||||
<record id="yuthon_employee_approval_action2" model="ir.actions.act_window">
|
||||
<field name="name">员工指标库变更</field>
|
||||
<field name="res_model">yuthon.employee.approval</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thlc')]</field>
|
||||
</record>
|
||||
<record id="yuthon_employee_approval_action3" model="ir.actions.act_window">
|
||||
<field name="name">员工指标库变更</field>
|
||||
<field name="res_model">yuthon.employee.approval</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thwg')]</field>
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -71,18 +71,5 @@
|
||||
<field name="name">员工绩效</field>
|
||||
<field name="res_model">yuthon.employee.performance</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thtz')]</field>
|
||||
</record>
|
||||
<record id="yuthon_employee_performance_action2" model="ir.actions.act_window">
|
||||
<field name="name">员工绩效</field>
|
||||
<field name="res_model">yuthon.employee.performance</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thlc')]</field>
|
||||
</record>
|
||||
<record id="yuthon_employee_performance_action3" model="ir.actions.act_window">
|
||||
<field name="name">员工绩效</field>
|
||||
<field name="res_model">yuthon.employee.performance</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thwg')]</field>
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -60,18 +60,5 @@
|
||||
<field name="name">GS评分表</field>
|
||||
<field name="res_model">yuthon.grading.tasks</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thtz')]</field>
|
||||
</record>
|
||||
<record id="yuthon_grading_tasks_action2" model="ir.actions.act_window">
|
||||
<field name="name">GS评分表</field>
|
||||
<field name="res_model">yuthon.grading.tasks</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thlc')]</field>
|
||||
</record>
|
||||
<record id="yuthon_grading_tasks_action3" model="ir.actions.act_window">
|
||||
<field name="name">GS评分表</field>
|
||||
<field name="res_model">yuthon.grading.tasks</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thwg')]</field>
|
||||
</record>
|
||||
</odoo>
|
||||
-14
@@ -98,19 +98,5 @@
|
||||
<field name="name">组织指标库变更</field>
|
||||
<field name="res_model">yuthon.index.approval</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thtz')]</field>
|
||||
</record>
|
||||
<record id="yuthon_index_approval_action2" model="ir.actions.act_window">
|
||||
<field name="name">组织指标库变更</field>
|
||||
<field name="res_model">yuthon.index.approval</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thlc')]</field>
|
||||
</record>
|
||||
<record id="yuthon_index_approval_action3" model="ir.actions.act_window">
|
||||
<field name="name">组织指标库变更</field>
|
||||
<field name="res_model">yuthon.index.approval</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thwg')]</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
@@ -57,18 +57,5 @@
|
||||
<field name="name">员工绩效</field>
|
||||
<field name="res_model">yuthon.index.employee</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thtz')]</field>
|
||||
</record>
|
||||
<record id="yuthon_index_employee_action2" model="ir.actions.act_window">
|
||||
<field name="name">员工绩效</field>
|
||||
<field name="res_model">yuthon.index.employee</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thlc')]</field>
|
||||
</record>
|
||||
<record id="yuthon_index_employee_action3" model="ir.actions.act_window">
|
||||
<field name="name">员工绩效</field>
|
||||
<field name="res_model">yuthon.index.employee</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thwg')]</field>
|
||||
</record>
|
||||
</odoo>
|
||||
+3
-18
@@ -40,7 +40,7 @@
|
||||
<field name="index_name" required="1"/>
|
||||
</h1>
|
||||
</div>
|
||||
<group col="4">
|
||||
<group col="4">
|
||||
<group>
|
||||
<field name="sequence"/>
|
||||
<field name="employee_ids" widget="many2many_tags"/>
|
||||
@@ -60,7 +60,7 @@
|
||||
<field name="end_index_time"/>
|
||||
<field name="development_goals"/>
|
||||
</group>
|
||||
</group>
|
||||
</group>
|
||||
<group>
|
||||
<field name="index_compute"/>
|
||||
<field name="check_norm"/>
|
||||
@@ -71,25 +71,10 @@
|
||||
</field>
|
||||
</record>
|
||||
<!-- Action-->
|
||||
<record id="yuthon_index_management_action1" model="ir.actions.act_window">
|
||||
<record id="yuthon_index_management_action" model="ir.actions.act_window">
|
||||
<field name="name">组织绩效</field>
|
||||
<field name="res_model">yuthon.index.management</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context">{'search_default_group_development_goals': 1}</field>
|
||||
<field name="domain">[('yuthon_company','=','thtz')]</field>
|
||||
</record>
|
||||
<record id="yuthon_index_management_action2" model="ir.actions.act_window">
|
||||
<field name="name">组织绩效</field>
|
||||
<field name="res_model">yuthon.index.management</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context">{'search_default_group_development_goals': 1}</field>
|
||||
<field name="domain">[('yuthon_company','=','thlc')]</field>
|
||||
</record>
|
||||
<record id="yuthon_index_management_action3" model="ir.actions.act_window">
|
||||
<field name="name">组织绩效</field>
|
||||
<field name="res_model">yuthon.index.management</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="context">{'search_default_group_development_goals': 1}</field>
|
||||
<field name="domain">[('yuthon_company','=','thwg')]</field>
|
||||
</record>
|
||||
</odoo>
|
||||
@@ -62,18 +62,5 @@
|
||||
<field name="name">KPI评分表</field>
|
||||
<field name="res_model">yuthon.kpi.tasks</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thtz')]</field>
|
||||
</record>
|
||||
<record id="yuthon_kpi_tasks_action2" model="ir.actions.act_window">
|
||||
<field name="name">KPI评分表</field>
|
||||
<field name="res_model">yuthon.kpi.tasks</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thlc')]</field>
|
||||
</record>
|
||||
<record id="yuthon_kpi_tasks_action3" model="ir.actions.act_window">
|
||||
<field name="name">KPI评分表</field>
|
||||
<field name="res_model">yuthon.kpi.tasks</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thwg')]</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<odoo>
|
||||
<menuitem id="yuthon_performance_menu_config_root"
|
||||
name="绩效考核"
|
||||
web_icon="yuthon_performance,static/description/icon.png"
|
||||
sequence="5"/>
|
||||
<!-- <menuitem id="yuthon_performance_menu_config_root"-->
|
||||
<!-- name="绩效考核"-->
|
||||
<!-- web_icon="yuthon_performance,static/description/icon.png"-->
|
||||
<!-- sequence="5"/>-->
|
||||
<!-- <menuitem id="yuthon_performance_duty_menu"-->
|
||||
<!-- parent="yuthon_performance_menu_config_root"-->
|
||||
<!-- name="绩效考核"-->
|
||||
|
||||
@@ -387,18 +387,5 @@
|
||||
<field name="name">个人工作任务</field>
|
||||
<field name="res_model">yuthon.plan.management</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thtz')]</field>
|
||||
</record>
|
||||
<record id="yuthon_plan_management_action2" model="ir.actions.act_window">
|
||||
<field name="name">个人工作任务</field>
|
||||
<field name="res_model">yuthon.plan.management</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thlc')]</field>
|
||||
</record>
|
||||
<record id="yuthon_plan_management_action3" model="ir.actions.act_window">
|
||||
<field name="name">个人工作任务</field>
|
||||
<field name="res_model">yuthon.plan.management</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thwg')]</field>
|
||||
</record>
|
||||
</odoo>
|
||||
|
||||
@@ -115,19 +115,5 @@
|
||||
<field name="name">组织绩效变更申请表</field>
|
||||
<field name="res_model">yuthon.tissue.duty.approval</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thtz')]</field>
|
||||
</record>
|
||||
<record id="yuthon_tissue_duty_approval_action2" model="ir.actions.act_window">
|
||||
<field name="name">组织绩效变更申请表</field>
|
||||
<field name="res_model">yuthon.tissue.duty.approval</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thlc')]</field>
|
||||
</record>
|
||||
<record id="yuthon_tissue_duty_approval_action3" model="ir.actions.act_window">
|
||||
<field name="name">组织绩效变更申请表</field>
|
||||
<field name="res_model">yuthon.tissue.duty.approval</field>
|
||||
<field name="view_mode">tree,form</field>
|
||||
<field name="domain">[('yuthon_company','=','thwg')]</field>
|
||||
</record>
|
||||
|
||||
</odoo>
|
||||
@@ -58,7 +58,7 @@ class YuthonProperty(models.Model):
|
||||
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="管理员")
|
||||
admin_id = fields.Many2one('res.users', string="片区管理员")
|
||||
lessee_id = fields.Many2one('property.tenant.information', string='承租方')
|
||||
title_address = fields.Many2one('yuthon.property.message', string="产权地址")
|
||||
company_id = fields.Many2one('yuthon.property.company', string="所属公司")
|
||||
|
||||
@@ -92,6 +92,7 @@ class PropertyLeaseContract(models.Model):
|
||||
is_mange = fields.Boolean(string="是否有管理费")
|
||||
miscellaneous = fields.Text(string="其他约定")
|
||||
total_area = fields.Float(string="总面积", digits=(16, 4))
|
||||
state = fields.Selection([('new', '新建'),('approval','审批'),('cancel','作废')], string="状态", default='new')
|
||||
contract_type = fields.Selection([('lease_renewal', '续租'), ('interim', '临租'), ('new', '补充协议'), ('first', '首租')], string="合同类型", default='first')
|
||||
lease_ids = fields.One2many('property.lease.contract.line', 'lease_id',string="物业信息明细行")
|
||||
breakdown_ids = fields.One2many('property.rent.breakdown.line', 'breakdown_id', string="物业租金明细行")
|
||||
@@ -432,10 +433,10 @@ class PropertyLeaseContract(models.Model):
|
||||
"period_rent": monthly_amount * increments_month,
|
||||
})
|
||||
|
||||
@api.onchange("first_year_rent")
|
||||
def _onchange_first_year_rent(self):
|
||||
for rec in self:
|
||||
rec.performance_bonds = rec.first_year_rent * 2
|
||||
# @api.onchange("first_year_rent")
|
||||
# def _onchange_first_year_rent(self):
|
||||
# for rec in self:
|
||||
# rec.performance_bonds = rec.first_year_rent * 2
|
||||
|
||||
# @api.onchange("total_area", "unit_price")
|
||||
# def _onchange_deposit(self):
|
||||
|
||||
@@ -52,6 +52,7 @@
|
||||
<field name="department_id" invisible="1"/>
|
||||
<field name="name" required="1"/>
|
||||
<field name="use_address"/>
|
||||
<field name="state"/>
|
||||
</group>
|
||||
<notebook>
|
||||
<page string="物业列表">
|
||||
@@ -112,6 +113,7 @@
|
||||
<field name="contact" required="1"/>
|
||||
<field name="phone" required="1"/>
|
||||
<field name="email" required="1"/>
|
||||
<field name="tax_number" required="1"/>
|
||||
</group>
|
||||
<group>
|
||||
<field name="invoicing_type" required="1"/>
|
||||
@@ -245,10 +247,23 @@
|
||||
</search>
|
||||
</field>
|
||||
</record>
|
||||
<record id="property_lease_contract_action" model="ir.actions.act_window">
|
||||
<record id="property_lease_contract_new_action" model="ir.actions.act_window">
|
||||
<field name="name">租赁合同审批</field>
|
||||
<field name="res_model">property.lease.contract</field>
|
||||
<field name="view_mode">tree,form,search</field>
|
||||
<field name="domain">[('state','=','new')] </field>
|
||||
</record>
|
||||
<record id="property_lease_contract_approval_action" model="ir.actions.act_window">
|
||||
<field name="name">租赁合同审批</field>
|
||||
<field name="res_model">property.lease.contract</field>
|
||||
<field name="view_mode">tree,form,search</field>
|
||||
<field name="domain">[('state','=','approval')]</field>
|
||||
</record>
|
||||
<record id="property_lease_contract_cancel_action" model="ir.actions.act_window">
|
||||
<field name="name">租赁合同审批</field>
|
||||
<field name="res_model">property.lease.contract</field>
|
||||
<field name="view_mode">tree,form,search</field>
|
||||
<field name="domain">[('state','=','cancel')]</field>
|
||||
</record>
|
||||
<record id="all_data_write_property_contract" model="ir.actions.server">
|
||||
<field name="name">批量导入合同</field>
|
||||
|
||||
@@ -191,11 +191,25 @@
|
||||
name="物业交接审批"
|
||||
action="view_property_transfer_action"
|
||||
sequence="3"/>
|
||||
<menuitem id="property_lease_contract_menu"
|
||||
<menuitem id="property_lease_contract_menu"
|
||||
parent="yuthon_property.yuthon_property_estate_menu"
|
||||
name="物业合同管理"
|
||||
action="property_lease_contract_action"
|
||||
sequence="1"/>
|
||||
<menuitem id="property_lease_contract_new_menu"
|
||||
parent="property_lease_contract_menu"
|
||||
name="新建"
|
||||
action="property_lease_contract_new_action"
|
||||
sequence="1"/>
|
||||
<menuitem id="property_lease_contract_approval_menu"
|
||||
parent="property_lease_contract_menu"
|
||||
name="审批"
|
||||
action="property_lease_contract_approval_action"
|
||||
sequence="3"/>
|
||||
<menuitem id="property_lease_contract_cancel_menu"
|
||||
parent="property_lease_contract_menu"
|
||||
name="作废"
|
||||
action="property_lease_contract_cancel_action"
|
||||
sequence="5"/>
|
||||
<!--财务报表 -->
|
||||
<menuitem id="yuthon_property_process"
|
||||
sequence="99"
|
||||
|
||||
Reference in New Issue
Block a user