wherehouse: change inventory list serializer
This commit is contained in:
@@ -28,6 +28,7 @@ class Inventory(BaseModel):
|
||||
)
|
||||
is_invalid = models.BooleanField(default=False)
|
||||
unit_price = models.DecimalField(max_digits=15, decimal_places=2, default=0.00)
|
||||
received_currency = models.CharField(max_length=3, null=True, blank=True)
|
||||
|
||||
def __str__(self):
|
||||
return f'{self.product} in {self.wherehouse}'
|
||||
|
||||
Reference in New Issue
Block a user