Skip to content

[16.0][MIG] shopfloor_gs1#966

Merged
OCA-git-bot merged 14 commits into
OCA:16.0from
acsone:16.0-add_gs1-dro
Jun 2, 2026
Merged

[16.0][MIG] shopfloor_gs1#966
OCA-git-bot merged 14 commits into
OCA:16.0from
acsone:16.0-add_gs1-dro

Conversation

@rousseldenis

@rousseldenis rousseldenis commented Jan 6, 2025

Copy link
Copy Markdown

@rousseldenis rousseldenis changed the title 16.0 add gs1 dro [16.0][MIG] shopfloor_gs1 Jan 6, 2025
@rousseldenis rousseldenis added this to the 16.0 milestone Jan 6, 2025
@rousseldenis rousseldenis marked this pull request as ready for review April 7, 2025 16:45

@simahawk simahawk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM
@rousseldenis can you rebase and cleanup? 🙏

Comment thread shopfloor_gs1/utils.py Outdated
Comment on lines +38 to +43
"""
We must return the date value if set
We must return the formatted GTIN if set
as the library will transform the GTIN 14 into
a GTIN 13 one. That one is the barcode
set in Odoo.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
"""
We must return the date value if set
We must return the formatted GTIN if set
as the library will transform the GTIN 14 into
a GTIN 13 one. That one is the barcode
set in Odoo.
"""
Determine the final value for the given parsed element.
Returns
* date value if set
* formatted GTIN if set
The library will transform the GTIN 14 into
a GTIN 13, which is the one used by Odoo.

@simahawk

simahawk commented Oct 8, 2025

Copy link
Copy Markdown

One more thing: as the v14 PR was never merged, IMO we can squash the fixup commit ;)

Comment thread shopfloor_gs1/__manifest__.py Outdated
# >= 2.3.0 required to use 'GS1Message.parse_hri' method
# and next version 3.0.0 has been refactored bringing
# incompatibility issues (to check later).
"biip"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the pin of the lib is lost here. It's mandatory as there's no other 2.x version that is suitable

@github-actions

github-actions Bot commented Feb 8, 2026

Copy link
Copy Markdown

There hasn't been any activity on this pull request in the past 4 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days.
If you want this PR to never become stale, please ask a PSC member to apply the "no stale" label.

@github-actions github-actions Bot added the stale PR/Issue without recent activity, it'll be soon closed automatically. label Feb 8, 2026
@github-actions github-actions Bot closed this Mar 15, 2026
@rousseldenis rousseldenis reopened this Mar 16, 2026
@github-actions github-actions Bot removed the stale PR/Issue without recent activity, it'll be soon closed automatically. label Mar 22, 2026
simahawk and others added 14 commits June 2, 2026 14:19
If you are specifically searching for a type
and this type is not supported by our AI mapping,
just don't search for it.
This is kind of mandatory because otherwise
the GS1 parsing will default to all available AIs
and can give back unexpected results
(eg: search for 'package' and get an empty 'product' back)
As products barcode in Odoo are stored in GTIN-13 (EAN-13), and as
GS1 contains the GTIN-14 representation, don't mix them in tests
@nicolas-delbovier-acsone

Copy link
Copy Markdown

@jbaudoux

@jbaudoux

jbaudoux commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

/ocabot merge nobump

@OCA-git-bot

Copy link
Copy Markdown
Contributor

What a great day to merge this nice PR. Let's do it!
Prepared branch 16.0-ocabot-merge-pr-966-by-jbaudoux-bump-nobump, awaiting test results.

@OCA-git-bot OCA-git-bot merged commit dc7f2ba into OCA:16.0 Jun 2, 2026
7 checks passed
@OCA-git-bot

Copy link
Copy Markdown
Contributor

Congratulations, your PR was merged at e11279d. Thanks a lot for contributing to OCA. ❤️

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants