mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-06 20:13:15 +00:00
fix: Use depreciation cost center for creating credit entries in JEs (#28908)
This commit is contained in:
@@ -59,7 +59,7 @@ def make_depreciation_entry(asset_name, date=None):
|
||||
"credit_in_account_currency": d.depreciation_amount,
|
||||
"reference_type": "Asset",
|
||||
"reference_name": asset.name,
|
||||
"cost_center": ""
|
||||
"cost_center": depreciation_cost_center
|
||||
}
|
||||
|
||||
debit_entry = {
|
||||
|
||||
Reference in New Issue
Block a user