Compute weight based on barcodes with prices
Project description
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.
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
if {NNNDD} is 00810, the price is so 8,10€ and the according quantity is 8,10€ / 1,5 €/kg = 5,400 kg
Table of contents
Configuration
Go to ‘Point of Sale’ / ‘Configuration’ / ‘Barcode Nomenclatures’
Edit your barcode rules, according to your barcodes settings
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 smashing it by providing a detailed and welcomed feedback.
Do not contact contributors directly about support or help with technical issues.
Credits
Contributors
Sylvain LE GAL <https://twitter.com/legalsylvain>
Druidoo <https://www.druidoo.io>
Other credits
Icon parts come from http://icons8.com
Maintainers
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.
This module is part of the OCA/pos project on GitHub.
You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for odoo11_addon_pos_price_to_weight-11.0.1.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eed5c9b4bac5a72c3bdc471aa036ddd83c6163012eb48ad83143c2a24c5e648d |
|
MD5 | 05b9993d54e78219b70738334c632538 |
|
BLAKE2b-256 | 51e0f7aceaeac7a589bd195b76063a56d60df118f339814a02b5d8e25632c45c |