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

 

Hi guys!!!!

Please, i want to know when the function on_change is called in Odoo 8?

Thanks a lot in advance


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

Hello,

In Odoo 8 you define onchange using this

@api.onchange('field name')

So whenever any change happen in field that time onchange will call.

Ảnh đại diện
Huỷ bỏ
Tác giả

Thanks a lot for the answer. But, the problem is that with my on_change function it will be functional when i press the button Create. How can i resolve it please??

Sorry but didn't get you. :(

Bài viết liên quan Trả lời Lượt xem Hoạt động
2
thg 8 25
2252
1
thg 7 25
790
1
thg 8 25
1150
0
thg 5 25
1269
2
thg 4 25
3477