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
مايو 21
|
2674 | ||
|
|
0
مارس 26
|
10 | ||
|
|
0
فبراير 26
|
2 | ||
|
|
2
سبتمبر 25
|
3233 | ||
|
|
0
مارس 25
|
4769 |