Cant insert new documents from python scripts

Try after “insert” use frappe.db.commit()

4 Likes