mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-18 09:47:14 +00:00
spaces to tabs
This commit is contained in:
@@ -1028,7 +1028,7 @@ def update_linked_invoice(doctype, name, inter_company_invoice_reference):
|
||||
def unlink_inter_company_invoice(doctype, name, inter_company_invoice_reference):
|
||||
ref_doc = "Purchase Invoice" if doctype == "Sales Invoice" else "Sales Invoice"
|
||||
if inter_company_invoice_reference:
|
||||
frappe.db.set_value(doctype, name,\
|
||||
frappe.db.set_value(doctype, name,\
|
||||
"inter_company_invoice_reference", "")
|
||||
frappe.db.set_value(ref_doc, inter_company_invoice_reference,\
|
||||
"inter_company_invoice_reference", "")
|
||||
|
||||
Reference in New Issue
Block a user