Merge pull request #5157 from expsa/hr_report_groups

security
This commit is contained in:
eslamtalaat744 2025-11-02 17:40:46 +02:00 committed by GitHub
commit ab7ed64992
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 3 deletions

View File

@ -380,3 +380,13 @@ msgstr "تقرير الحضور - %s"
#, python-format
msgid "Company: %s | Shift Type: %s"
msgstr "الشركة: %s | نوع الشيفت: %s"
#. module: hr_attendance_excel_report
#: model:res.groups,name:hr_attendance_excel_report.group_attendance_report_user
msgid "Attendance Report User"
msgstr "مستخدم تقرير الحضور"
#. module: hr_attendance_excel_report
#: model:res.groups,name:hr_attendance_excel_report.group_attendance_report_manager
msgid "Attendance Report Manager"
msgstr "مدير تقرير الحضور"

View File

@ -5,14 +5,14 @@
<!-- Security Groups -->
<record id="group_attendance_report_user" model="res.groups">
<field name="name">Attendance Report User</field>
<field name="category_id" ref="hr_base.module_category_human_resources"/>
<field name="category_id" ref="base.module_category_human_resources_employees"/>
<field name="comment">Can view and generate attendance reports</field>
<field name="implied_ids" eval="[(4, ref('hr.group_hr_user'))]"/>
</record>
<record id="group_attendance_report_manager" model="res.groups">
<field name="name">Attendance Report Manager</field>
<field name="category_id" ref="hr_base.module_category_human_resources"/>
<field name="category_id" ref="base.module_category_human_resources_employees"/>
<field name="comment">Can configure attendance report settings</field>
<field name="implied_ids" eval="[(4, ref('group_attendance_report_user')), (4, ref('hr.group_hr_manager'))]"/>
</record>