跳至內容
選單
此問題已被標幟
1 回覆
4573 瀏覽次數

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.

頭像
捨棄
最佳答案

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.

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
1
10月 25
5284
0
12月 24
10260
3
9月 24
22643
5
12月 24
54587
4
7月 24
11508