What is the correct syntax for flagging this? I often run into this with
frappe.new_doc("doctype") and I get the frustratingly cryptic error
'dict' has no attribute 'update_if_missing'. I am unclear how or when the
new_doc object is being converted into a dict. I am providing all the required fields.
I have tried
frappe.new_doc("doctype", as_dict=False) with no success.
If I had any hair left, I would have torn it out.