You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FR] All Models should have Metadata attached #4202
Please verify that this feature request has NOT been suggested before.
I checked and didn't find similar feature request
Problem statement
I have some ideas of things I would like to implement in some plugin/using my own API scripts. However, the central models are missing the Metadata extension in several cases.
Suggested solution
Add the Metadata plugin to the Models missing it. See PR #3895 as a reference.
List updated *
Already present:
Company
PO
SO
Part categories
Part
Stock item
Stock location
Manufacturer part
Supplier part
Part labels
Stock item labels
Stock location labels
PO lines
PO extra lines
SO lines
SO extra lines
SO shipments
Build Orders
Build order items
BOM items
Reports BOM
Reports Build
Reports PO
Reports SO
Reports test
Part parameter template
Not present:
Part test templates
Part parameters
Part category parameter templates
BOM item substitute
Part relateds
Stock item test result
New models:
Return order
Return order lines
Return order extra lines
Company contacts
No action on these:
Users
Part pricings
various price breaks
various attachments
Input welcome - which ones make sense? Did I miss any which have had metadata models added since 0.9.2?
I would not change the Users model, which can unintended effects in Django.
I would also prefer to not touch pricings/price breaks as we had big refactors there in the latest releases and I would like to wait for a few releases till we are sure nothing unobvious broke.
Activity
matmair commentedon Jan 12, 2023
I would not change the Users model, which can unintended effects in Django.
I would also prefer to not touch pricings/price breaks as we had big refactors there in the latest releases and I would like to wait for a few releases till we are sure nothing unobvious broke.
The rest seems fine @miggland
miggland commentedon Jan 12, 2023
@matmair Makes sense, thanks for the input. I've reorganised the text above to make it a bit clearer on this, and what's already there.
matmair commentedon Jan 12, 2023
Seems fine. If you create a PR please make sure that you reduce the number of migrations to as low as possible.
github-actions commentedon Mar 14, 2023
This issue seems stale. Please react to show this is still important.
SchrodingersGat commentedon Mar 14, 2023
Not stale
SchrodingersGat commentedon Apr 11, 2023
@miggland have all these been implemented now?
miggland commentedon Apr 11, 2023
@SchrodingersGat I've updated the list above according to #4410 - so there are still a few models missing.
miggland commentedon May 9, 2023
There's also a few new models which did not get metadata when they were added, I've added those to the list.