Skip to Content
pos_stop_weight

POS Stop Weight Barcode Rule

Disables the default 21-prefix weight barcode rule so ordinary product barcodes starting with 21 scan correctly in POS.

  • Odoo 19
  • Point of Sale
  • 19.0.1.0.0
1

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.

2

Usage steps

  1. 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. 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. 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. 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. 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
4

Roles

Benefiting roles
Role
Point of Sale manager
Cashier
Inventory administrator
5

Dependencies

  • point_of_sale
  • stock

Want 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.

Contact us