Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
1695 Vistas

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
Mejor respuesta

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
Mejor respuesta

thanks

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
abr 25
16222
0
may 20
2554
3
may 19
3886
0
oct 16
3645
2
mar 15
4960