Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Remove Deafult User_id in crm.lead form

on 9/3/13, 2:17 AM 1,140 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

Abhishek H Menon
On 9/3/13, 2:57 AM

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



| 5 2 8
Ahmadabad, India
On 5/14/14, 11:44 PM


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,

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)


Asked: 9/3/13, 2:17 AM
Seen: 1140 times
Last updated: 3/16/15, 8:10 AM