Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
2 Respostas
5028 Visualizações

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
Cancelar
Melhor resposta

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

Avatar
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
mar. 15
4187
0
jun. 23
2120
1
abr. 23
1546
2
dez. 19
15575
1
jun. 19
5097