mirror of
https://github.com/frappe/erpnext.git
synced 2026-04-16 21:35:09 +00:00
fix: respect title_field from doctype to bulk transactions (#34928)
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.flags.ignore_validate = True
|
||||
obj.set_title_field()
|
||||
obj.insert(ignore_mandatory=True)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user