mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 12:19:12 +00:00
[cleanup] old Workflow Engine, State, Sales Browser Control, Naming Series Options
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user