Update payroll workflow

This commit is contained in:
younes 2025-09-11 15:52:26 +01:00
parent 7ccd341e76
commit 0f76c02aad
3 changed files with 28 additions and 2 deletions

View File

@ -3002,3 +3002,12 @@ msgstr "تخفيض البدل بسبب الإجازات"
msgid "Min Leave Days To Deduct"
msgstr "الحد الأدنى لأيام الإجازة لتطبيق الخصم"
#. module: exp_payroll_custom
#: model:res.groups,name:exp_payroll_custom.group_payroll_finance_review
msgid "Finance Review"
msgstr "مراجعة المالية"
#. module: exp_payroll_custom
#: model:res.groups,name:exp_payroll_custom.group_payroll_expense_manger
msgid "Expense Manager"
msgstr "رئيس المصروفات"

View File

@ -38,4 +38,8 @@ access_payslip_monthly_report_user,access_payslip_monthly_report_user,model_pays
access_employee_selection_wizard_hr_manager,employee.selection.wizard.hr.manager,model_employee_selection_wizard,,1,1,1,1
access_hr_salary_rule_account_emp,hr_salary_rule_account_emp,model_hr_salary_rule_account,base.group_user,1,0,0,0
access_hr_salary_rule_account_hr_user,hr_salary_rule_account_hr_user,model_hr_salary_rule_account,hr.group_hr_user,1,1,1,1
access_hr_payslip_finance_review,access_hr_payslip_finance_review,model_hr_payslip,exp_payroll_custom.group_payroll_finance_review,1,1,0,0
access_hr_payslip_expense_manger,access_hr_payslip_expense_manger,model_hr_payslip,exp_payroll_custom.group_payroll_expense_manger,1,1,0,0
access_hr_payslip_account_manager,access_hr_payslip_account_manager,model_hr_payslip,hr_base.group_account_manager,1,1,0,0
access_hr_payslip_hr_manager,access_hr_payslip_hr_manager,model_hr_payslip,hr.group_hr_manager,1,1,0,0
access_hr_payslip_general_manager,access_hr_payslip_general_manager,model_hr_payslip,hr_base.group_general_manager,1,1,0,0
1 id name model_id:id group_id:id perm_read perm_write perm_create perm_unlink
38 access_employee_selection_wizard_hr_manager employee.selection.wizard.hr.manager model_employee_selection_wizard 1 1 1 1
39 access_hr_salary_rule_account_emp hr_salary_rule_account_emp model_hr_salary_rule_account base.group_user 1 0 0 0
40 access_hr_salary_rule_account_hr_user hr_salary_rule_account_hr_user model_hr_salary_rule_account hr.group_hr_user 1 1 1 1
41 access_hr_payslip_finance_review access_hr_payslip_finance_review model_hr_payslip exp_payroll_custom.group_payroll_finance_review 1 1 0 0
42 access_hr_payslip_expense_manger access_hr_payslip_expense_manger model_hr_payslip exp_payroll_custom.group_payroll_expense_manger 1 1 0 0
43 access_hr_payslip_account_manager access_hr_payslip_account_manager model_hr_payslip hr_base.group_account_manager 1 1 0 0
44 access_hr_payslip_hr_manager access_hr_payslip_hr_manager model_hr_payslip hr.group_hr_manager 1 1 0 0
45 access_hr_payslip_general_manager access_hr_payslip_general_manager model_hr_payslip hr_base.group_general_manager 1 1 0 0

View File

@ -7,6 +7,16 @@
<field name="comment">This user is a participant in payroll related processes.</field>
</record>
<record id="group_payroll_finance_review" model="res.groups">
<field name="name">Finance Review</field>
<field name="category_id" ref="base.module_category_payroll_localization"/>
</record>
<record id="group_payroll_expense_manger" model="res.groups">
<field name="name">Expense Manager</field>
<field name="category_id" ref="base.module_category_payroll_localization"/>
</record>
<record id="rule_advance_salary_multi_company" model="ir.rule">
<field name="name">Advance Request Multi Company</field>
<field name="model_id" ref="model_salary_advance"/>
@ -52,7 +62,10 @@
(4, ref('hr_base.group_general_manager')),
(4, ref('exp_hr_payroll.group_hr_payroll_user')),
(4, ref('hr_base.group_executive_manager')),
(4, ref('hr.group_hr_manager')),
(4, ref('hr_base.group_account_manager')),
(4, ref('exp_payroll_custom.group_payroll_expense_manger')),
(4, ref('exp_payroll_custom.group_payroll_finance_review')),
]"/>
<!-- (4, ref('hr.group_hr_manager')),(4, ref('hr.group_hr_user')),-->
</record>