Use frappe.get_doc in a function and call it accordingly
doc = frappe.get_doc(doctype-name, document-name)
# get property
doc.title
# set property to the document
doc.first_name = 'My Name'
# save a documentto the database
doc.save()
Python is a preferable scripting language and easy to learn syntax for the new programmers. Our Python training in bangalore. for data science and Python helps all developers to become better programmers.
Python is a preferable scripting language and easy to learn syntax for the new programmers. Our Python training in bangalore. for data science and Python helps all developers to become better programmers.
ReplyDelete