fix(Asset Repair): Set company when creating Stock Entry
diff --git a/erpnext/assets/doctype/asset_repair/asset_repair.py b/erpnext/assets/doctype/asset_repair/asset_repair.py
index 4ca6fbc..6a5776a 100644
--- a/erpnext/assets/doctype/asset_repair/asset_repair.py
+++ b/erpnext/assets/doctype/asset_repair/asset_repair.py
@@ -76,7 +76,8 @@
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: