Skip to Content
Menu
This question has been flagged
1 Reply
1497 Views

When I create a sales order, the system sometimes prompts

 "Not enough inventory! 

You plan to sell..."
How to cancel this system prompt, or where can I set this system prompt?

Thanks!

Avatar
Discard
Best Answer

This warning is generated from the onchange event in sale_stock module.

You can stop this warning by overwriting the onchange and remove the warning from the return dictionary from the super call.


Avatar
Discard