Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4578 Widoki

For example:

Setting -> Database -> Models > search for hr.analytic.timesheet

I want to add as item employee_id. But this is a base field and I am only allowed to add custom field with x in front.

  • Timesheet Activities is related only to user_id and I need to add also employee_id so I can create than a security rule.

Thanks.

Awatar
Odrzuć
Najlepsza odpowiedź

You shouldn't add extra field for Employee. For example open Human Resources/Employees/Employee Form and click to Timesheets button. Then you will see timesheets for selected employee. Because every employee has a field "Related user" and OpenERP can get Employee by user.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
1
paź 25
5296
0
gru 24
10264
3
wrz 24
22653
5
gru 24
54599
4
lip 24
11513