Skip to content

Add metadata model to Company - #3895

Merged
SchrodingersGat merged 7 commits into
inventree:masterfrom
miggland:company-metadata
Nov 3, 2022
Merged

SchrodingersGat merged 7 commits into
inventree:masterfrom
miggland:company-metadata

Conversation

@miggland

@miggland miggland commented Nov 2, 2022 •

Copy link
Copy Markdown
Contributor

Applying same methods as used in Orders, add Metadata to Company.

This gives a better base for plugin creation.

@matmair

matmair commented Nov 2, 2022

Copy link
Copy Markdown
Member

@miggland looks good! Is this ready for review/merge? You can run the style checks locally in your dev environment, that way you do not have to commit to get the errors. Instructions here.

@matmair matmair added enhancement This is an suggested enhancement or new feature part Related to Part models plugin Plugin ecosystem labels Nov 2, 2022
@SchrodingersGat

Copy link
Copy Markdown
Member

So simple! The power of mixins :)

@miggland
miggland marked this pull request as ready for review November 3, 2022 08:47
@miggland

miggland commented Nov 3, 2022

Copy link
Copy Markdown
Contributor Author

@miggland looks good! Is this ready for review/merge? You can run the style checks locally in your dev environment, that way you do not have to commit to get the errors. Instructions here.

I should probably do that. What I'm missing is an instruction on which other tools check the files - ie the requirements.in, the import headers etc. I figured it out once, but didn't write it down and forgot about it..

@SchrodingersGat SchrodingersGat added the api Relates to the API label Nov 3, 2022
@SchrodingersGat SchrodingersGat added this to the 0.9.0 milestone Nov 3, 2022
@SchrodingersGat

Copy link
Copy Markdown
Member

@miggland as this exposes a new endpoint to the API, please increment the API version number with a brief description:

https://github.com/inventree/InvenTree/blob/master/InvenTree/InvenTree/api_version.py

@miggland

miggland commented Nov 3, 2022

Copy link
Copy Markdown
Contributor Author

@miggland as this exposes a new endpoint to the API, please increment the API version number with a brief description:

https://github.com/inventree/InvenTree/blob/master/InvenTree/InvenTree/api_version.py

Done

@SchrodingersGat

Copy link
Copy Markdown
Member

@miggland thanks for the contribution :)

@SchrodingersGat
SchrodingersGat merged commit fe1b8cb into inventree:master Nov 3, 2022
@miggland miggland mentioned this pull request Jan 11, 2023
28 of 38 tasks
@miggland
miggland deleted the company-metadata branch June 1, 2023 12:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Relates to the API enhancement This is an suggested enhancement or new feature part Related to Part models plugin Plugin ecosystem

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants