Skip to content

[ADD] sales_purchase_barcode: added barcode scanning in product catalog #901

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: 18.0
Choose a base branch
from

Conversation

kdes-odoo
Copy link

Automatically hit adds quantity 1 when a product is found via barcode scan
(no manual intervention)
Show toaster message "No product found with this barcode number" if no match is
found
Increment quantity on existing order line if the same product is scanned
multiple times
Ensure all scanned products are sorted and shown on the first page

representing my 2 logic for the same task
sales_order_barcode and sales_order_barcode1 consists of 2 different
logic a used to solve this tasks out of which sales_order_barcode is
completely functional where as sales_order_barcode1 has some functional
bugs.

@robodoo
Copy link

robodoo commented Jul 30, 2025

Pull request status dashboard

@kdes-odoo kdes-odoo force-pushed the 18.0-final-task-SO_PO_barcode-kdes branch from 6885615 to a959fc5 Compare July 30, 2025 04:51
@deso-odoo
Copy link

deso-odoo commented Aug 7, 2025

You have added "sale purchase" in commit msg as well as PR but your module is named "sales_order_barcode".
Also one more thing
What I prefer is
->if it is an improvement

Purpose of this commit:

commit msg...

task-xyz

->in case of a bug fix

Before this commit:

what was the issue before this commit

After this commit:

what after the commit

task-xyz

@kdes-odoo kdes-odoo force-pushed the 18.0-final-task-SO_PO_barcode-kdes branch 4 times, most recently from b72171b to 6dc64d0 Compare August 7, 2025 09:54
…atalog

Before this commit:

Users had to manually enter the barcode into the search bar to find products
in the catalog view.

After this commit:

Scanning a barcode automatically adds a quantity of 1 to the order without
manual intervention.

Displays a toaster message saying “No product found with this barcode number” if
no matching product is found.

If the same product is scanned multiple times, its quantity is incremented on
the existing order line.

All scanned products are sorted and displayed on the first page for easy access.
@kdes-odoo kdes-odoo force-pushed the 18.0-final-task-SO_PO_barcode-kdes branch from 6dc64d0 to 8229c46 Compare August 7, 2025 17:25
@kdes-odoo kdes-odoo changed the title [ADD] sale purchase: added barcode scanning in product catalog [ADD] sales_purchase_barcode: added barcode scanning in product catalog Aug 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants