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
fix: respect title_field from doctype to bulk transactions (#34928)

(cherry picked from commit 22290c2)

Co-authored-by: HarryPaulo <paulo_fabris@hotmail.com>
  • Loading branch information
mergify[bot] and HarryPaulo committed Apr 25, 2023
1 parent 5045ad6 commit 29aa4a0
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 29aa4a0

Please sign in to comment.