Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
13487 Tampilan

Purpose and usage? can it be ommited?

Avatar
Buang
Jawaban Terbai

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]

Avatar
Buang
Jawaban Terbai

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

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Mei 21
1891
2
Sep 25
1290
0
Mar 25
1876
2
Nov 24
3145
1
Jul 24
1758