fix: do not use built-in "input", reload_doc

This commit is contained in:
Sagar Vora
2019-01-23 16:58:42 +05:30
parent f51661b225
commit e9778d9556
2 changed files with 6 additions and 2 deletions

View File

@@ -61,8 +61,8 @@ class SupplierScorecardPeriod(Document):
return weighed_score
def get_eval_statement(self, input):
my_eval_statement = input.replace("\r", "").replace("\n", "")
def get_eval_statement(self, formula):
my_eval_statement = formula.replace("\r", "").replace("\n", "")
for var in self.variables:
if var.value: