Odoo Help


Need solution about sequence bug (Open Erp 7.0)

on 3/25/13, 11:10 PM 1,820 views

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?


Mustufa Rangwala (mra)

--Mustufa Rangwala (mra)--
| 2 1 4
Ahmedabad, India
--Mustufa Rangwala (mra)--

- Around 7+ years of strong experience in Odoo (Formerly OpenERP) which is world's largest Open Source Business Applications driven by CEO Fabien Pinckaers. - Played key role in developing and maintaining various Odoo Product modules and integrating them on Open Source ERP Environment. - Experience on Scrum methodology for project management - Experience in Team Building - Quick Start Implementations. - Worked on almost all versions (4.0, 5.0, 6.0, 6.1, 7.0, SAAS, Trunk(8.0)...) of Odoo (Formerly OpenERP) . Specialities: Odoo Business Process And OpenERP Implementation. Odoo Application Support and Maintenance. Odoo Technical & Functional Training. Business Process Mapping & Gap Analysis (Functional and Technical Analysis)

Mustufa Rangwala (mra)
On 3/26/13, 3:59 AM

You can configure your sequence Implementation with no gap .. :)

Regards, Mustufa Rangwala

Thanks Mustufa..

on 3/29/13, 2:54 AM

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)


Asked: 3/25/13, 11:10 PM
Seen: 1820 times
Last updated: 3/16/15, 8:10 AM