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 | etc.
I've code to get the sequence number like this: vals['sale_number'] = self.pool.get('ir.sequence').get(cr, uid, 'nadine.sale')
the sequence number succesly generate but when I see the sequence table the value next number still 1 (it must be 2) well it does'nt have problem when I want to get the next number again using above code , I get number 2. It get problem when in my developement I got technicall error about my code, then when I want to get the sequence number again the sequence number is back to 1.
So how I solve this?
About This Community
This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 3/25/13, 11:10 PM|
|Seen: 1490 times|
|Last updated: 3/16/15, 8:10 AM|