commit | 22290c2694e626132de692a04e0fce2dba4c29df | [log] [tgz] |
---|---|---|
author | HarryPaulo <paulo_fabris@hotmail.com> | Tue Apr 25 10:43:53 2023 -0300 |
committer | GitHub <noreply@github.com> | Tue Apr 25 19:13:53 2023 +0530 |
tree | 3201b0e556cfcaa02a5942836ec50a00db92c042 | |
parent | b545e3def01fb9b9dd6b964478efcb7d764ce386 [diff] |
fix: respect title_field from doctype to bulk transactions (#34928)
diff --git a/erpnext/utilities/bulk_transaction.py b/erpnext/utilities/bulk_transaction.py index c1579b3..7fc1d97 100644 --- a/erpnext/utilities/bulk_transaction.py +++ b/erpnext/utilities/bulk_transaction.py
@@ -104,6 +104,7 @@ obj = mapper[from_doctype][to_doctype](doc_name) obj.flags.ignore_validate = True + obj.set_title_field() obj.insert(ignore_mandatory=True)