This question has been flagged
1 Reply
4724 Views

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?

Avatar
Discard
Best Answer

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

Avatar
Discard

For know further about "always_reload" go below address

What behavior with options "always_reload"?

Author

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