mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 08:54:45 +00:00
minor fix
This commit is contained in:
@@ -55,7 +55,7 @@ class CForm(Document):
|
|||||||
|
|
||||||
def get_invoice_details(self, invoice_no):
|
def get_invoice_details(self, invoice_no):
|
||||||
""" Pull details from invoices for referrence """
|
""" Pull details from invoices for referrence """
|
||||||
|
if invoice_no:
|
||||||
inv = frappe.db.get_value("Sales Invoice", invoice_no,
|
inv = frappe.db.get_value("Sales Invoice", invoice_no,
|
||||||
["posting_date", "territory", "net_total", "grand_total"], as_dict=True)
|
["posting_date", "territory", "net_total", "grand_total"], as_dict=True)
|
||||||
return {
|
return {
|
||||||
|
|||||||
Reference in New Issue
Block a user