Skip to Content
Menu
This question has been flagged
2 Replies
1942 Views

Hello,

I want to change the default odoo page for a particular user to the "Leads" Page. I went to my user's prererences and I changed the Home page action to this one : 

Name : Leads 

Action Type : ir.actions.act_windows


But then, when log in the user gets fillowing error :

Error: NameError: name 'active_id' is not defined

    at PY_ensurepy (http://localhost:8069/web/content/274-2f4d435/web.assets_backend.js:90:65)

    at Object.py.evaluate (http://localhost:8069/web/content/274-2f4d435/web.assets_backend.js:207:8)

    at Object.py.evaluate (http://localhost:8069/web/content/274-2f4d435/web.assets_backend.js:215:99)

    at Object.py.evaluate (http://localhost8069/web/content/274-2f4d435/web.assets_backend.js:216:194)

    at Object.py.eval (http://localhost:8069/web/content/274-2f4d435/web.assets_backend.js:220:284)

    at http:/localhost:8069/web/content/274-2f4d435/web.assets_backend.js:359:110

    at iterator (http://localhost:8069/web/content/273-39709cd/web.assets_common.js:110:183)

    at Function.<anonymous> (http://localhost:8069/web/content/273-39709cd/web.assets_common.js:113:8)

    at _.<computed> [as reduce] (http://localhost:8069/web/content/273-39709cd/web.assets_common.js:165:526)

    at eval_contexts (http://localhost:8069/web/content/274-2f4d435/web.assets_backend.js:357:136)

Avatar
Discard
Best Answer

Hi,

Home action will work in this case, regarding the error you get, make sure the customization or third party modules are not making any issues.

Set Default Action For Users Using Home Action In Odoo


Thanks

Avatar
Discard
Best Answer

thanks

Avatar
Discard
Related Posts Replies Views Activity
2
Apr 25
16699
0
May 20
2829
3
May 19
4171
0
Oct 16
3872
2
Mar 15
5235