Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
4863 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

Inherit the view definition and remove the fields you dont' require and see the changes

Avatar
Descartar
Mejor respuesta

Hi,

You can do it by inheriting the crm_lead module and make user_id as False in defaults. 

class crm_lead(osv.osv):
    _inherit = "crm.lead"
    _defaults = {
        'user_id': False,
    }

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
mar 15
3875
0
jun 23
1898
1
abr 23
1378
2
dic 19
15383
1
jun 19
4894