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

Create assets from existing devices #18

Open
matejv opened this issue Oct 27, 2022 · 0 comments
Open

Create assets from existing devices #18

matejv opened this issue Oct 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@matejv
Copy link
Member

matejv commented Oct 27, 2022

On existing installations when user first installs inventory plugin it would be useful to quickly populate assets from existing devices, modules and inventory items and then establish relation to correct asset.

I'm thinking this might be best implemented as a django management command.

We could add a few options to limit what to import as asset: only for certain status values, only if serial present... A dry-run option is mandatory.

For inventory items this will be a bit more challenging as we need to create InventoryItem Types as well. I'm thinking that creating one for each (inventoryitem.manufacturer, inventoryitem.part_id) combo might do.

@matejv matejv added the enhancement New feature or request label Oct 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant