Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Point Of Sale
  3. CODEerts POS Zero Price Block | Odoo POS Restrict Zero and Negative Price | Point of Sale Price Control | Stop Free Items at Checkout v 18.0
  4. Sales Conditions FAQ

CODEerts POS Zero Price Block | Odoo POS Restrict Zero and Negative Price | Point of Sale Price Control | Stop Free Items at Checkout

by CODEerts https://www.codeerts.com
Odoo

$ย 19.00

v 18.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 18.0 19.0
You bought this module and need support? Click here!
Versions 18.0 19.0
  • Description
  • Manifest
  • License
CODEerts  ยท  Odoo 19 & 18

POS Zero Price Block

Stop free items leaving the till by mistake.

Blocks point of sale lines priced at zero or below, in the browser and again on the server, so orders taken offline cannot slip through.

Zero Price Negative Price Server Enforced Offline Safe Combo & Loyalty Safe
2
Independent Rules
2
Layers Of Defence
Offline
Orders Covered
Per POS
Set Per Register
0
Setup Steps

The leak nobody notices until the day is reconciled

A product with no price on its record sells for nothing, and the point of sale lets it

A new product saved before anyone set a price. A mistyped discount that sends a line negative. Neither stops the sale, neither warns the cashier, and neither shows up until somebody reconciles the till and finds revenue missing with no way to tell which sale caused it.

What this module does

It refuses the sale at the till and checks again on the server, so an order created while the point of sale was offline is covered too. Combo and loyalty lines, which are legitimately zero or negative, are left alone.

๐Ÿ›‘
Blocked At The Till

The offending line is highlighted the moment it is added and payment is refused, naming the products at fault.

๐Ÿ›ก
Checked On The Server

A browser side check cannot see an offline order. This one inspects the server sync path as well, so nothing slips past.

๐Ÿšฉ
Offline Sales Flagged

The goods already left the shop, so the sale is recorded and marked rather than destroyed, and a filter shows managers what got through.

๐ŸŽ
Combo & Loyalty Safe

Combo parents sit at zero by design and rewards are negative by construction. Both are exempt, so nothing legitimate is blocked.

๐Ÿ”ข Two Independent Switches

Block zero priced lines, block negative priced lines, or both. A till that hands out zero priced samples can still refuse negative lines.

๐Ÿช Set Per Point Of Sale

Both rules live on the point of sale configuration, so different registers can behave differently without any code.

๐Ÿ” Named In The Warning

The message lists the products at fault rather than just refusing, so the cashier knows what to fix instead of guessing.

๐Ÿ“‹ Blocked Price Line Filter

A filter on the point of sale orders list surfaces every flagged order, so a manager can review what came in from offline tills.

๐Ÿ”‘ No New Access Rights

The rules ride the existing point of sale configuration. Cashiers need no extra permissions and no new groups are created.

๐Ÿงฎ Currency Aware

Prices are compared against the currency rounding of the point of sale, not a raw float, so tiny rounding artefacts do not trigger it.

How it works

1
Switch the rules on

Point of Sale, then Settings, then Price Control. Tick zero, negative or both for that register and save.

2
The cashier is stopped

An offending line is highlighted as soon as it enters the cart, and payment is refused with the products named.

3
Offline orders are flagged

Anything that synced from an offline session is saved and marked, and appears under the Blocked Price Line filter.

Screenshot walkthrough

Step 1 of 4

A zero priced line is highlighted in the cart the moment it is added, before the cashier reaches payment.

A zero priced line highlighted in the point of sale cart
Step 2 of 4

Payment is refused while a blocked line is on the order, and the cashier is told exactly which line to correct.

The point of sale refusing payment on an order with a zero priced line
Step 3 of 4

Zero prices and negative prices are blocked independently, and the setting belongs to each point of sale.

Price control settings for a point of sale
Step 4 of 4

Orders that arrived from an offline session carrying a blocked price are kept, flagged and filterable.

Point of sale orders list filtered to orders with a blocked price line

Technical information

Version
Odoo 19 and 18
License
OPL-1
Editions
Community & Enterprise
Dependencies
point_of_sale

Frequently asked questions

Does this block discounts?

No. Loyalty rewards and discount lines are negative by construction and are exempt, so your loyalty programme keeps working with both rules switched on.

What happens to an order taken while the point of sale was offline?

It is saved and flagged, never refused. The sale already happened, so rejecting it would only strand the order in the till. Managers find them with the Blocked Price Line filter on the orders list.

Will it break combo menus?

No. Odoo puts the price on the combo children and leaves the parent line at zero on purpose. Combo lines are exempt from both rules.

Can I block only negative prices and still allow zero?

Yes. The two rules are independent switches, set per point of sale, so a till that hands out zero priced samples can still refuse negative lines.

Does it apply to every register?

Only the ones you switch it on for. Both rules live on the point of sale configuration, so different registers can behave differently.

Which Odoo versions are supported?

Odoo 19 and 18, Community and Enterprise. It requires Point of Sale and works alongside Restaurant, Loyalty and Discount.

Do cashiers need extra permissions?

No. The rules ride the existing point of sale configuration and need no new access rights.

The team behind this module

About CODEerts

We build and support Odoo apps used by teams running real operations. Every module is tested against each supported version before release.

info@codeerts.com

CODEERTS APPS

More from CODEerts

Other apps we build to make Odoo do more. Tap any card to open it on the Odoo Apps Store.

FREE
Archive Anything
FREE
Transaction Flow Visualizer
FREE
Smart Mail Rebrand
FREE
Duplicate Record Detector
โ€‹
AI Dashboard Builder
โ€‹
Advance Payment Pro
โ€‹
Dual Book & Tax Depreciation
โ€‹
Smart Duplicate Detector

See every CODEerts app on the Odoo Apps Store.

Need Help?

Questions, customization requests, or bug reports. We respond fast.

Email Us
Support

CODEerts  ยท  Response within 1-2 business days

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Point of Sale (point_of_sale)
• Discuss (mail)
• Inventory (stock)
• Invoicing (account)
Lines of code 196
Technical Name codeerts_pos_zero_price
LicenseOPL-1
Websitehttps://www.codeerts.com
Odoo Proprietary License v1.0

This software and associated files (the "Software") may only be used (executed,
modified, executed after modifications) if you have purchased a valid license
from the authors, typically via Odoo Apps, or if you have received a written
agreement from the authors of the Software (see the COPYRIGHT file).

You may develop Odoo modules that use the Software as a library (typically
by depending on it, importing it and using its resources), but without copying
any source code or material from the Software. You may distribute those
modules under the license of your choice, provided that this license is
compatible with the terms of the Odoo Proprietary License (For example:
LGPL, MIT, or proprietary licenses similar to this one).

It is forbidden to publish, distribute, sublicense, or sell copies of the Software
or modified copies of the Software.

The above copyright notice and this permission notice must be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
DEALINGS IN THE SOFTWARE.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal โ€ข Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with