mirror of
https://github.com/inventree/InvenTree.git
synced 2025-05-03 05:48:47 +00:00
PEP fixes
This commit is contained in:
parent
019d5aa4ba
commit
9c4a5d10fa
@ -123,7 +123,6 @@ class Build(models.Model):
|
||||
related_name='builds_completed'
|
||||
)
|
||||
|
||||
|
||||
URL = models.URLField(blank=True, help_text='Link to external URL')
|
||||
|
||||
notes = models.TextField(blank=True)
|
||||
@ -141,7 +140,6 @@ class Build(models.Model):
|
||||
for item in self.allocated_stock.all():
|
||||
item.delete()
|
||||
|
||||
|
||||
# Date of 'completion' is the date the build was cancelled
|
||||
self.completion_date = datetime.now().date()
|
||||
self.completed_by = user
|
||||
|
Loading…
x
Reference in New Issue
Block a user