Skip to content

Duplicate part - #136

Merged
SchrodingersGat merged 6 commits into
inventree:masterfrom
SchrodingersGat:duplicate-part
Apr 18, 2019
Merged

SchrodingersGat merged 6 commits into
inventree:masterfrom
SchrodingersGat:duplicate-part

Conversation

@SchrodingersGat

Copy link
Copy Markdown
Member

Adds ability to duplicate Part or StockItem

  • Shallow copy (for now)
  • Does not copy child data e.g. BomItems or SupplierParts
  • These options should be selectable in the form

- Launch a PartCreate form
- initialize form data with the existing part (if it exists!)
- use model_to_dict to pass data around
- Opens modal form
- Takes user to created page
@SchrodingersGat
SchrodingersGat merged commit 2f26831 into inventree:master Apr 18, 2019
@SchrodingersGat
SchrodingersGat deleted the duplicate-part branch April 18, 2019 13:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant