mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-19 04:59:18 +00:00
fix: add inv dimension test data in SCR
This commit is contained in:
@@ -2008,9 +2008,10 @@ class TestSubcontractingReceipt(FrappeTestCase):
|
|||||||
This test ensures that the inventory dimensions are retained on each save.
|
This test ensures that the inventory dimensions are retained on each save.
|
||||||
"""
|
"""
|
||||||
from erpnext.stock.doctype.inventory_dimension.test_inventory_dimension import (
|
from erpnext.stock.doctype.inventory_dimension.test_inventory_dimension import (
|
||||||
create_inventory_dimension,
|
create_inventory_dimension, prepare_test_data
|
||||||
)
|
)
|
||||||
|
|
||||||
|
prepare_test_data()
|
||||||
inventory_dimension = create_inventory_dimension(
|
inventory_dimension = create_inventory_dimension(
|
||||||
apply_to_all_doctypes=1,
|
apply_to_all_doctypes=1,
|
||||||
dimension_name="Inv Site",
|
dimension_name="Inv Site",
|
||||||
|
|||||||
Reference in New Issue
Block a user