跳至內容
選單
此問題已被標幟
2 回覆
3519 瀏覽次數

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.

頭像
捨棄