chore: linting issues

This commit is contained in:
Deepesh Garg 2023-06-25 16:03:58 +05:30 committed by GitHub
parent 5e9014be8c
commit bcff4b0e5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 not self.apply_restriction_on_values:
self.allow_or_restrict = "Restrict"
self.set('dimensions', [])
self.set("dimensions", [])
def validate(self):
self.validate_applicable_accounts()