mirror of
https://github.com/inventree/InvenTree.git
synced 2025-12-15 08:48:11 +00:00
Add integration of django-money
- Proper currency support - Add PurchasePrice field to StockItem model - This keeps track of both the price and the currency - Display purchase price on the stockitem detail page
This commit is contained in:
@@ -124,6 +124,7 @@ class CreateStockItemForm(HelperForm):
|
||||
fields = [
|
||||
'part',
|
||||
'supplier_part',
|
||||
'purchase_price',
|
||||
'location',
|
||||
'quantity',
|
||||
'batch',
|
||||
@@ -399,6 +400,7 @@ class EditStockItemForm(HelperForm):
|
||||
'serial',
|
||||
'batch',
|
||||
'status',
|
||||
'purchase_price',
|
||||
'link',
|
||||
'delete_on_deplete',
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user