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
4838
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 upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Mar 15
|
3812 | ||
|
0
Jun 23
|
1851 | ||
|
1
Apr 23
|
1357 | ||
|
2
Dec 19
|
15300 | ||
|
1
Jun 19
|
4827 |