Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
13211 Widoki

Purpose and usage? can it be ommited?

Awatar
Odrzuć
Najlepsza odpowiedź

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]

Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
maj 21
1653
1
maj 25
950
0
mar 25
1438
2
lis 24
2533
1
lip 24
1476