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. POS Price based Products v 19.0
  4. Sales Conditions FAQ

POS Price based Products

by Yasmeen Mestarihi
Odoo

$ 36.23

In-App Purchases
v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
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 108
Technical Name pos_total_price_button
LicenseLGPL-3
You bought this module and need support? Click here!
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 108
Technical Name pos_total_price_button
LicenseLGPL-3

Why this module? When customers ask for an amount in money (e.g. "I want 5 JOD of grapes") instead of a quantity, the cashier can enter the total price directly. The system calculates the quantity automatically — no mental math, correct inventory and invoicing.

Key benefits:

  • Sell by total amount (e.g. 10.00) instead of quantity — ideal for weighed products, bakery, deli.
  • Per-product control: enable "Price-based in POS" only for the products that need it.
  • Unit price stays fixed; only quantity is updated. Inventory and financial movements remain accurate.

Total Price button in POS

Adds a Total Price button to the Point of Sale control buttons. When the selected order line is for a price-based product, the cashier can enter the desired total amount; the system computes and sets the quantity (Qty = Total ÷ Unit Price). Unit price is never changed.

Per-product control

A boolean field Price-based in POS is added to the product form (Point of Sale tab). The Total Price button is only enabled when the selected line belongs to a product with this flag enabled. Invalid input, zero price, and missing selection are handled with clear alerts.

Product form: Point of Sale tab with Price-based in POS enabled

Product form — Point of Sale tab: enable "Price-based in POS" for the product. The Total Price button in POS is then available for this product.

Product form: Price-based in POS disabled — Total Price button not available for this product in POS

Product with "Price-based in POS" disabled: in POS the Total Price button stays disabled for this product; only products with the field enabled can use it.

Requirements

  • Odoo 19 (Community or Enterprise)
  • Point of Sale app installed and used in your database

How it works

  1. In the product form, open the Point of Sale tab. Enable the Price-based in POS checkbox (below "Is a Weighed Product?").
  2. In the POS session, add that product to the order and select its order line.
  3. The Total Price button in the control-buttons area becomes clickable.
  4. Click Total Price. Enter the desired total (e.g. 2). The system computes: Qty = EnteredTotal ÷ UnitPrice.
  5. The order line quantity is updated; unit price and line total reflect the entered amount.

POS with price-based product selected: Total Price button enabled

Step 1: Select the product (with the field enabled). Step 2: Click Total Price. The button is enabled for price-based products.

Total Price popup: Enter total price

Step 3: A popup appears — Enter total price: Type the amount (e.g. 5) and click OK. The system will update the line quantity automatically.

Success: quantity and total updated

Step 4: A Success message appears with the calculated quantity and total. The order line is updated (e.g. 0.42 Apple Pie, 5.00 total). This operation generates the corresponding inventory and financial movements in Odoo.

Final result: order line with calculated quantity and total

Final result: The order shows 0.42 Apple Pie with total 5.80 (including taxes). The product card displays the quantity (0.42). The line is ready for payment.

POS with non-price-based product selected: Total Price button disabled

For a product that does not have "Price-based in POS" enabled (e.g. Bagel), the Total Price button stays disabled. You cannot sell it by the customer's requested total price — only by quantity and unit price.

Edge cases

No order line selected, product without the flag, zero price, or invalid input are handled with clear alert messages; the button is disabled when not applicable.

POS screen with no products in order: Total Price button visible but disabled

POS with no products in the order: the Total Price button is visible but disabled (cannot be clicked) until a price-based product line is selected.

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