Merge pull request #15501 from codingCoffee/qwe

fix(multiple): syntax and patch
This commit is contained in:
Ameya Shenoy 2018-09-26 14:12:01 +05:30 committed by GitHub
commit 41d1982b90
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ class Account(NestedSet):
if frappe.local.flags.ignore_on_update:
return
else:
super().on_update()
super(Account, self).on_update()
def onload(self):
frozen_accounts_modifier = frappe.db.get_value("Accounts Settings", "Accounts Settings",

View File

@ -18,7 +18,7 @@ def execute():
for department in departments:
# skip root node
if department.name == _("All Departments"):
if _(department.name) == _("All Departments"):
continue
# for each company, create a copy of the doc