Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4996 Vistas

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
Descartar
Mejor respuesta

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
Descartar
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)

Publicaciones relacionadas Respuestas Vistas Actividad
2
ene 23
2422
1
ago 22
5324
1
ene 19
3872
0
dic 18
5366
1
feb 23
1896