Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
2227 Lượt xem

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)

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

thanks

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 4 25
16820
0
thg 5 20
2881
3
thg 5 19
4221
0
thg 10 16
3915
2
thg 3 15
5274