Hello,
I am trying to implement an automated workflow in Odoo, but I am facing an issue with the Point of Sale (POS).
My goal:
When a product stock becomes negative, I want to automatically trigger an action (create an activity or schedule a meeting).
What I did:
- I created an automated action on the model product.product
- Trigger: On update
- Condition: qty_available < 0
The problem:
When I sell a product through the POS while it is not in stock:
- The sale is completed successfully
- The stock becomes negative
- BUT the automated action is not triggered
My questions:
- Why is the automated action not triggered from POS sales?
- What is the correct model to use to detect negative stock in real time?
- Is there a recommended way to trigger an activity or meeting when stock goes below zero via POS?
Any guidance or best practices would be greatly appreciated.
Thank you!