Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
13277 Vizualizări

Purpose and usage? can it be ommited?

Imagine profil
Abandonează
Cel mai bun răspuns

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]

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
0
mai 21
1741
1
mai 25
1008
0
mar. 25
1584
2
nov. 24
2689
1
iul. 24
1540