fix: remove self

This commit is contained in:
Deepesh Garg
2021-01-13 19:32:34 +05:30
parent d0ee3fc0cd
commit cfcb1a15f8

View File

@@ -1634,7 +1634,7 @@ def make_inter_company_transaction(doctype, source_name, target_doc=None):
}
}
if self.doctype in ["Sales Invoice", "Sales Order"]:
if doctype in ["Sales Invoice", "Sales Order"]:
item_field_map["field_map"].update({
"name": target_detail_field
})