In above topic, @nabinhait mentioned about doc.save(ignore_validate=True) when saving doc. But when trying it I got error 500.
Is it deprecated?
I’m on version-12 both ERPNext and Frappe.
In the documentation I don’t see ignore_validate as an option. But if you wan’t to skip validation you can use frappe.db.set_value() you cand read about it here
im using like this
frappe.db.set_value(‘USA Lead’, ‘frm.doc.name’, ‘hided_opp’, ‘Hided Opps’);
i need to get the “name” field dynamically so i added frm.doc.name and doc.name eighter but didnt work