跳至内容
菜单
此问题已终结
2 回复
13281 查看

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
1760
1
5月 25
1012
0
3月 25
1585
2
11月 24
2704
1
7月 24
1541