تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
4238 أدوات العرض

Lets say that i have the following button 

<button string="Set landing page" nolabel="1" type="object" name="set_landing_page" class="oe_highlight" confirm="Will set landing page and go to the selected page, &#xA; It can be changed later in settings or introduction module"/>
I want to return the ir.actions.act_window 

And i have some code to identify the view and return it 

....
landing_page = landing_page.read()[0]
landing_page['tag']='main' #Is set to remove the breadcrumbs 
return landing_page 
The view is possible to open, but it is not possible to refresh the menu
asd

الصورة الرمزية
إهمال

Are trying

return { 'type' : 'ir.actions.act_close_wizard_and_reload_view' }

المنشورات ذات الصلة الردود أدوات العرض النشاط
0
ديسمبر 24
1090
4
أكتوبر 19
33742
1
أبريل 17
3879
2
مارس 15
7273
2
يناير 24
13828