Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
5919 Lượt xem

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?

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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

Ảnh đại diện
Huỷ bỏ

For know further about "always_reload" go below address

What behavior with options "always_reload"?

Tác giả

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 4 24
8587
2
thg 3 15
4870
1
thg 3 15
7101
3
thg 3 15
20469
0
thg 12 24
9419