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

feat(Shop import): new script to upload prices from a shop csv #574

Merged
merged 3 commits into from
Dec 8, 2024

Conversation

raphodn
Copy link
Member

@raphodn raphodn commented Nov 24, 2024

What

New script dedicated to shop imports.

Very similar to #209 (GDPR script).

@raphodn raphodn force-pushed the raphodn/shop-import-script branch from 1c047b4 to cee42a5 Compare December 8, 2024 21:04
passes_test = False
elif len(op_price["product_code"]) < 6:
passes_test = False
elif not openfoodfacts.barcode.has_valid_check_digit(op_price["product_code"]):
Copy link
Member Author

Choose a reason for hiding this comment

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

@raphodn raphodn marked this pull request as ready for review December 8, 2024 21:06
@raphodn raphodn merged commit 7ec2eda into main Dec 8, 2024
7 checks passed
@raphodn raphodn deleted the raphodn/shop-import-script branch December 8, 2024 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

1 participant