fix: Use depreciation cost center for creating credit entries in JEs (#28908)

This commit is contained in:
Ganga Manoj
2021-12-23 12:04:15 +05:30
committed by GitHub
parent c9927efcae
commit ce2aa767b2

View File

@@ -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 = {