Skip to Content
Menu
This question has been flagged
2 Replies
2402 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
1
Aug 24
265
1
Jul 24
564
2
Aug 24
2562
1
Sep 24
553
1
Jan 24
343