[minor] [fix] in check_mandatory, ignore naming_series, since it is checked during doc's save
This commit is contained in:
parent
461b417871
commit
6f6e91c0fa
@ -36,7 +36,7 @@ class StockOverReturnError(webnotes.ValidationError): pass
|
||||
from controllers.stock_controller import StockController
|
||||
|
||||
class DocType(StockController):
|
||||
def __init__(self, doc, doclist=[]):
|
||||
def __init__(self, doc, doclist=None):
|
||||
self.doc = doc
|
||||
self.doclist = doclist
|
||||
self.fname = 'mtn_details'
|
||||
|
Loading…
Reference in New Issue
Block a user