i created a new group in my new module ( based on hr and hr_attendance directories ) ...
i need to enable employee group to see his attendance history only .. (from xml)
note: employee group inherit (base.group_user) group
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Księgowość
- Zapasy
- PoS
- Project
- MRP
To pytanie dostało ostrzeżenie
2
Odpowiedzi
4691
Widoki
Hi,
Check this Free module for the same: Employee Attendance
Rule:
<record id="hr_attendance_personal_rule" model="ir.rule">
<field name="name">Employee Attendance View</field>
<field ref="hr_attendance.model_hr_attendance" name="model_id"/>
<field name="domain_force">['|',('employee_id.user_id','=',user.id),('employee_id.user_id','=',False)]</field>
<field name="groups" eval="[(4, ref('base.group_user'))]"/>
</record>
Thanks
Hello, i have check the module Employee Attendance, but it seems it only works in Odoo 10, does it exist for Odoo 12?
I am looking for a solution, so employees can check their own attendaces. Thanks
'hr_attendance' module exist in odoo 12 but i use odoo11 now
what is your problem ?
Podoba Ci się ta dyskusja? Dołącz do niej!
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
1
gru 23
|
10975 | ||
|
3
cze 20
|
3589 | ||
|
0
paź 18
|
2852 | ||
|
1
gru 22
|
24902 | ||
|
6
gru 22
|
15579 |