expense_claim: approval status fix
This commit is contained in:
parent
a9ff53c5a4
commit
0727169a5e
@ -34,7 +34,7 @@ class DocType:
|
||||
# webnotes.msgprint("""Self Approval is not allowed.""", raise_exception=1)
|
||||
|
||||
import utilities
|
||||
utilities.validate_status(self.doc.status, ["Draft", "Approved", "Rejected"])
|
||||
utilities.validate_status(self.doc.approval_status, ["Draft", "Approved", "Rejected"])
|
||||
|
||||
self.validate_fiscal_year()
|
||||
self.validate_exp_details()
|
||||
|
Loading…
x
Reference in New Issue
Block a user