mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 10:11:20 +00:00
chore: linting issues
This commit is contained in:
@@ -13,7 +13,7 @@ class AccountingDimensionFilter(Document):
|
|||||||
# If restriction is not applied on values, then remove all the dimensions and set allow_or_restrict to Restrict
|
# If restriction is not applied on values, then remove all the dimensions and set allow_or_restrict to Restrict
|
||||||
if not self.apply_restriction_on_values:
|
if not self.apply_restriction_on_values:
|
||||||
self.allow_or_restrict = "Restrict"
|
self.allow_or_restrict = "Restrict"
|
||||||
self.set('dimensions', [])
|
self.set("dimensions", [])
|
||||||
|
|
||||||
def validate(self):
|
def validate(self):
|
||||||
self.validate_applicable_accounts()
|
self.validate_applicable_accounts()
|
||||||
|
|||||||
Reference in New Issue
Block a user