My actual requirement is : To move products from one location to another location, i am using the warehouse -> stock moves menu for this. I can move the stock to source to destination eventhough i dont have sufficient stock in source. My client asked me to show one confirmation to check.
I have a case like in if (quantity on hand of source locatio < quantity required for move){ i want to show one confirmation box here like do you want to procedd or cancel with two buttons "confirm" and "cancel". if(confirm): make a move else: stay in draft state}. Can any one give small code for this?
Me too want this spec.. If u found please update the answer