📜  更新 doc frappe - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:00.827000             🧑  作者: Mango

代码示例1
# 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