Skip to Content
Menu
This question has been flagged
2 Replies
4935 Zobrazenia

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
Zrušiť
Best Answer

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

Avatar
Zrušiť
Best Answer

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
Zrušiť
Related Posts Replies Zobrazenia Aktivita
0
mar 15
4039
0
jún 23
2020
1
apr 23
1463
2
dec 19
15481
1
jún 19
4980