Skip to Content
Menu
This question has been flagged
1 Atsakyti
5709 Rodiniai

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?

Portretas
Atmesti
Best Answer

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?

Portretas
Atmesti
Autorius

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.

Related Posts Replies Rodiniai Veikla
1
lapkr. 19
4766
1
kov. 22
2770
1
spal. 22
2836
1
lapkr. 21
2272
1
gruod. 23
21571