2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-07-06 05:30:56 +00:00

Refactor "uninstall stock item" form to use the API

This commit is contained in:
Oliver Walters
2022-05-04 17:25:24 +10:00
parent 5cf30a850d
commit adbcd68fe8
11 changed files with 111 additions and 107 deletions

View File

@ -1142,7 +1142,7 @@ class StockItem(MPTTModel):
)
@transaction.atomic
def uninstallIntoLocation(self, location, user, notes):
def uninstall_into_location(self, location, user, notes):
"""
Uninstall this stock item from another item, into a location.