Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5661 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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?

Ảnh đại diện
Huỷ bỏ
Tác giả

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.

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 11 19
4711
1
thg 3 22
2737
1
thg 10 22
2776
1
thg 11 21
2200
1
thg 12 23
21527