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



Avatar
Zrušiť
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
Zrušiť
Best Answer

Hi,

Try 

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

Hope it helps,

Kiran K

Avatar
Zrušiť
Autor

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

Related Posts Replies Zobrazenia Aktivita
2
okt 25
306
1
sep 25
2077
3
júl 25
8479
1
máj 25
1854
2
jan 25
2584