test: Fix valuation rate for raw materials
This commit is contained in:
parent
a891d6eed2
commit
d1a13ec050
@ -297,6 +297,8 @@ class TestPurchaseReceipt(unittest.TestCase):
|
|||||||
item_code = "Test Extra Item 1", qty=10, basic_rate=100)
|
item_code = "Test Extra Item 1", qty=10, basic_rate=100)
|
||||||
se2 = make_stock_entry(target="_Test Warehouse - _TC",
|
se2 = make_stock_entry(target="_Test Warehouse - _TC",
|
||||||
item_code = "_Test FG Item", qty=1, basic_rate=100)
|
item_code = "_Test FG Item", qty=1, basic_rate=100)
|
||||||
|
se3 = make_stock_entry(target="_Test Warehouse - _TC",
|
||||||
|
item_code = "Test Extra Item 2", qty=1, basic_rate=100)
|
||||||
rm_items = [
|
rm_items = [
|
||||||
{
|
{
|
||||||
"item_code": item_code,
|
"item_code": item_code,
|
||||||
@ -331,6 +333,7 @@ class TestPurchaseReceipt(unittest.TestCase):
|
|||||||
se.cancel()
|
se.cancel()
|
||||||
se1.cancel()
|
se1.cancel()
|
||||||
se2.cancel()
|
se2.cancel()
|
||||||
|
se3.cancel()
|
||||||
po.reload()
|
po.reload()
|
||||||
po.cancel()
|
po.cancel()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user