fix: Rename item to item_code

This commit is contained in:
GangaManoj 2021-11-11 18:41:16 +05:30
parent 1aed8c4b2f
commit abb535540a

View File

@ -120,7 +120,7 @@ class AssetRepair(AccountsController):
for stock_item in self.get('stock_items'):
stock_entry.append('items', {
"s_warehouse": self.warehouse,
"item_code": stock_item.item,
"item_code": stock_item.item_code,
"qty": stock_item.consumed_quantity,
"basic_rate": stock_item.valuation_rate
})