Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2148 Visualizzazioni

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

Avatar
Abbandona

use onchange method

Risposta migliore

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
Abbandona