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

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)

相关帖文 回复 查看 活动
2
1月 23
2448
1
8月 22
5380
1
1月 19
3898
0
12月 18
5385
1
2月 23
1905