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

I want to run code any time the available quantity of a product changes. How can I do that? 

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

use onchange method

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

Hi,

You need to write the Onchange function for the stock.quant module of the field quantity, if the quantity is changed also the available quantity will change, so you can write a function for the onchange the field.

Regards

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