Odoo Help


What is active_id?

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

Purpose and usage? can it be ommited?

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


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.



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]

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

1 follower(s)


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