Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
5194 มุมมอง

Whenever The Lead Form Loaded , The User_id(Salesperson) Is Automatically Populated in Lead Form . My Requirement Is To Make Empty user_id Field When Ever The Lead Form Load . How To Achieve This

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

In crm_lead.py remove line from _default:

_defaults = {
    'user_id': lambda s, cr, uid, c: s._get_default_user(cr, uid, c),

Thanks.

อวตาร
ละทิ้ง
ผู้เขียน

No This Is Not Working I Tried. _defaults = { 'user_id' : False }

Restart the server after applying change, As you make changes in .py file.

ผู้เขียน

No Even After Restarting Its Not Working :-) I Tried By Commenting The Standard "crm_lead.py " File . No Changes Even After Changing In Standard File In Defaults (I restarted The Server and Upgraded Too)

Related Posts ตอบกลับ มุมมอง กิจกรรม
2
ม.ค. 23
2610
1
ส.ค. 22
5645
1
ม.ค. 19
4039
0
ธ.ค. 18
5478
1
ก.พ. 23
2027