Skip to Content
Menú
This question has been flagged
2 Respostes
1900 Vistes

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
Descartar
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
Descartar
Best Answer

thanks

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
d’abr. 25
16674
0
de maig 20
2816
3
de maig 19
4140
0
d’oct. 16
3854
2
de març 15
5207