Stock return to customer fix, stock children item table fix

This commit is contained in:
eeintech 2021-04-19 11:25:39 -04:00
parent 5f04802ead
commit 2dbd61c611
2 changed files with 2 additions and 1 deletions

View File

@ -634,6 +634,7 @@ class StockItem(MPTTModel):
self.customer = None
self.location = location
self.sales_order = None
self.save()

View File

@ -30,7 +30,7 @@
loadStockTable($("#stock-table"), {
params: {
location_detail: true,
part_details: true,
part_detail: false,
ancestor: {{ item.id }},
},
name: 'item-childs',