mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-26 00:14:50 +00:00
fixed conflict
This commit is contained in:
11
patches/april_2013/p04_update_role_in_pages.py
Normal file
11
patches/april_2013/p04_update_role_in_pages.py
Normal 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()
|
||||||
@@ -240,4 +240,5 @@ patch_list = [
|
|||||||
'execute:webnotes.reload_doc("selling", "Print Format", "Quotation Spartan") # 2013-04-02',
|
'execute:webnotes.reload_doc("selling", "Print Format", "Quotation Spartan") # 2013-04-02',
|
||||||
"patches.april_2013.p04_reverse_modules_list",
|
"patches.april_2013.p04_reverse_modules_list",
|
||||||
"execute:webnotes.delete_doc('Search Criteria', 'time_log_summary')"
|
"execute:webnotes.delete_doc('Search Criteria', 'time_log_summary')"
|
||||||
|
"patches.april_2013.p04_update_role_in_pages",
|
||||||
]
|
]
|
||||||
Reference in New Issue
Block a user