Odoo Help

0

What is active_id?

By
odoo.ma by IBS Group
on 6/2/14, 7:47 AM 1,047 views

Purpose and usage? can it be ommited?

1
Jos De Graeve
On 6/2/14, 12:04 PM

Hi,

active_id is a key inside the context dictionairy.  It is mainly used for "sidebar actions", in earlier versions of openerp these were found in the right sidebar, but now these have moved behind the "more" button in a form or list view.

Normally, active_id is automatically set by the UI.  When calling the API, you should behave more or less like the user interface does.  The "--log-response" command-line option for the server is very handy to see what the UI is doing.

Regards,

Jos

1
senthil
On 6/2/14, 8:20 AM

active_id for example is if you are viewing a sale order of table id (Say 124)then  active_id:124 and active_ids :[124]

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

Question tools

1 follower(s)

Stats

Asked: 6/2/14, 7:47 AM
Seen: 1047 times
Last updated: 3/16/15, 8:10 AM