Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
2 Risposte
13445 Visualizzazioni

Purpose and usage? can it be ommited?

Avatar
Abbandona
Risposta migliore

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
0
mag 21
1867
1
mag 25
1155
0
mar 25
1823
2
nov 24
3021
1
lug 24
1677