mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-17 12:35:46 +00:00
Override 'add_note' when new StockItem is created
- This allows us to prevent the issue of duplicate notes being created
This commit is contained in:
@ -366,7 +366,7 @@ class PurchaseOrder(Order):
|
||||
purchase_price=purchase_price,
|
||||
)
|
||||
|
||||
stock.save()
|
||||
stock.save(add_note=False)
|
||||
|
||||
tracking_info = {
|
||||
'status': status,
|
||||
|
Reference in New Issue
Block a user