mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-01 03:00:54 +00:00
Massaging unit tests
- Decimal fields are useful but VERY ANNOYING to use - Needed to fix some test cases
This commit is contained in:
@ -691,7 +691,7 @@ class StockItem(models.Model):
|
||||
sn=self.serial)
|
||||
else:
|
||||
s = '{n} x {part}'.format(
|
||||
n=self.quantity,
|
||||
n=helpers.decimal2string(self.quantity),
|
||||
part=self.part.full_name)
|
||||
|
||||
if self.location:
|
||||
|
Reference in New Issue
Block a user