mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 20:29:09 +00:00
11 lines
265 B
Python
11 lines
265 B
Python
import webnotes
|
|
import webnotes.model
|
|
def execute():
|
|
for p in ["activity", "todo", "questions", "question-view"]:
|
|
pbean = webnotes.bean("Page", p)
|
|
pbean.doclist.append({
|
|
"doctype": "Page Role",
|
|
"role": "All",
|
|
"parentfield": "roles"
|
|
})
|
|
pbean.save() |