Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
5077 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

In crm_lead.py remove line from _default:

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

Thanks.

Avatar
Abbandona
Autore

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

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

Autore

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)

Post correlati Risposte Visualizzazioni Attività
2
gen 23
2530
1
ago 22
5497
1
gen 19
3977
0
dic 18
5410
1
feb 23
1943