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
- Contabilidad
- Inventario
- PoS
- Project
- MRP
Se marcó esta pregunta
            
                2
                
                    Respuestas
                
            
        
        
            
                5338
                
                    Vistas
                
            
        
    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,
    }
¿Le interesa esta conversación? ¡Participe en ella!
Cree una cuenta para poder utilizar funciones exclusivas e interactuar con la comunidad.
Registrarse| Publicaciones relacionadas | Respuestas | Vistas | Actividad | |
|---|---|---|---|---|
|  | 0 mar 15  | 4484 | ||
|  | 0 jun 23  | 2406 | ||
|  | 1 abr 23  | 1747 | ||
|  | 2 dic 19  | 15849 | ||
|  | 1 jun 19  | 5415 | 
