Skip to content

Commit

Permalink
fix: respect title_field from doctype to bulk transactions (#34928)
Browse files Browse the repository at this point in the history
(cherry picked from commit 22290c2)
  • Loading branch information
HarryPaulo authored and mergify[bot] committed Apr 25, 2023
1 parent 5cc3978 commit 8146b54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erpnext/utilities/bulk_transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)


Expand Down

0 comments on commit 8146b54

Please sign in to comment.