v 9.0 v 10.0 v 11.0 v 12.0 Third Party 572
Download for v 12.0 Deploy on Odoo.sh
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 104
Technical Name pos_price_to_weight
LicenseAGPL-3
Websitehttps://github.com/OCA/pos
Versions 11.0 9.0 10.0 12.0
You bought this module and need support? Click here!

Point of Sale - Price to Weight

Beta License: AGPL-3 OCA/pos Translate me on Weblate Try me on Runboat

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.
https://raw.githubusercontent.com/OCA/pos/12.0/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

https://raw.githubusercontent.com/OCA/pos/12.0/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

https://raw.githubusercontent.com/OCA/pos/12.0/pos_price_to_weight/static/description/pos_test_2.png

Table of contents

Configuration

  • Go to Point of Sale > Configuration > Barcode Nomenclatures
  • Edit your barcode rules, according to your barcodes settings
  • Go to Point of Sale > Configuration > Point of Sale
  • Select the ‘Unit Price’ field that will be used to convert the price to weight.
https://raw.githubusercontent.com/OCA/pos/12.0/pos_price_to_weight/static/description/pos_config_form.png

Note:

By default, this is the field list_price that will be used. If you want to use a custom field, it should be loaded in the javascript file calling

models.load_fields("product.product", ['my_custom_field']);

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 to smash it by providing a detailed and welcomed feedback.

Do not contact contributors directly about support or help with technical issues.

Credits

Authors

  • La Louve
  • GRAP

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.

Odoo Community Association

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.

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, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
V14
by
Felix Asenji
on 3/21/22, 5:14 PM

When are you releasing v14 of this module?


by
Top Notch Technologies
on 5/14/21, 4:58 PM

hi.

I need this for v14. Is it available?


Odoo 13
by
Mohamed
on 1/7/21, 1:29 AM

Can I use this in V13

please email me on 

mohasu@gmail.com


Odoo V13 CE
by
Mohamed
on 1/7/21, 1:28 AM

Please let me know if this module

is available in odoo V13 CE

 



for odoo 13?
by
pablogrunebaum@gmail.com
on 7/12/20, 1:28 AM

is for odoo 13 ?