I figured it out - the code is correct. I was running the commands in the bench console, and save() didn’t appear to do anything. Actually, bench console requires a manual frappe.db.commit() to commit the transaction.
I figured it out - the code is correct. I was running the commands in the bench console, and save() didn’t appear to do anything. Actually, bench console requires a manual frappe.db.commit() to commit the transaction.