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

Adds API endpoint to delete build outputs

This commit is contained in:
Oliver
2022-02-10 00:46:26 +11:00
parent 18ac1ceebe
commit 96af074365
6 changed files with 253 additions and 13 deletions

View File

@ -708,7 +708,7 @@ class Build(MPTTModel, ReferenceIndexingMixin):
self.save()
@transaction.atomic
def deleteBuildOutput(self, output):
def delete_output(self, output):
"""
Remove a build output from the database: