Created
October 10, 2013 09:12
-
-
Save rmehta/6915421 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def custom_validate(self): | |
webnotes.msgprint('I got called') | |
company_count = 1 | |
if company_count >=0 : | |
webnotes.msgprint('Error: Test') | |
raise Exception |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment