跳至内容
菜单
此问题已终结
2 回复
2063 查看

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)

形象
丢弃
最佳答案

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

形象
丢弃
最佳答案

thanks

形象
丢弃
相关帖文 回复 查看 活动
2
4月 25
16751
0
5月 20
2844
3
5月 19
4201
0
10月 16
3887
2
3月 15
5250