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

Hello,

When a employee fills in his timesheet and selects the analytic account/project, I want to add the customer(partner_id) of the analytic account/project in to the timesheet(hr_timesheet_sheet.sheet), but I am unable to get this partner_id so far. How can I get this partner_id of analytic account in to hr_timesheet_sheet.sheet?

頭像
捨棄
最佳答案

Timesheet has the user_id though, and each record in res.users is linked to a res.partner - could you get what you need via that route?

頭像
捨棄
作者

Thank you for your answer, but that is not working for me. I changed my question so maybe now it is more clear what I mean.

相關帖文 回覆 瀏覽次數 活動
1
11月 19
4692
1
3月 22
2710
1
10月 22
2755
1
11月 21
2193
1
12月 23
21503