Skip to Content
Menu
This question has been flagged
1 Atsakyti
5179 Rodiniai

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

Portretas
Atmesti
Best Answer

In crm_lead.py remove line from _default:

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

Thanks.

Portretas
Atmesti
Autorius

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

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

Autorius

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 Replies Rodiniai Veikla
2
saus. 23
2583
1
rugp. 22
5598
1
saus. 19
4017
0
gruod. 18
5440
1
vas. 23
2014