mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 11:35:41 +00:00
- Use StockItem ID correctly
- Provide line ID
(cherry picked from commit f27a84a7e5
)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
committed by
GitHub
parent
eef1aad464
commit
28726db86f
@ -887,7 +887,10 @@ class PurchaseOrder(TotalPriceMixin, Order):
|
||||
)
|
||||
|
||||
trigger_event(
|
||||
PurchaseOrderEvents.ITEM_RECEIVED, order_id=self.pk, item_id=self.pk
|
||||
PurchaseOrderEvents.ITEM_RECEIVED,
|
||||
order_id=self.pk,
|
||||
item_id=item.pk,
|
||||
line_id=line.pk,
|
||||
)
|
||||
|
||||
# Update the number of parts received against the particular line item
|
||||
|
Reference in New Issue
Block a user