[cleanup] old Workflow Engine, State, Sales Browser Control, Naming Series Options

This commit is contained in:
Rushabh Mehta
2013-06-11 12:35:46 +05:30
parent cd4bfa6b9a
commit 0ab1bdf94e
163 changed files with 4 additions and 2528 deletions

View File

@@ -65,10 +65,6 @@ class DocType:
msgprint("[Stock Update] Ignored %s since it is not a stock item"
% args.get("item_code"))
def check_state(self):
return "\n" + "\n".join([i[0] for i in sql("""
select state_name from `tabState` where country=%s""", self.doc.country)])
def validate(self):
if self.doc.email_id and not validate_email_add(self.doc.email_id):
msgprint("Please enter valid Email Id", raise_exception=1)