Odoo Help

0

Remove Deafult User_id in crm.lead form

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

1
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

0

Nehal

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

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,
    }

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

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