Answers for "update doc frappe"

0

update doc frappe

# get an existing document
doc = frappe.get_doc('Task', 'TASK00002')
doc.title = 'Test'
doc.save()

# get a single doctype
doc = frappe.get_doc('System Settings')
doc.timezone # Asia/Kolkata
Posted by: Guest on May-31-2021

Python Answers by Framework

Browse Popular Code Answers by Language