style: semgrep issues
This commit is contained in:
parent
1cdf5a0dba
commit
1e3a3b27c6
@ -225,7 +225,7 @@ class AccountsController(TransactionBase):
|
||||
|
||||
def validate_date_with_fiscal_year(self):
|
||||
if self.meta.get_field("fiscal_year"):
|
||||
date_field = ""
|
||||
date_field = None
|
||||
if self.meta.get_field("posting_date"):
|
||||
date_field = "posting_date"
|
||||
elif self.meta.get_field("transaction_date"):
|
||||
|
Loading…
x
Reference in New Issue
Block a user