how to give the lead number for leads in openerp v7.0. An identification number for each lead.
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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
how to give the lead number for leads in openerp v7.0. An identification number for each lead.
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
May 24
|
1592 | ||
|
0
May 23
|
1638 | ||
|
1
Oct 22
|
1761 | ||
|
1
May 20
|
11944 | ||
|
1
May 19
|
3760 |
At last i found the solution.. We can give sequence number. Settings-> Technical -> Sequence and identifier. -> Create a new sequence for lead.
Then i make editing in the crm_lead.py file. function create edited like this. def create(self, cr, uid, vals, context=None): if vals.get('x_name_lead','/')=='/': vals['x_name_lead'] = self.pool.get('ir.sequence').get(cr, uid, 'crm.lead') or '/' return super(crm_lead, self).create(cr, uid, vals, context=context)