Odoo Help


different sequence for one field

Jagdish Panchal
on 12/27/13, 12:58 AM 907 views


Can we create different sequence for a field?

For e.g I have type in Sales Order, and based on that type I want to create Sequence.

I have created 3 sequence for 3 types. Then created a function for that. But dont know how to get that specific sequence.

Can anyone help me to get rid from this?

in the _defaults use a function to call e.g 'company_id': lambda s,cr,uid,c: s.pool.get('res.company')._company_default_get(cr, uid, 'account.account', context=c),

on 12/27/13, 1:31 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: 12/27/13, 12:58 AM
Seen: 907 times
Last updated: 3/16/15, 8:10 AM