mirror of
https://github.com/frappe/erpnext.git
synced 2026-08-17 00:18:39 +00:00
fix: import make_purchase_receipt from its current mapper module
make_purchase_receipt moved from purchase_order.py to purchase_order/mapper.py in a develop refactor pulled in by this branch's merge commit. Two tests added afterwards still imported it from the old path, failing CI with an ImportError.
This commit is contained in:
@@ -205,7 +205,7 @@ class TestGetItemDetail(ERPNextTestSuite):
|
||||
"""
|
||||
from frappe.utils import flt
|
||||
|
||||
from erpnext.buying.doctype.purchase_order.purchase_order import make_purchase_receipt
|
||||
from erpnext.buying.doctype.purchase_order.mapper import make_purchase_receipt
|
||||
from erpnext.buying.doctype.purchase_order.test_purchase_order import create_purchase_order
|
||||
|
||||
item, price_list = "_Test Item", "_Test Buying Price List"
|
||||
@@ -384,7 +384,7 @@ class TestGetItemDetail(ERPNextTestSuite):
|
||||
"""
|
||||
from frappe.utils import flt
|
||||
|
||||
from erpnext.buying.doctype.purchase_order.purchase_order import make_purchase_receipt
|
||||
from erpnext.buying.doctype.purchase_order.mapper import make_purchase_receipt
|
||||
from erpnext.buying.doctype.purchase_order.test_purchase_order import create_purchase_order
|
||||
|
||||
item = "_Test Item"
|
||||
|
||||
Reference in New Issue
Block a user