mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-25 16:04:46 +00:00
fix: test for raising MR-SE mismatch error
- Make test add mismatched item code instead of warehouse, since warehouse can be different.
This commit is contained in:
@@ -427,6 +427,7 @@ class TestMaterialRequest(unittest.TestCase):
|
|||||||
"basic_rate": 1.0
|
"basic_rate": 1.0
|
||||||
})
|
})
|
||||||
se_doc.get("items")[1].update({
|
se_doc.get("items")[1].update({
|
||||||
|
"item_code": "_Test Item Home Desktop 100",
|
||||||
"qty": 3.0,
|
"qty": 3.0,
|
||||||
"transfer_qty": 3.0,
|
"transfer_qty": 3.0,
|
||||||
"s_warehouse": "_Test Warehouse 1 - _TC",
|
"s_warehouse": "_Test Warehouse 1 - _TC",
|
||||||
|
|||||||
Reference in New Issue
Block a user