Odoo Help

Welcome!

This community 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.

0

different sequence for one field

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

Hello,

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),

senthil
on 12/27/13, 1:31 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 12/27/13, 12:58 AM
Seen: 553 times
Last updated: 3/16/15, 8:10 AM