Skip to main content
License: AGPL-3

Point of Sale - Price to Weight

This module extends Odoo Point Of Sale features, to allow to scan barcode with price and to compute according quantity.

In Odoo by default, there are three types of barcode rules for products.

  • ‘Unit Product’ (type=’product’). Scanning a product will add a unit of this product to the current order.

  • ‘Priced product’ (type=’price’). A price is extracted from the barcode, and a new line with the given price and a quantity = 1 is added to the current order.

  • ‘Weighted product’ (type=’weight). A weight is extracted from the barcode, and a new line with the given weight, and a computed price (quantity * Unit price) is added to the current order.

This module add a new option:

  • ‘Priced Product (Computed Weight)’ (type=’price_to_weight’). A price is extracted from the barcode, and a new line with the given price, and a computed quantity (Price / Unit Price) is added to the current order.

/pos_price_to_weight/static/description/barcode_rule.png

This module is usefull in shops with products scaled, to manage correctly stock quantities.

Samples

  • Given a product with a unit price of 1,50€ / kg

  • The barcode is 0212345{NNNDD}x where:
    • 02 is the prefix of the barcode rule

    • 12345 is the product number

    • {NNNDD} is the price of the scaled product

    • x is the control digit

if {NNNDD} is 00265, the price is so 2,65€ and the according quantity is 2,65€ / 1,5 €/kg = 1,767 kg

/pos_price_to_weight/static/description/pos_test_1.png

if {NNNDD} is 00810, the price is so 8,10€ and the according quantity is 8,10€ / 1,5 €/kg = 5,400 kg

/pos_price_to_weight/static/description/pos_test_2.png

Configuration

  • Go to ‘Point of Sale’ / ‘Configuration’ / ‘Barcode Nomenclatures’

  • Edit your barcode rules, according to your barcodes settings

Usage

Try me on Runbot

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smash it by providing detailed and welcomed feedback.

Credits

Images

Icon parts come from http://icons8.com

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.

Release files for odoo9-addon-pos-price-to-weight 9.0.1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for odoo9-addon-pos-price-to-weight 9.0.1.0.0
File Interpreter ABI Platform
odoo9_addon_pos_price_to_weight-9.0.1.0.0-py2-none-any.whl Python 2 none any Details

Release files / odoo9_addon_pos_price_to_weight-9.0.1.0.0-py2-none-any.whl

Download URL odoo9_addon_pos_price_to_weight-9.0.1.0.0-py2-none-any.whl
Size 92.0 kB
Tags Python 2
SHA-256 checksum
How to use checksums
60786b5447f5e321123760f0dac564078528cf62b50d83ec0b8a2fa8881082c8
BLAKE2b-256 checksum
How to use checksums
71854c7a2edff6a195f388b006e736350ff63b691b2543a6a04bb367a4e305b7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page