mirror of
https://github.com/frappe/erpnext.git
synced 2026-03-13 15:27:12 +00:00
[debug] locally tests passed but travis failed
This commit is contained in:
@@ -886,6 +886,7 @@ def get_supplier(doctype, txt, searchfield, start, page_len, filters):
|
||||
def make_work_orders(items, sales_order, company, project=None):
|
||||
'''Make Work Orders against the given Sales Order for the given `items`'''
|
||||
items = json.loads(items).get('items')
|
||||
print(items)
|
||||
out = []
|
||||
|
||||
for i in items:
|
||||
|
||||
@@ -577,6 +577,7 @@ class TestSalesOrder(unittest.TestCase):
|
||||
"description": item.get("description")
|
||||
})
|
||||
so_item_name[item.get("sales_order_item")]= item.get("pending_qty")
|
||||
print(po_items)
|
||||
make_work_orders(json.dumps({"items":po_items}), so.name, so.company)
|
||||
|
||||
# Check if Work Orders were raised
|
||||
|
||||
Reference in New Issue
Block a user