Skip to content

Commit 2251fe3

Browse files
committed
feat: update invoice title in purchase invoice creation to use vendor name
1 parent e72d84a commit 2251fe3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

invoice2erpnext/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11

2-
__version__ = '2.1.0'
2+
__version__ = '2.1.1'
33

invoice2erpnext/invoice2erpnext/doctype/invoice2erpnext_log/invoice2erpnext_log.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ def round_amount(amount):
282282

283283
purchase_invoice = {
284284
"doctype": "Purchase Invoice",
285-
"title": f"Invoice {bill_no}",
285+
"title": vendor_name,
286286
"supplier": vendor_name,
287287
"bill_no": bill_no,
288288
"bill_date": invoice_date,

0 commit comments

Comments
 (0)