Skip to content
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

The barcode field should be a string, not an integer #137

Open
stephanegigandet opened this issue Sep 7, 2022 · 5 comments
Open

The barcode field should be a string, not an integer #137

stephanegigandet opened this issue Sep 7, 2022 · 5 comments
Labels
bug Something isn't working P0

Comments

@stephanegigandet
Copy link

In Product Opener, barcodes are stored as strings (in the "code" field), not integers. One reason is that they can contain leading 0s. Internally, for the Producers platform, we also prefix barcodes with organization ids. (e.g. "org-something:[barcode]").

Related to #136

@jaivardhan-bhola
Copy link

can i work on this please?

@alexgarel
Copy link
Member

@jaivardhan-bhola sorry I didn't had the mention. Please do ! This would be really important to fix :-)

@jaivardhan-bhola
Copy link

So basically you need it in int or str?

@alexgarel
Copy link
Member

code must be string and not int.

@jaivardhan-bhola
Copy link

oki

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P0
Projects
Status: No status
Development

Successfully merging a pull request may close this issue.

3 participants