fix(Asset Repair): Set company when creating Stock Entry
This commit is contained in:
parent
960840dc3a
commit
2ceeb8138d
@ -75,7 +75,8 @@ class AssetRepair(Document):
|
||||
def decrease_stock_quantity(self):
|
||||
stock_entry = frappe.get_doc({
|
||||
"doctype": "Stock Entry",
|
||||
"stock_entry_type": "Material Issue"
|
||||
"stock_entry_type": "Material Issue",
|
||||
"company": frappe.get_value('Asset', self.asset, "company")
|
||||
})
|
||||
|
||||
for stock_item in self.stock_items:
|
||||
|
Loading…
x
Reference in New Issue
Block a user