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
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)
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Jan 23
|
2389 | ||
|
1
Aug 22
|
5264 | ||
|
1
Jan 19
|
3851 | ||
|
0
Dec 18
|
5346 | ||
|
1
Feb 23
|
1883 |