I am unable to run the second function of same class. For example -
class OrderDetails(Document):
def validate(self):
# some stuff
def validate2(self):
frappe.errprint("+++")
The output of validate2 → +++ in console is not printing. How do I make the second function valid?