添加功能
This commit is contained in:
@@ -3,7 +3,7 @@ from odoo import models, fields, api
|
||||
|
||||
class YuthonAccountApproval(models.Model):
|
||||
_name = 'yuthon.account.approval'
|
||||
_description = '职称聘任申请表'
|
||||
_description = '薪资核算申请表'
|
||||
_inherit = 'soong.workflow.mixin'
|
||||
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ from odoo import models, fields, api
|
||||
|
||||
class YuthonRecruitmentApproval(models.Model):
|
||||
_name = 'yuthon.recruitment.approval'
|
||||
_description = '编制调整需求表'
|
||||
_description = '招聘需求申请表'
|
||||
_inherit = 'soong.workflow.mixin'
|
||||
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
action="yuthon_leaving_approval_action"
|
||||
sequence="9"/>
|
||||
<menuitem id="hr_menu_prepare_approval"
|
||||
name="编制调整需求表"
|
||||
name="编制调整申请表"
|
||||
parent="hr_set_process_menu"
|
||||
action="yuthon_prepare_approval_action"
|
||||
sequence="11"/>
|
||||
@@ -47,7 +47,7 @@
|
||||
action="yuthon_reassignment_approval_action"
|
||||
sequence="15"/>
|
||||
<menuitem id="hr_menu_recruitment_approval"
|
||||
name="编制调整需求表"
|
||||
name="招聘需求申请表"
|
||||
parent="hr_set_process_menu"
|
||||
action="yuthon_recruitment_approval_action"
|
||||
sequence="17"/>
|
||||
|
||||
@@ -9,6 +9,19 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_yuthon_account_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.account.approval.form</field>
|
||||
<field name="model">yuthon.account.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="yuthon_account_approval_action" model="ir.actions.act_window">
|
||||
|
||||
@@ -9,8 +9,21 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_yuthon_enrollment_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.enrollment.approval.form</field>
|
||||
<field name="model">yuthon.enrollment.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
interview
|
||||
<record id="yuthon_enrollment_approval_action" model="ir.actions.act_window">
|
||||
<field name="name">待开发</field>
|
||||
<field name="res_model">yuthon.enrollment.approval</field>
|
||||
|
||||
@@ -9,6 +9,20 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_yuthon_interview_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.interview.approval.form</field>
|
||||
<field name="model">yuthon.interview.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
|
||||
<record id="yuthon_interview_approval_action" model="ir.actions.act_window">
|
||||
|
||||
@@ -9,7 +9,19 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_yuthon_leaving_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.leaving.approval.form</field>
|
||||
<field name="model">yuthon.leaving.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="yuthon_leaving_approval_action" model="ir.actions.act_window">
|
||||
<field name="name">待开发</field>
|
||||
|
||||
@@ -9,7 +9,19 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_yuthon_prepare_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.prepare.approval.form</field>
|
||||
<field name="model">yuthon.prepare.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="yuthon_prepare_approval_action" model="ir.actions.act_window">
|
||||
<field name="name">待开发</field>
|
||||
|
||||
@@ -9,7 +9,19 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_yuthon_rank_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.rank.approval.form</field>
|
||||
<field name="model">yuthon.rank.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="yuthon_rank_approval_action" model="ir.actions.act_window">
|
||||
<field name="name">待开发</field>
|
||||
|
||||
@@ -9,6 +9,19 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_yuthon_reassignment_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.reassignment.approval.form</field>
|
||||
<field name="model">yuthon.reassignment.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="yuthon_reassignment_approval_action" model="ir.actions.act_window">
|
||||
|
||||
@@ -9,6 +9,19 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_yuthon_recruitment_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.recruitment.approval.form</field>
|
||||
<field name="model">yuthon.recruitment.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="yuthon_recruitment_approval_action" model="ir.actions.act_window">
|
||||
|
||||
@@ -9,6 +9,19 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_yuthon_regularization_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.regularization.approval.form</field>
|
||||
<field name="model">yuthon.regularization.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="yuthon_regularization_approval_action" model="ir.actions.act_window">
|
||||
|
||||
@@ -9,6 +9,19 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_yuthon_reward_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.reward.approval.form</field>
|
||||
<field name="model">yuthon.reward.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="yuthon_reward_approval_action" model="ir.actions.act_window">
|
||||
|
||||
@@ -9,7 +9,19 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_yuthon_salary_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.salary.approval.form</field>
|
||||
<field name="model">yuthon.salary.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="yuthon_salary_approval_action" model="ir.actions.act_window">
|
||||
<field name="name">待开发</field>
|
||||
|
||||
@@ -9,7 +9,19 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="view_yuthon_service_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.service.approval.form</field>
|
||||
<field name="model">yuthon.service.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
<record id="yuthon_service_approval_action" model="ir.actions.act_window">
|
||||
<field name="name">待开发</field>
|
||||
|
||||
@@ -9,6 +9,19 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_yuthon_system_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.system.approval.form</field>
|
||||
<field name="model">yuthon.system.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="yuthon_system_approval_action" model="ir.actions.act_window">
|
||||
|
||||
@@ -9,6 +9,19 @@
|
||||
</tree>
|
||||
</field>
|
||||
</record>
|
||||
<record id="view_yuthon_title_approval_form" model="ir.ui.view">
|
||||
<field name="name">yuthon.title.approval.form</field>
|
||||
<field name="model">yuthon.title.approval</field>
|
||||
<field name="arch" type="xml">
|
||||
<form>
|
||||
<sheet>
|
||||
<group>
|
||||
<field name="name"/>
|
||||
</group>
|
||||
</sheet>
|
||||
</form>
|
||||
</field>
|
||||
</record>
|
||||
|
||||
|
||||
<record id="yuthon_title_approval_action" model="ir.actions.act_window">
|
||||
|
||||
@@ -160,7 +160,7 @@
|
||||
action="yuthon_hr_employee_approval.yuthon_message_login_action"
|
||||
sequence="3"/>
|
||||
<menuitem id="hr_menu_account_approval_root_board"
|
||||
name="职称聘任申请表"
|
||||
name="薪资核算申请表"
|
||||
parent="hr_set_process_menu_root_board"
|
||||
action="yuthon_none_action"
|
||||
sequence="5"/>
|
||||
@@ -175,7 +175,7 @@
|
||||
action="yuthon_none_action"
|
||||
sequence="9"/>
|
||||
<menuitem id="hr_menu_prepare_approval_root_board"
|
||||
name="编制调整需求表"
|
||||
name="编制调整申请表"
|
||||
parent="hr_set_process_menu_root_board"
|
||||
action="yuthon_none_action"
|
||||
sequence="11"/>
|
||||
@@ -190,7 +190,7 @@
|
||||
action="yuthon_none_action"
|
||||
sequence="15"/>
|
||||
<menuitem id="hr_menu_recruitment_approval_root_board"
|
||||
name="编制调整需求表"
|
||||
name="招聘需求申请表"
|
||||
parent="hr_set_process_menu_root_board"
|
||||
action="yuthon_none_action"
|
||||
sequence="17"/>
|
||||
|
||||
Reference in New Issue
Block a user