fix: sider
This commit is contained in:
@@ -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]
|
||||||
|
|
||||||
|
|||||||
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user