fix - update transaction bug in items
This commit is contained in:
@@ -166,7 +166,7 @@ class InventoryQuotaSaleTransaction(BaseModel):
|
||||
return sum(item.weight for item in self.items.all) # noqa
|
||||
|
||||
def __str__(self):
|
||||
return f"Inventory Sale: {self.transaction_id}-{self.quota_distribution.distribution_id}"
|
||||
return f"Inventory Sale: {self.transaction_id}"
|
||||
|
||||
def save(self, *args, **kwargs):
|
||||
super(InventoryQuotaSaleTransaction, self).save(*args, **kwargs)
|
||||
|
||||
Reference in New Issue
Block a user