Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
3563 มุมมอง

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 ?

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

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

อวตาร
ละทิ้ง
ผู้เขียน

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.

คำตอบที่ดีที่สุด

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.

อวตาร
ละทิ้ง