This question has been flagged
2 Replies
3693 Views

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

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

Avatar
Discard
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
Discard