Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
5625 Weergaven

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?

Avatar
Annuleer
Beste antwoord

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?

Avatar
Annuleer
Auteur

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.

Gerelateerde posts Antwoorden Weergaven Activiteit
1
nov. 19
4701
1
mrt. 22
2733
1
okt. 22
2765
1
nov. 21
2196
1
dec. 23
21513