spaces to tabs

This commit is contained in:
Ameya Shenoy 2018-05-16 16:11:20 +05:30 committed by GitHub
parent a7559be5b2
commit 6e92958578
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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", "")