mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-01 19:29:10 +00:00
minor fixes
This commit is contained in:
@@ -107,8 +107,7 @@ class DocType(TransactionBase):
|
||||
#validation for Naming Series mandatory field...
|
||||
if get_defaults()['supp_master_name'] == 'Naming Series':
|
||||
if not self.doc.naming_series:
|
||||
msgprint("Series is Mandatory.")
|
||||
raise Exception
|
||||
msgprint("Series is Mandatory.", raise_exception=1)
|
||||
|
||||
def create_account_head(self):
|
||||
if self.doc.company :
|
||||
|
||||
Reference in New Issue
Block a user