İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
13243 Görünümler

Purpose and usage? can it be ommited?

Avatar
Vazgeç
En İyi Yanıt

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
May 21
1699
1
May 25
959
0
Mar 25
1506
2
Kas 24
2561
1
Tem 24
1491