Siirry sisältöön
Menu
Sinun on rekisteröidyttävä, jotta voit olla vuorovaikutuksessa yhteisön kanssa.
Tämä kysymys on merkitty
1 Vastaa
2154 Näkymät

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

Avatar
Hylkää

use onchange method

Paras vastaus

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

Avatar
Hylkää