2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-08-28 14:25:56 +00:00

Fix for StockItem creation form

- purchase_price field was required (should not be!)
- Fixed some validation issues
- Cleaned up form implementation
This commit is contained in:
Oliver Walters
2020-11-17 15:29:44 +11:00
parent 9fa718e58d
commit 6144d7e209
5 changed files with 110 additions and 115 deletions

View File

@@ -453,6 +453,7 @@ class StockItem(MPTTModel):
max_digits=19,
decimal_places=4,
default_currency='USD',
blank=True,
null=True,
verbose_name=_('Purchase Price'),
help_text=_('Single unit purchase price at time of purchase'),