Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odgovori
4921 Prikazi

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
Opusti
Best Answer

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

Avatar
Opusti
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
Opusti
Related Posts Odgovori Prikazi Aktivnost
0
mar. 15
4016
0
jun. 23
2006
1
apr. 23
1460
2
dec. 19
15459
1
jun. 19
4960