Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
5046 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

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

Avatar
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mar 15
4204
0
giu 23
2127
1
apr 23
1559
2
dic 19
15593
1
giu 19
5102