-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
Labels
Comments
In #666 I made a change to the field type. We now allow users to store Decimal numbers. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
API: only return this field to the logged in price owner?Frontend integration: see openfoodfacts/open-prices-frontend#974
The text was updated successfully, but these errors were encountered: