Skip to content

Stock item forms - #2198

Merged
SchrodingersGat merged 29 commits into
inventree:masterfrom
SchrodingersGat:stock-item-forms
Nov 4, 2021
Merged

SchrodingersGat merged 29 commits into
inventree:masterfrom
SchrodingersGat:stock-item-forms

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Oct 25, 2021 •

Copy link
Copy Markdown
Member

Refactoring existing "StockItem" forms to use the API forms architecture

Closes #1905

  • Create StockItem form
  • Duplicate StockItem form
  • Edit StockItem form
  • Create StockLocation form
  • Edit StockLocation form
  • ValidateBOM form
  • Serialize StockItem form
  • Assign to Customer form
  • Return from Customer form
  • Convert to variant form
  • Add / improve unit testing for new forms
  • Improve serial number field validation for new stock items~~
  • Add placeholder text for serial numbers when creating a new stock item
  • Add placeholder text for serial numbers when serializing a stock item
  • Reimplement unit testing for stock item serialization

@SchrodingersGat SchrodingersGat added this to the 0.6.0 milestone Oct 25, 2021
@SchrodingersGat SchrodingersGat added api Relates to the API enhancement This is an suggested enhancement or new feature stock Related to Stock models user interface labels Oct 25, 2021
# Conflicts:
#	InvenTree/stock/serializers.py
#	InvenTree/stock/templates/stock/item_base.html
- Allow stock item creation for inactive parts
- Better handling of successful stock item creation
- Disable fields rather than hiding them
SchrodingersGat added a commit to inventree/inventree-docs that referenced this pull request Nov 4, 2021
- Remove old unit tests
- Require quantity when creating a new stock item
@SchrodingersGat
SchrodingersGat merged commit 083967b into inventree:master Nov 4, 2021
@SchrodingersGat
SchrodingersGat deleted the stock-item-forms branch November 4, 2021 20:37
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 stock Related to Stock models

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Convert "StockItem" forms to new API forms

1 participant