fix: Accumulated depreciation (#25748)
* fix: Accumulated depreciation * fix: Sider issues
This commit is contained in:
parent
8d7d4b0ba7
commit
90f7ec840c
@ -4,7 +4,7 @@
|
||||
frappe.ui.form.on('Asset Category', {
|
||||
onload: function(frm) {
|
||||
frm.add_fetch('company_name', 'accumulated_depreciation_account', 'accumulated_depreciation_account');
|
||||
frm.add_fetch('company_name', 'depreciation_expense_account', 'accumulated_depreciation_account');
|
||||
frm.add_fetch('company_name', 'depreciation_expense_account', 'depreciation_expense_account');
|
||||
|
||||
frm.set_query('fixed_asset_account', 'accounts', function(doc, cdt, cdn) {
|
||||
var d = locals[cdt][cdn];
|
||||
|
Loading…
Reference in New Issue
Block a user