Overview
Odoo ships a barcode rule that treats any barcode starting with 21 as a weighed product, with the weight encoded in the last digits. Shops whose normal product barcodes also start with 21 then get wrong products or quantities when scanning in the Point of Sale. This module changes the pattern of that standard rule to one that cannot match real barcodes, so the rule is effectively off. It is applied automatically at installation, only if the rule is still untouched. On uninstall the original pattern is restored, again only if this module had disabled it. No screens, menus or settings are added.
Usage steps
- 1
Install the module
Install POS Stop Weight Barcode Rule from the Apps menu. No configuration is needed.
- Requires Point of Sale and Inventory
- Works immediately after installation
- 2
The standard rule is disabled
The installation hook changes the pattern of the standard three-decimal weight rule from 21 to a non-matching value.
- Only done if the rule still has its original pattern
- A customised rule is left untouched
- 3
Check the barcode rule
Open the barcode nomenclature in the Point of Sale or Inventory settings and review the weight rule pattern.
- The pattern now starts with ZZ instead of 21
- Other barcode rules are unchanged
- 4
Scan products in the POS
Open a POS session and scan a product whose barcode starts with 21.
- The product is found by its normal barcode
- No weight is decoded from the barcode
- 5
Uninstall to restore
Uninstalling the module restores the original 21 pattern.
- Restored only if this module had disabled the rule
- Weighed-product barcodes work again as before
Screens
Illustrative mockups with placeholder data.
—
Added by this module
Scanning in the Point of Sale
Barcode Pattern Placeholder value
Roles
| Role |
|---|
| Point of Sale manager |
| Cashier |
| Inventory administrator |
Dependencies
- point_of_sale
- stock
Related applications
Applications that work together with this one.
Early Print
Another small Point of Sale utility that adjusts standard POS behaviour without new screens.
pos_early_printPOS Product Price on Cards
Same business area: improves how products are shown and found at the POS.
osloop_pos_product_pricePOS Receipt Footer Control
Same business area: another POS configuration module for cashier-facing behaviour.
pos_receipt_footer_controlPOS Hide Invoicing
Same business area: a POS settings adjustment installed alongside similar tweaks.
pos_hide_invoicing_configWant to know more or try this app? Contact us
Disables the default 21-prefix weight barcode rule so ordinary product barcodes starting with 21 scan correctly in POS.