fix(Company): Allow Equity type account in unrealised exchange gain/loss account (#41740)
This commit is contained in:
@@ -251,7 +251,10 @@ erpnext.company.setup_queries = function (frm) {
|
||||
["discount_allowed_account", { root_type: "Expense" }],
|
||||
["discount_received_account", { root_type: "Income" }],
|
||||
["exchange_gain_loss_account", { root_type: ["in", ["Expense", "Income"]] }],
|
||||
["unrealized_exchange_gain_loss_account", { root_type: ["in", ["Expense", "Income"]] }],
|
||||
[
|
||||
"unrealized_exchange_gain_loss_account",
|
||||
{ root_type: ["in", ["Expense", "Income", "Equity", "Liability"]] },
|
||||
],
|
||||
[
|
||||
"accumulated_depreciation_account",
|
||||
{ root_type: "Asset", account_type: "Accumulated Depreciation" },
|
||||
|
||||
Reference in New Issue
Block a user