Pop-up warning when PO line created with $0 cost in Odoo

To help prevent one of the most common and costly mistakes —accidentally confirming purchase orders (POs) with $0 cost lines —Steersman has developed a new Odoo customization: the $0 PO Line Warning pop-up.
Many businesses face costly errors when purchase order lines are accidentally entered with $0 cost, for example, due to missing vendor pricing or human error. This can lead to financial discrepancies, inventory valuation issues, and confusion for the receiving and accounting teams. Fixing this after the fact requires a manual reversal, a PO reset, an edit, and a re-receipt, which can be time-consuming.
Steersman’s customization adds an immediate, visual safeguard. When a user confirms a PO line with a $0 cost, Odoo displays a warning message. This ensures the user reviews the entry before confirming the PO.
How It Works
When you have a product with a $0 price on the PO line and try to confirm the PO, the above pop-up warning will display.
- If you want to return to the draft PO to adjust the price, click the “Return To Order” button.
- To confirm the order with a $0 price, click the “Confirm” button.
Key Features:
- Pop-up alert on $0 unit cost
- Displays a warning message when a purchase order line is confirmed with a $0 cost.
- Applies to purchase orders only
- The warning is triggered only in the PO module, not in sales.
- Does not block confirming PO
- The user can override the warning and confirm the PO if needed.
- Improves data accuracy
- Helps catch accidental omissions of costs before POs are finalized.
- Reduces the risk of inventory, accounting, or reporting errors resulting from $0 costs.
- Compatible with bulk purchasing workflows
- Works in multi-line or high-volume POs.
- Easy installation
- Simple installation with no complex setup steps.
How to Configure
- In the purchase module, go to Configuration > Settings > Orders:
- Enable “Warning for $0 Purchase Order Line” and save.
Related posts

Prevent Duplicate Customer PO on Sales Orders in Odoo
We’ve added a new feature to help prevent sales teams from accidentally duplicating a customer’s purchase order, a critical need for many of our clients who rely on customer issued PO references to manage order approvals and payment processing. This feature introduces automatic checks and interactive warnings when users attempt to reuse the same Customer Reference (PO number) for the same commercial partner.

Quickly Create Products On-The-Fly
Steersman Odoo provides businesses the ability quickly create products on-the-fly in sales orders while preventing product misconfiguration and giving the business a way to track and report on these special product's stock levels and value in the warehouse.

Track lot consumption across manufacturing process in Odoo
Many manufacturing businesses need detailed visibility into where and how product lots are consumed. That’s why we’ve developed the Product Lot Consumption Report. A new feature in Odoo that gives you precise tracking of lot consumption across your manufacturing process.

Auto Cancel Expired Quotations in Odoo
We’ve added a new feature to automatically cancel expired sales quotations each night. If a quote is no longer valid, it won’t clutter your pipeline or mislead your sales team; it will disappear.