2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-05 13:10:57 +00:00

Create new stock location via API forms

This commit is contained in:
Oliver
2021-11-02 20:04:25 +11:00
parent 0d9c08b49c
commit ef305032c9
5 changed files with 32 additions and 79 deletions

View File

@ -931,6 +931,10 @@ class StockLocationCreate(AjaxCreateView):
"""
View for creating a new StockLocation
A parent location (another StockLocation object) can be passed as a query parameter
TODO: Remove this class entirely, as it has been migrated to the API forms
- Still need to check that all the functionality (as below) has been implemented
"""
model = StockLocation