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

Hi all,

I'm making a new app that creates menus "on the fly".

I need to know how to refresh the page in order to update menus. (Not manually, no F5, etc)

I tried with:

cr.commit()
openerp.service.restart_server()
 return {
            'type': 'ir.actions.client',
            'tag': 'home',
            'params': {'wait': True},
}

But that does not reload the page completly.

All suggestions are welcome.

Regards

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
نوفمبر 16
14619
0
مارس 15
3997
1
فبراير 23
2298
1
أغسطس 17
5419
0
يوليو 16
4221