Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4976 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

In crm_lead.py remove line from _default:

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

Thanks.

Awatar
Odrzuć
Autor

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

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

Autor

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)

Powiązane posty Odpowiedzi Widoki Czynność
2
sty 23
2383
1
sie 22
5239
1
sty 19
3848
0
gru 18
5341
1
lut 23
1872