fix: respect title_field from doctype to bulk transactions (#34928)
This commit is contained in:
parent
b545e3def0
commit
22290c2694
@ -104,6 +104,7 @@ def task(doc_name, from_doctype, to_doctype):
|
||||
obj = mapper[from_doctype][to_doctype](doc_name)
|
||||
|
||||
obj.flags.ignore_validate = True
|
||||
obj.set_title_field()
|
||||
obj.insert(ignore_mandatory=True)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user