mirror of
https://github.com/inventree/InvenTree.git
synced 2025-07-02 19:50:59 +00:00
Separate purchase_price and purchase_price_currency for StockItem serializer
- Add "purchase_price_string" for a read-only stringified representation - Unit testing
This commit is contained in:
@ -12,6 +12,8 @@
|
||||
tree_id: 0
|
||||
lft: 0
|
||||
rght: 0
|
||||
purchase_price: 123
|
||||
purchase_price_currency: AUD
|
||||
|
||||
# 5,000 screws in the bathroom
|
||||
- model: stock.stockitem
|
||||
|
Reference in New Issue
Block a user