Merge pull request !5035 from 李鹏宇/dev
This commit is contained in:
李鹏宇
2025-09-10 03:16:36 +00:00
committed by Gitee
5 changed files with 11 additions and 11 deletions
@@ -12,7 +12,7 @@
<field name="domain_force">[('company_id', 'in', company_ids)]</field>
</record>
<record id="module_he_attendance_sign" model="ir.module.category">
<field name="name">考勤记录详情组</field>
<field name="name">考勤记录详情/修正组</field>
</record>
<record id="group_he_attendance_sign_manager" model="res.groups">
<field name="name">管理员</field>
@@ -9,7 +9,7 @@
decoration-danger="is_workflow or is_approval"
editable="bottom">
<header>
<button name="compute_company_id" string="公司更新" type="object" class="btn btn-primary"/>
<!-- <button name="compute_company_id" string="公司更新" type="object" class="btn btn-primary"/>-->
<!-- <button name="button_all" string="班次更新" type="object" class="btn btn-primary"/>-->
<button name="compute_attendance_ids" string="重新计算" type="object" class="btn btn-primary"/>
<button name="state_fix" string="状态修正" type="object" class="btn btn-primary" groups="yuthon_hr_attendance.group_he_attendance_sign_manager"/>
@@ -157,14 +157,14 @@
<field name="binding_model_id" ref="yuthon_hr_attendance.model_hr_attendance"/>
<field name="state">code</field>
<field name="code">action = model.button_batch_correct()</field>
<field name="groups_id" eval="[(4, ref('base.group_system'))]"/>
<field name="groups_id" eval="[(4, ref('yuthon_hr_attendance.group_he_attendance_sign_manager'))]"/>
</record>
<record id="action_update_shift" model="ir.actions.server">
<field name="name">批量更新班次</field>
<field name="model_id" ref="yuthon_hr_attendance.model_hr_attendance"/>
<field name="binding_model_id" ref="yuthon_hr_attendance.model_hr_attendance"/>
<field name="state">code</field>
<field name="groups_id" eval="[(4, ref('base.group_system'))]"/>
<field name="groups_id" eval="[(4, ref('yuthon_hr_attendance.group_he_attendance_sign_manager'))]"/>
</record>
<record id="action_update_abnormal_shift" model="ir.actions.server">
<field name="name">批量更新异常</field>
@@ -172,6 +172,6 @@
<field name="binding_model_id" ref="yuthon_hr_attendance.model_hr_attendance"/>
<field name="state">code</field>
<field name="code">action = model.update_abnormal()</field>
<field name="groups_id" eval="[(4, ref('base.group_system'))]"/>
<field name="groups_id" eval="[(4, ref('yuthon_hr_attendance.group_he_attendance_sign_manager'))]"/>
</record>
</odoo>
@@ -12,6 +12,11 @@
parent="hr_process_work_job"
action="yuthon_recruitment_approval_action"
sequence="1"/>
<menuitem id="hr_menu_message_login"
name="个人信息登记表"
parent="hr_process_work_job"
action="yuthon_message_login_action"
sequence="2"/>
<menuitem id="hr_menu_interview_approval"
name="面试信息表"
parent="hr_process_work_job"
@@ -22,11 +27,6 @@
parent="hr_process_work_job"
action="yuthon_onboard_approval_action"
sequence="5"/>
<menuitem id="hr_menu_message_login"
name="个人信息登记表"
parent="hr_process_work_job"
action="yuthon_message_login_action"
sequence="7"/>
<menuitem id="hr_menu_prepare_approval"
name="编制调整申请表"
parent="hr_process_work_job"
Binary file not shown.
@@ -3,7 +3,7 @@
<record id="initialize_template_downloads_action" model="ir.actions.act_url">
<field name="name">初始化模板下载</field>
<field name="target">self</field>
<field name="url">.</field>
<field name="url">/yuthon_property/static/others/rent_temp.xlsx</field>
</record>
<record id="initialize_wizard_form" model="ir.ui.view">
<field name="name">审批意见弹窗</field>