fix: Linter
This commit is contained in:
parent
fa3b953cf7
commit
b5ad626d23
@ -1114,7 +1114,10 @@ class TestWorkOrder(FrappeTestCase):
|
||||
except frappe.MandatoryError:
|
||||
self.fail("Batch generation causing failing in Work Order")
|
||||
|
||||
@change_settings("Manufacturing Settings", {"backflush_raw_materials_based_on": "Material Transferred for Manufacture"})
|
||||
@change_settings(
|
||||
"Manufacturing Settings",
|
||||
{"backflush_raw_materials_based_on": "Material Transferred for Manufacture"},
|
||||
)
|
||||
def test_manufacture_entry_mapped_idx_with_exploded_bom(self):
|
||||
"""Test if WO containing BOM with partial exploded items and scrap items, maps idx correctly."""
|
||||
test_stock_entry.make_stock_entry(
|
||||
@ -1141,6 +1144,7 @@ class TestWorkOrder(FrappeTestCase):
|
||||
for index, row in enumerate(ste_manu.get("items"), start=1):
|
||||
self.assertEqual(index, row.idx)
|
||||
|
||||
|
||||
def update_job_card(job_card, jc_qty=None):
|
||||
employee = frappe.db.get_value("Employee", {"status": "Active"}, "name")
|
||||
job_card_doc = frappe.get_doc("Job Card", job_card)
|
||||
|
Loading…
x
Reference in New Issue
Block a user