-
Notifications
You must be signed in to change notification settings - Fork 38
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
Where did the notes attribute go? #259
Comments
How did you get the part, through list(), or directly with a defined pk? See this issue, it could be related: inventree/InvenTree#8672 The difference in that case is not in |
via Part.list(api) and then some further search in the list. |
Probably you will be able to access the note if do something like
|
In that way it works. Strange... |
Yes, I agree. The reason is that getting a single item and the listing use different API endpoints. The listing does not return notes, whereas the single item endpoint does, thus inventree/InvenTree#8672 .. |
Since update to 17 the notes attribute on parts has vanished. The following does not work any longer:
AttributeError: 'Part' object has no attribute 'notes'
Any idea?
The text was updated successfully, but these errors were encountered: