mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
test: ensure no regression after save and submit on disassemble
This commit is contained in:
@@ -2541,6 +2541,8 @@ class TestWorkOrder(IntegrationTestCase):
|
|||||||
# Disassembly for 4 units
|
# Disassembly for 4 units
|
||||||
disassemble_qty = 4
|
disassemble_qty = 4
|
||||||
stock_entry = frappe.get_doc(make_stock_entry(wo.name, "Disassemble", disassemble_qty))
|
stock_entry = frappe.get_doc(make_stock_entry(wo.name, "Disassemble", disassemble_qty))
|
||||||
|
stock_entry.save()
|
||||||
|
stock_entry.submit()
|
||||||
|
|
||||||
item_counts = {}
|
item_counts = {}
|
||||||
for item in stock_entry.items:
|
for item in stock_entry.items:
|
||||||
|
|||||||
Reference in New Issue
Block a user