OdooWiki OCA HUB

Stock Barcodes Automatic Entry

stock_barcodes_automatic_entry folder_open OCA/stock-logistics-barcode open_in_new
Uncategorised License: AGPL-3

This module will automatically trigger the click event on a button with the class 'barcode-automatic-entry' after a barcode scanned has been processed.

auto_awesome What this module does

AI-generated from the code · Odoo 14.0

After a barcode is scanned in a form, this module automatically clicks the button marked for automatic entry, so users do not have to press it manually.

This module changes how barcode scanning behaves in Odoo forms. When a barcode is scanned and processed, the system looks for a button on the screen that has been marked for automatic entry and clicks it for the user.

  • It works inside any Odoo form that uses the standard barcode scanning feature.
  • The automatic click happens right after the scanned barcode has been processed.
  • No new menus, screens, or reports are added.
  • No business rules, checks, or scheduled actions are added.
  • It only affects the user interface behaviour of forms that already support barcode scanning.

The module depends on the standard barcodes module and adds a small script and a style file to the backend assets. It does not create or change any database models. The automatic click is triggered on elements with the class barcode-automatic-entry, which must already exist in the form for the feature to have an effect.

Depends on

barcodes

Required by other modules

Text generated by AI (DeepSeek) from reading the Odoo 14.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/stock-logistics-barcode.

terminal Installation and usage

OCA documentation · Odoo 14.0

To use this module, you need to:

  • Define, in the view, the button that will be clicked automatically as the example below:
<button name="action_automatic_entry" type="object" string="Automatic entry" icon="fa-plus"
        class="btn-primary barcode-automatic-entry" invisible="1"
/>
  • Define the logic to be executed upon button clicking
def action_automatic_entry(self):
    # Execute specific logic
    return

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.