コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
13467 ビュー

Purpose and usage? can it be ommited?

アバター
破棄
最善の回答

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]

アバター
破棄
最善の回答

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

アバター
破棄
関連投稿 返信 ビュー 活動
0
5月 21
1878
2
9月 25
1235
0
3月 25
1852
2
11月 24
3057
1
7月 24
1700