Skip to Content
Menu
This question has been flagged
2 Replies
3527 Views
for you help me to find the id of odoobot.
i have odoo v15 saas.



Avatar
Discard
Best Answer

The ID of the OdooBot user is 1

The External ID of the OdooBot user is base.user_root


If you use the Inactive Users filter in the Users Menu, you can find the res.users record for OdooBot

Avatar
Discard
Best Answer

Hi,

Try 

odoobot = self.env.ref('base.user_root').id

Hope it helps,

Kiran K

Avatar
Discard
Author

if I use this odoobot identifier, for my code, Odoo Server Error appears

Related Posts Replies Views Activity
3
Jul 25
6483
1
May 25
877
2
Jan 25
1617
1
Aug 24
1701
1
Jul 24
2418