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

Price: add new "consumption-related" field on receipts: receipt_quantity #499

Open
2 of 3 tasks
raphodn opened this issue Oct 5, 2024 · 0 comments · Fixed by #498
Open
2 of 3 tasks

Price: add new "consumption-related" field on receipts: receipt_quantity #499

raphodn opened this issue Oct 5, 2024 · 0 comments · Fixed by #498

Comments

@raphodn
Copy link
Member

raphodn commented Oct 5, 2024

Story

Linked with #387

Allow users to input the number bought for a given item.

Say in a receipt I buy 2x Snickers, I will add its price once, but I want to store somewhere the info that it was bought in a larger quantity. This would rather be stored on the Price model. For instance receipt_quantity. Defaults to 1.

Todo

Frontend integration: see openfoodfacts/open-prices-frontend#974

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: In review
Development

Successfully merging a pull request may close this issue.

1 participant