fix: sider

This commit is contained in:
18alantom
2021-06-25 14:46:08 +05:30
parent e957c026bb
commit 69d5e2a6f8
2 changed files with 5 additions and 5 deletions

View File

@@ -306,7 +306,7 @@ def create_process_loss_bom_items():
item_list = [ item_list = [
("_Test Item - Non Whole UOM", "Kg"), ("_Test Item - Non Whole UOM", "Kg"),
("_Test Item - Whole UOM", "Unit"), ("_Test Item - Whole UOM", "Unit"),
( "_Test PL BOM Item", "Unit") ("_Test PL BOM Item", "Unit")
] ]
return [create_process_loss_bom_item(it) for it in item_list] return [create_process_loss_bom_item(it) for it in item_list]

View File

@@ -6,10 +6,10 @@ QUnit.test("test manufacture from bom", function(assert) {
frappe.run_serially([ frappe.run_serially([
() => { () => {
return frappe.tests.make("Stock Entry", [ return frappe.tests.make("Stock Entry", [
{purpose:"Manufacture"}, { purpose: "Manufacture" },
{from_bom:1}, { from_bom: 1 },
{bom_no:"BOM-_Test Item - Non Whole UOM-001"}, { bom_no: "BOM-_Test Item - Non Whole UOM-001" },
{fg_completed_qty:2} { fg_completed_qty: 2 }
]); ]);
}, },
() => cur_frm.save(), () => cur_frm.save(),