spaces to tabs
This commit is contained in:
parent
a7559be5b2
commit
6e92958578
@ -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):
|
def unlink_inter_company_invoice(doctype, name, inter_company_invoice_reference):
|
||||||
ref_doc = "Purchase Invoice" if doctype == "Sales Invoice" else "Sales Invoice"
|
ref_doc = "Purchase Invoice" if doctype == "Sales Invoice" else "Sales Invoice"
|
||||||
if inter_company_invoice_reference:
|
if inter_company_invoice_reference:
|
||||||
frappe.db.set_value(doctype, name,\
|
frappe.db.set_value(doctype, name,\
|
||||||
"inter_company_invoice_reference", "")
|
"inter_company_invoice_reference", "")
|
||||||
frappe.db.set_value(ref_doc, inter_company_invoice_reference,\
|
frappe.db.set_value(ref_doc, inter_company_invoice_reference,\
|
||||||
"inter_company_invoice_reference", "")
|
"inter_company_invoice_reference", "")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user