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

Hello All,

I created a button(Edit) in sale order line and when i am using this button then values returns in sale order form.  Process is going well, but problem is that changes reflected after browser reload( Either F5 or UI). And i want this browser reload by coding. So, What kind of syntax or method?

Thanks in advance

الصورة الرمزية
إهمال
أفضل إجابة

Hi,

To reload the browser just return like this from action of the button,

return {
'type': 'ir.actions.client',
'tag': 'reload',
}

This will reload the browser.

Thanks

الصورة الرمزية
إهمال
الكاتب

Thanks @Niyas ... It's work...!!

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
أغسطس 22
11786
2
مايو 21
8631
2
أغسطس 25
12080
5
سبتمبر 20
6368
1
ديسمبر 19
9780