When Quantity in Stock is 0
hello
When Quantity in Stock = 0 I want to change the field named sold in the (product module) I also have a field already added (sold )
The problem is this: I wrote this logic in the--> workflow when Quantity in Stock = 0 ––> Update the field as Product availability status sold.
Its workflow works when I change it manually Quantity in Stock Yes, the Product availability status changes automatically sold, But when I sell the product with order and create an invoice and the stock is zeroed then the status does not change.
In this case, the workflow does not work And the status does not change.
If you can help me this feature is important for me,
thanks