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

Hi,

I want to do the same like on click of (update)-dummy button, while changing the amount of sale_order_line. i.e. when I change the amount of any sale order line, it should automatic update the Total amount of Sale order.

How to do this ? Can anyone help ?

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

I think you should create onchange method for sale order for automatic updation

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

Yes, this can be done. But it is quite difficult for me to check the records of one2many field. If you have an idea, guide me.

Câu trả lời hay nhất

Hi,

I think you should create onchange method for sale order line which will update the price when you will select the product in sale order line.Please try this one.

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