fix: respect title_field from doctype to bulk transactions (#34928)
fix: respect title_field from doctype to bulk transactions (#34928)
(cherry picked from commit 22290c2694)
Co-authored-by: HarryPaulo <paulo_fabris@hotmail.com>
This commit is contained in:
@@ -104,6 +104,7 @@ def task(doc_name, from_doctype, to_doctype):
|
|||||||
obj = mapper[from_doctype][to_doctype](doc_name)
|
obj = mapper[from_doctype][to_doctype](doc_name)
|
||||||
|
|
||||||
obj.flags.ignore_validate = True
|
obj.flags.ignore_validate = True
|
||||||
|
obj.set_title_field()
|
||||||
obj.insert(ignore_mandatory=True)
|
obj.insert(ignore_mandatory=True)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user