mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-17 00:25:01 +00:00
chore: Handle edge cases
This commit is contained in:
@@ -415,6 +415,8 @@ class Company(NestedSet):
|
||||
|
||||
if income_account:
|
||||
income_account = income_account[0]
|
||||
else:
|
||||
income_account = None
|
||||
|
||||
self.db_set("default_income_account", income_account)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user