commit | 36bc0577a2a0c11fa10d669d76172cbb62a8ae90 | [log] [tgz] |
---|---|---|
author | Deepesh Garg <42651287+deepeshgarg007@users.noreply.github.com> | Tue Sep 15 09:44:46 2020 +0530 |
committer | GitHub <noreply@github.com> | Tue Sep 15 09:44:46 2020 +0530 |
tree | 818d2e4108a9bf85878013bf6203fb0480d075dc | |
parent | fcb6ba6ec7fb245f201a22374d1c4a0c8227905e [diff] |
fix: Item GL entries for purchase invoice (#23027)
diff --git a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py index b4ee7c9..079f599 100644 --- a/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py +++ b/erpnext/accounts/doctype/purchase_invoice/purchase_invoice.py
@@ -405,8 +405,6 @@ update_linked_doc(self.doctype, self.name, self.inter_company_invoice_reference) def make_gl_entries(self, gl_entries=None): - if not self.grand_total: - return if not gl_entries: gl_entries = self.get_gl_entries()