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

I've added a button in a one2many tree view to update the price_surcharge in product.pricelist.item. This price also appears as a field in the one2many field. On button action actually the price is updated in the one2many, but the problem is that i have to reload the page to see it.Is there any solution for this?

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

Try this one if you useing OpenERP 7.0.

Use This One

<field name="your_one2many_field" options="{'always_reload': true}"/>

the another option is use "reload_on_button"

<field name="your_one2many_field" options="{'reload_on_button': true}"/>

but this is not working because of some bug but in next some days it will work well

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

For know further about "always_reload" go below address

What behavior with options "always_reload"?

الكاتب

Thanks Parth Gajjar..but none of this works..

المنشورات ذات الصلة الردود أدوات العرض النشاط
1
أبريل 24
8621
2
مارس 15
4906
1
مارس 15
7141
3
مارس 15
20507
0
ديسمبر 24
9448