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
4406 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
sie 25
4620
0
gru 24
9717
3
wrz 24
22023
5
gru 24
53447
4
lip 24
10855