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
Odoo is the world's easiest all-in-one management software.
 It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
            
                2
                
                    Replies
                
            
        
        
            
                5339
                
                    Views
                
            
        
    Inherit the view definition and remove the fields you dont' require and see the changes
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,
    }
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign up| Related Posts | Replies | Views | Activity | |
|---|---|---|---|---|
|  | 0 Mar 15  | 4484 | ||
|  | 0 Jun 23  | 2408 | ||
|  | 1 Apr 23  | 1748 | ||
|  | 2 Dec 19  | 15849 | ||
|  | 1 Jun 19  | 5417 | 
