Skip to content

[16.0][FIX] shopfloor_gs1: parse all AI items regardless of registered search handlers - #1226

Open
nicolas-delbovier-acsone wants to merge 1 commit into
OCA:16.0from
acsone:16.0-fix-shopfloor_gs1-parse-everything-possible
Open

[16.0][FIX] shopfloor_gs1: parse all AI items regardless of registered search handlers#1226
nicolas-delbovier-acsone wants to merge 1 commit into
OCA:16.0from
acsone:16.0-fix-shopfloor_gs1-parse-everything-possible

Conversation

@nicolas-delbovier-acsone

@nicolas-delbovier-acsone nicolas-delbovier-acsone commented Jul 23, 2026

Copy link
Copy Markdown

Following #1174

Previously, the GS1 parser filtered parsed Application Identifiers (AIs)
against the keys present in self.search_action._barcode_type_handler.

This tight coupling caused the parser to skip valid AI items if they were not
explicitly handled at the search layer.


Example of real bug because of this

If you scan a GS1 for a new lot in the 'set_lot' screen (a lot you do not have yet in odoo), the date will not be completed in the screen because the GS1 parser would drop it...

cc @jbaudoux

…ch handlers

Previously, the GS1 parser filtered parsed Application Identifiers (AIs)
against the keys present in `self.search_action._barcode_type_handler`.

This tight coupling caused the parser to skip valid AI items if they were not
explicitly handled at the search layer.
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Hi @simahawk, @sebalix,
some modules you are maintaining are being modified, check this out!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants