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 management
- MRP
This question has been flagged
1
Reply
4145
Views
In crm_lead.py remove line from _default:
_defaults = {
'user_id': lambda s, cr, uid, c: s._get_default_user(cr, uid, c),
Thanks.
No This Is Not Working I Tried. _defaults = { 'user_id' : False }
Restart the server after applying change, As you make changes in .py file.
No Even After Restarting Its Not Working :-) I Tried By Commenting The Standard "crm_lead.py " File . No Changes Even After Changing In Standard File In Defaults (I restarted The Server and Upgraded Too)