Odoo Help


get partner_id of analytic account in timesheet

Barry Achterberg
on 11/18/13, 11:13 AM 1,717 views


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?


Timo Talvitie, Vizucom Oy

--Timo Talvitie, Vizucom Oy--
| 5 4 7
Tampere, Finland
--Timo Talvitie, Vizucom Oy--

Lead developer at Vizucom.

Timo Talvitie, Vizucom Oy
On 11/18/13, 3:39 PM

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.

Barry Achterberg
on 11/20/13, 5:13 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 11/18/13, 11:13 AM
Seen: 1717 times
Last updated: 2/9/17, 4:09 AM