fixed conflict

This commit is contained in:
Nabin Hait
2013-04-09 11:41:20 +05:30
2 changed files with 12 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
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()