commit | 63b126967ea685e9d2cecc525b97864b91b48363 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <deepeshgarg6@gmail.com> | Sun Jun 25 16:24:22 2023 +0530 |
committer | Deepesh Garg <deepeshgarg6@gmail.com> | Sun Jun 25 16:24:22 2023 +0530 |
tree | 49e8692f1024307e60e4102e6d294fdf132a8644 | |
parent | bcff4b0e5afea4d1abd17af8ef2138fa0a93bdd2 [diff] |
chore: Linting Issues
diff --git a/erpnext/accounts/doctype/accounting_dimension_filter/accounting_dimension_filter.py b/erpnext/accounts/doctype/accounting_dimension_filter/accounting_dimension_filter.py index a79f13d..de1b82c 100644 --- a/erpnext/accounts/doctype/accounting_dimension_filter/accounting_dimension_filter.py +++ b/erpnext/accounts/doctype/accounting_dimension_filter/accounting_dimension_filter.py
@@ -8,13 +8,12 @@ class AccountingDimensionFilter(Document): - def before_save(self): # 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", []) - + def validate(self): self.validate_applicable_accounts()