mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-15 19:45:46 +00:00
- self() -> self
(cherry picked from commit 14d92b8727
)
Co-authored-by: Oliver <oliver.henry.walters@gmail.com>
This commit is contained in:
committed by
GitHub
parent
933a5a5595
commit
3659bbe389
@ -1776,7 +1776,7 @@ class StockItem(
|
|||||||
|
|
||||||
# Any "sales order allocations" for the other item must be assigned to this one
|
# Any "sales order allocations" for the other item must be assigned to this one
|
||||||
for allocation in other.sales_order_allocations.all():
|
for allocation in other.sales_order_allocations.all():
|
||||||
allocation.stock_item = self()
|
allocation.stock_item = self
|
||||||
allocation.save()
|
allocation.save()
|
||||||
|
|
||||||
# Prevent atomicity issues when we are merging our own "parent" part in
|
# Prevent atomicity issues when we are merging our own "parent" part in
|
||||||
|
Reference in New Issue
Block a user