mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-31 10:49:09 +00:00
Merge branch 'master' of github.com:webnotes/erpnext into custom_script_defer
This commit is contained in:
@@ -114,7 +114,8 @@ class DocType(SellingController):
|
||||
|
||||
def validate_with_previous_doc(self):
|
||||
prev_doctype = [d.prevdoc_doctype for d in self.doclist.get({
|
||||
"parentfield": "delivery_note_details", "prevdoc_doctype": ["!=", ""]})]
|
||||
"parentfield": "delivery_note_details"}) if cstr(d.prevdoc_doctype) != ""]
|
||||
|
||||
if prev_doctype:
|
||||
super(DocType, self).validate_with_previous_doc(self.tname, {
|
||||
prev_doctype[0]: {
|
||||
|
||||
Reference in New Issue
Block a user