feat(Asset Repair): Add 'Cost Center' to GL Entries
This commit is contained in:
parent
f5a2ea9cb3
commit
d554267b05
@ -66,7 +66,7 @@ class AssetRepair(Document):
|
||||
"against": repair_and_maintenance_account,
|
||||
"voucher_type": self.doctype,
|
||||
"voucher_no": self.name,
|
||||
"cost_center": "Main - F"
|
||||
"cost_center": self.cost_center
|
||||
})
|
||||
gl_entry.insert()
|
||||
gl_entry = frappe.get_doc({
|
||||
@ -77,7 +77,7 @@ class AssetRepair(Document):
|
||||
"against": self.payable_account,
|
||||
"voucher_type": self.doctype,
|
||||
"voucher_no": self.name,
|
||||
"cost_center": "Main - F"
|
||||
"cost_center": self.cost_center
|
||||
})
|
||||
gl_entry.insert()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user