Merge pull request #19502 from rohitwaghchaure/removed_in_flag_test_while_creating_default_account
fix: code cleanup
This commit is contained in:
commit
57f2dce682
@ -207,7 +207,7 @@ class Company(NestedSet):
|
||||
"default_expense_account": "Cost of Goods Sold"
|
||||
})
|
||||
|
||||
if self.update_default_account or frappe.flags.in_test:
|
||||
if self.update_default_account:
|
||||
for default_account in default_accounts:
|
||||
self._set_default_account(default_account, default_accounts.get(default_account))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user