mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 13:09:17 +00:00
fix: Ref doc map
This commit is contained in:
@@ -225,7 +225,7 @@ class BuyingController(StockController):
|
|||||||
ref_doctype_map = {
|
ref_doctype_map = {
|
||||||
"Purchase Order": "Sales Order Item",
|
"Purchase Order": "Sales Order Item",
|
||||||
"Purchase Receipt": "Delivery Note Item",
|
"Purchase Receipt": "Delivery Note Item",
|
||||||
"Purchase Invoice": "Purchase Invoice Item",
|
"Purchase Invoice": "Sales Invoice Item",
|
||||||
}
|
}
|
||||||
|
|
||||||
ref_doctype = ref_doctype_map.get(self.doctype)
|
ref_doctype = ref_doctype_map.get(self.doctype)
|
||||||
|
|||||||
Reference in New Issue
Block a user