can someone hint me to what I am doing wrong?
I am opening a document server side with (It is a Singleton Doctype)
doc = frappe.get_doc(“Doctype”,“Docname”)
doc.fieldname = “new value”
after this I quit the console with Ctrl + D
The change made is not reflected in the UI when I reload the Page
What is my mistake?
frappe.db.commit() as the last command. Frappe usually does this automatically but in the console you have to do it yourself.