[files] [patch] dropped file_list property and moved links to

This commit is contained in:
Rushabh Mehta 2013-04-10 11:08:50 +05:30
commit 33075e1f69
37 changed files with 733 additions and 496 deletions

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-01-30 12:49:46", "creation": "2013-03-07 14:48:29",
"docstatus": 0, "docstatus": 0,
"modified": "2013-02-13 11:29:18", "modified": "2013-02-13 11:29:18",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -24,17 +24,13 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__", "name": "__common__",
"parent": "C-Form", "parent": "C-Form",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0,
"read": 1, "read": 1,
"report": 1, "submit": 0
"submit": 0,
"write": 1
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -156,15 +152,6 @@
"print_hide": 0, "print_hide": 0,
"read_only": 1 "read_only": 1
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"print_hide": 1,
"read_only": 0
},
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "amended_from", "fieldname": "amended_from",
@ -176,11 +163,28 @@
"read_only": 1 "read_only": 1
}, },
{ {
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Accounts User" "permlevel": 0,
"report": 1,
"role": "Accounts User",
"write": 1
}, },
{ {
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Accounts Manager" "permlevel": 0,
"report": 1,
"role": "Accounts Manager",
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"role": "All"
} }
] ]

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-03-07 13:16:13", "creation": "2013-04-09 10:18:10",
"docstatus": 0, "docstatus": 0,
"modified": "2013-03-22 18:17:14", "modified": "2013-03-22 18:17:14",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -30,9 +30,7 @@
"parent": "Purchase Invoice", "parent": "Purchase Invoice",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "read": 1
"read": 1,
"report": 1
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -758,19 +756,69 @@
"reqd": 0 "reqd": 0
}, },
{ {
"doctype": "DocField", "amend": 0,
"fieldname": "file_list", "cancel": 0,
"fieldtype": "Text", "create": 0,
"hidden": 1, "doctype": "DocPerm",
"label": "File List", "match": "",
"no_copy": 1, "permlevel": 1,
"print_hide": 1 "report": 0,
"role": "Accounts Manager",
"submit": 0,
"write": 0
}, },
{ {
"amend": 1, "amend": 1,
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "Accounts Manager",
"submit": 1,
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"report": 0,
"role": "Accounts User",
"submit": 0,
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"role": "Purchase User",
"submit": 0
},
{
"amend": 0,
"cancel": 0,
"create": 1,
"doctype": "DocPerm",
"match": "",
"permlevel": 0,
"report": 1,
"role": "Purchase User",
"submit": 0,
"write": 1
},
{
"amend": 1,
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "Accounts User", "role": "Accounts User",
"submit": 1, "submit": 1,
"write": 1 "write": 1
@ -778,6 +826,8 @@
{ {
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "supplier", "match": "supplier",
"permlevel": 0,
"report": 1,
"role": "Supplier" "role": "Supplier"
} }
] ]

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-03-22 18:37:25", "creation": "2013-04-09 10:18:11",
"docstatus": 0, "docstatus": 0,
"modified": "2013-03-22 18:38:13", "modified": "2013-03-22 18:38:13",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -30,9 +30,7 @@
"parent": "Sales Invoice", "parent": "Sales Invoice",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "read": 1
"read": 1,
"report": 1
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -1187,26 +1185,61 @@
"report_hide": 1 "report_hide": 1
}, },
{ {
"doctype": "DocField", "amend": 0,
"fieldname": "file_list", "cancel": 0,
"fieldtype": "Text", "create": 0,
"hidden": 1, "doctype": "DocPerm",
"label": "File List", "match": "",
"no_copy": 1, "permlevel": 1,
"print_hide": 1 "report": 0,
"role": "Accounts Manager",
"submit": 0,
"write": 0
}, },
{ {
"amend": 1, "amend": 1,
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "Accounts Manager",
"submit": 1,
"write": 1
},
{
"amend": 1,
"cancel": 0,
"create": 1,
"doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "Accounts User", "role": "Accounts User",
"submit": 1, "submit": 1,
"write": 1 "write": 1
}, },
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"report": 0,
"role": "Accounts User",
"submit": 0,
"write": 0
},
{ {
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "customer", "match": "customer",
"permlevel": 0,
"report": 1,
"role": "Customer" "role": "Customer"
},
{
"doctype": "DocPerm",
"permlevel": 0,
"role": "Retail User"
} }
] ]

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-01-29 19:25:50", "creation": "2013-03-25 16:01:24",
"docstatus": 0, "docstatus": 0,
"modified": "2013-02-18 13:37:11", "modified": "2013-02-18 13:37:11",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -803,20 +803,12 @@
"print_hide": 1, "print_hide": 1,
"read_only": 1 "read_only": 1
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{ {
"amend": 0, "amend": 0,
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "",
"permlevel": 1, "permlevel": 1,
"report": 0, "report": 0,
"role": "Material User", "role": "Material User",
@ -839,6 +831,7 @@
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "",
"permlevel": 1, "permlevel": 1,
"report": 0, "report": 0,
"role": "Purchase Manager", "role": "Purchase Manager",
@ -861,6 +854,7 @@
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "",
"permlevel": 0, "permlevel": 0,
"report": 1, "report": 1,
"role": "Purchase User", "role": "Purchase User",
@ -872,6 +866,7 @@
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "",
"permlevel": 1, "permlevel": 1,
"role": "All", "role": "All",
"submit": 0 "submit": 0

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-01-29 19:25:54", "creation": "2013-03-25 16:01:25",
"docstatus": 0, "docstatus": 0,
"modified": "2013-02-18 13:40:17", "modified": "2013-02-18 13:40:17",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -663,15 +663,6 @@
"print_hide": 1, "print_hide": 1,
"read_only": 1 "read_only": 1
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{ {
"amend": 1, "amend": 1,
"cancel": 1, "cancel": 1,
@ -732,6 +723,7 @@
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "",
"permlevel": 1, "permlevel": 1,
"report": 0, "report": 0,
"role": "All", "role": "All",

View File

@ -1,8 +1,8 @@
[ [
{ {
"creation": "2012-06-14 18:44:56", "creation": "2013-04-09 11:45:31",
"docstatus": 0, "docstatus": 0,
"modified": "2013-04-03 14:59:38", "modified": "2013-04-09 11:47:32",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-01-23 19:57:17", "creation": "2013-03-07 14:48:31",
"docstatus": 0, "docstatus": 0,
"modified": "2013-02-08 13:07:25", "modified": "2013-02-08 13:07:25",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -30,9 +30,7 @@
"parent": "Employee", "parent": "Employee",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0,
"read": 1, "read": 1,
"report": 1,
"submit": 0 "submit": 0
}, },
{ {
@ -727,14 +725,6 @@
"oldfieldname": "feedback", "oldfieldname": "feedback",
"oldfieldtype": "Text" "oldfieldtype": "Text"
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"print_hide": 1
},
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "trash_reason", "fieldname": "trash_reason",
@ -749,6 +739,18 @@
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "employee", "match": "employee",
"permlevel": 0,
"report": 1,
"role": "Employee",
"write": 0
},
{
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"report": 0,
"role": "Employee", "role": "Employee",
"write": 0 "write": 0
}, },
@ -757,6 +759,8 @@
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "company", "match": "company",
"permlevel": 0,
"report": 1,
"role": "HR User", "role": "HR User",
"write": 1 "write": 1
}, },
@ -764,7 +768,29 @@
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "HR Manager", "role": "HR Manager",
"write": 1 "write": 1
},
{
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"report": 0,
"role": "HR User",
"write": 0
},
{
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"report": 0,
"role": "HR Manager",
"write": 0
} }
] ]

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-01-15 16:32:13", "creation": "2013-01-29 19:25:37",
"docstatus": 0, "docstatus": 0,
"modified": "2013-01-29 17:44:52", "modified": "2013-01-29 17:44:52",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -88,16 +88,6 @@
"fieldtype": "HTML", "fieldtype": "HTML",
"label": "Thread HTML" "label": "Thread HTML"
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"in_list_view": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{ {
"doctype": "DocPerm" "doctype": "DocPerm"
} }

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-02-18 18:37:56", "creation": "2013-02-20 11:18:11",
"docstatus": 0, "docstatus": 0,
"modified": "2013-02-19 16:30:05", "modified": "2013-02-19 16:30:05",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -8,7 +8,6 @@
}, },
{ {
"allow_attach": 1, "allow_attach": 1,
"allow_import": 1,
"autoname": "LAP/.#####", "autoname": "LAP/.#####",
"description": "Apply / Approve Leaves", "description": "Apply / Approve Leaves",
"doctype": "DocType", "doctype": "DocType",
@ -227,16 +226,6 @@
"print_hide": 1, "print_hide": 1,
"read_only": 1 "read_only": 1
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"permlevel": 0,
"print_hide": 1
},
{ {
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
@ -251,6 +240,7 @@
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "",
"permlevel": 1, "permlevel": 1,
"role": "All", "role": "All",
"submit": 0 "submit": 0
@ -260,7 +250,6 @@
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "company",
"permlevel": 0, "permlevel": 0,
"report": 1, "report": 1,
"role": "HR User", "role": "HR User",
@ -269,8 +258,8 @@
}, },
{ {
"amend": 1, "amend": 1,
"cancel": 1, "cancel": 0,
"create": 1, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "leave_approver:user", "match": "leave_approver:user",
"permlevel": 0, "permlevel": 0,
@ -284,6 +273,7 @@
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "",
"permlevel": 1, "permlevel": 1,
"report": 1, "report": 1,
"role": "HR User", "role": "HR User",
@ -295,6 +285,7 @@
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "",
"permlevel": 1, "permlevel": 1,
"report": 1, "report": 1,
"role": "Leave Approver", "role": "Leave Approver",

View File

@ -0,0 +1,12 @@
import webnotes
import webnotes.model
def execute():
for p in ["activity", "todo", "questions", "question-view"]:
pbean = webnotes.bean("Page", p)
if len(pbean.doclist) == 1:
pbean.doclist.append({
"doctype": "Page Role",
"role": "All",
"parentfield": "roles"
})
pbean.save()

View File

@ -0,0 +1,47 @@
import webnotes, webnotes.utils, os
from webnotes.modules.export_file import export_to_files
def execute():
singles = webnotes.conn.sql_list("""select name from tabDocType
where ifnull(issingle,0)=1""")
for doctype in webnotes.conn.sql_list("""select parent from tabDocField where
fieldname='file_list' and fieldtype='Text'"""):
print doctype
if doctype in singles:
doc = webnotes.doc(doctype, doctype)
update_for_doc(doctype, doc)
webnotes.conn.set_value(doctype, None, "file_list", None)
else:
try:
for doc in webnotes.conn.sql("""select name, file_list from `tab%s` where
ifnull(file_list, '')!=''""" % doctype, as_dict=True):
update_for_doc(doctype, doc)
webnotes.conn.commit()
webnotes.conn.sql("""alter table `tab%s` drop column file_list""" % doctype)
except Exception, e:
if e.args[0]!=1054: raise e
webnotes.conn.sql("""delete from tabDocField where fieldname='file_list'
and parent=%s""", doctype)
export_to_files([["DocType", doctype]])
def update_for_doc(doctype, doc):
for filedata in doc.file_list.split("\n"):
if not filedata:
continue
filename, fileid = filedata.split(",")
exists = True
if not (filename.startswith("http://") or filename.startswith("https://")):
if not os.path.exists(os.path.join(webnotes.utils.get_base_path(), "public", "files", filename)):
exists = False
if exists:
webnotes.conn.sql("""update `tabFile Data`
set attached_to_doctype=%s, attached_to_name=%s
where name=%s""", (doctype, doc.name, fileid))
else:
webnotes.conn.sql("""delete from `tabFile Data` where name=%s""",
fileid)

View File

@ -2,13 +2,18 @@ import webnotes
def execute(): def execute():
webnotes.reload_doc("accounts", "doctype", "purchase_invoice_item") webnotes.reload_doc("accounts", "doctype", "purchase_invoice_item")
webnotes.conn.auto_commit_on_many_writes = True
for purchase_invoice in webnotes.conn.sql_list("""select distinct parent for purchase_invoice in webnotes.conn.sql_list("""select distinct parent
from `tabPurchase Invoice Item` where docstatus = 1 and ifnull(valuation_rate, 0)=0"""): from `tabPurchase Invoice Item` where docstatus = 1 and ifnull(valuation_rate, 0)=0"""):
pi = webnotes.get_obj("Purchase Invoice", purchase_invoice) pi = webnotes.get_obj("Purchase Invoice", purchase_invoice)
pi.calculate_taxes_and_totals() try:
pi.calculate_taxes_and_totals()
except:
pass
pi.update_raw_material_cost() pi.update_raw_material_cost()
pi.update_valuation_rate("entries") pi.update_valuation_rate("entries")
for item in pi.doclist.get({"parentfield": "entries"}): for item in pi.doclist.get({"parentfield": "entries"}):
webnotes.conn.sql("""update `tabPurchase Invoice Item` set valuation_rate = %s webnotes.conn.sql("""update `tabPurchase Invoice Item` set valuation_rate = %s
where name = %s""", (item.valuation_rate, item.name)) where name = %s""", (item.valuation_rate, item.name))
webnotes.conn.auto_commit_on_many_writes = False

View File

@ -1,7 +1,7 @@
import webnotes import webnotes
def execute(): def execute():
webnotes.reload_doc("setup", "doctype", "company") webnotes.reload_doc("setup", "doctype", "company")
create_chart_of_accounts_if_not_exists()
add_group_accounts() add_group_accounts()
add_ledger_accounts() add_ledger_accounts()
add_aii_cost_center() add_aii_cost_center()
@ -94,4 +94,10 @@ def add_aii_cost_center():
}) })
cc.insert() cc.insert()
def create_chart_of_accounts_if_not_exists():
for company in webnotes.conn.sql("select name from `tabCompany`"):
if not webnotes.conn.sql("select * from `tabAccount` where company = %s", company[0]):
webnotes.conn.sql("""update `tabCompany` set receivables_group = '',
payables_group = '' where name = %s""", company[0])
webnotes.bean("Company", company[0]).save()

View File

@ -239,5 +239,6 @@ patch_list = [
'execute:webnotes.reload_doc("selling", "Print Format", "Quotation Modern") # 2013-04-02', 'execute:webnotes.reload_doc("selling", "Print Format", "Quotation Modern") # 2013-04-02',
'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",
] ]

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-01-10 16:34:17", "creation": "2013-01-29 19:25:50",
"docstatus": 0, "docstatus": 0,
"modified": "2013-01-29 16:27:52", "modified": "2013-01-29 16:27:52",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -249,15 +249,6 @@
"label": "Company", "label": "Company",
"options": "Company" "options": "Company"
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{ {
"doctype": "DocPerm" "doctype": "DocPerm"
} }

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-03-06 14:08:07", "creation": "2013-04-03 16:38:41",
"docstatus": 0, "docstatus": 0,
"modified": "2013-04-03 15:51:32", "modified": "2013-04-03 15:51:32",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -185,17 +185,6 @@
"permlevel": 0, "permlevel": 0,
"read_only": 0 "read_only": 0
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"permlevel": 0,
"print_hide": 1,
"read_only": 0
},
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "amended_from", "fieldname": "amended_from",

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-01-22 15:24:17", "creation": "2013-03-07 14:48:34",
"docstatus": 0, "docstatus": 0,
"modified": "2013-01-29 17:14:58", "modified": "2013-01-29 17:14:58",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -32,7 +32,6 @@
"parent": "Sales Order", "parent": "Sales Order",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0,
"read": 1 "read": 1
}, },
{ {
@ -952,21 +951,25 @@
"print_hide": 1 "print_hide": 1
}, },
{ {
"doctype": "DocField", "amend": 0,
"fieldname": "file_list", "cancel": 0,
"fieldtype": "Text", "create": 0,
"hidden": 1, "doctype": "DocPerm",
"label": "File List", "match": "",
"no_copy": 1, "permlevel": 1,
"print_hide": 1 "report": 0,
"role": "Sales Manager",
"submit": 0,
"write": 0
}, },
{ {
"amend": 1, "amend": 1,
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 0,
"report": 1, "report": 1,
"role": "Sales User", "role": "Sales Manager",
"submit": 1, "submit": 1,
"write": 1 "write": 1
}, },
@ -975,6 +978,52 @@
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "",
"permlevel": 0,
"report": 1,
"role": "Sales User",
"submit": 1,
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"report": 0,
"role": "Sales User",
"submit": 0,
"write": 0
},
{
"amend": 1,
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "Maintenance Manager",
"submit": 1,
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"role": "Maintenance Manager",
"submit": 0
},
{
"amend": 1,
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"permlevel": 0,
"report": 1, "report": 1,
"role": "Maintenance User", "role": "Maintenance User",
"submit": 1, "submit": 1,
@ -984,11 +1033,21 @@
"amend": 0, "amend": 0,
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"role": "Maintenance User",
"submit": 0
},
{
"doctype": "DocPerm",
"permlevel": 0,
"role": "Accounts User"
},
{
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "customer", "match": "customer",
"report": 0, "permlevel": 0,
"role": "Customer", "role": "Customer"
"submit": 0,
"write": 0
} }
] ]

View File

@ -173,15 +173,6 @@
"report_hide": 1, "report_hide": 1,
"search_index": 0 "search_index": 0
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{ {
"amend": 0, "amend": 0,
"cancel": 0, "cancel": 0,

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-01-10 16:34:23", "creation": "2013-01-25 11:35:09",
"docstatus": 0, "docstatus": 0,
"modified": "2013-01-22 14:56:41", "modified": "2013-01-22 14:56:41",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -60,13 +60,6 @@
"label": "How to upload", "label": "How to upload",
"options": "<div class=\"help\">Use the <a href=\"#data-import-tool\">Data Import Tool</a> to upload, update Item Prices in bulk:\n<ol> \n<li>Go to Data Import Tool.\n<li>Select \"Item\"\n<li>Check on \"With Data\"\n<li>Download \"Item Price\" from Child Tables.\n<li>Update the prices required and add new rows if required.\n<li>Check on \"Overwrite\"\n<li>Upload the modified sheet.\n</div>\n" "options": "<div class=\"help\">Use the <a href=\"#data-import-tool\">Data Import Tool</a> to upload, update Item Prices in bulk:\n<ol> \n<li>Go to Data Import Tool.\n<li>Select \"Item\"\n<li>Check on \"With Data\"\n<li>Download \"Item Price\" from Child Tables.\n<li>Update the prices required and add new rows if required.\n<li>Check on \"Overwrite\"\n<li>Upload the modified sheet.\n</div>\n"
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List"
},
{ {
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
@ -85,6 +78,7 @@
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"match": "",
"role": "Sales Master Manager", "role": "Sales Master Manager",
"write": 1 "write": 1
} }

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-03-01 08:21:54", "creation": "2013-03-01 19:09:43",
"docstatus": 0, "docstatus": 0,
"modified": "2013-03-01 08:22:16", "modified": "2013-03-01 08:22:16",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -24,19 +24,14 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"cancel": 1,
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__", "name": "__common__",
"parent": "Batch", "parent": "Batch",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0,
"read": 1, "read": 1,
"report": 1,
"role": "Material Master Manager", "role": "Material Master Manager",
"submit": 0, "submit": 0
"write": 1
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -108,15 +103,19 @@
"read_only": 1 "read_only": 1
}, },
{ {
"doctype": "DocField", "cancel": 1,
"fieldname": "file_list", "create": 1,
"fieldtype": "Text", "doctype": "DocPerm",
"hidden": 1, "permlevel": 0,
"label": "File List", "report": 1,
"no_copy": 1, "write": 1
"print_hide": 1
}, },
{ {
"doctype": "DocPerm" "amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1
} }
] ]

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-01-29 17:54:12", "creation": "2013-04-02 10:50:50",
"docstatus": 0, "docstatus": 0,
"modified": "2013-02-02 19:18:38", "modified": "2013-02-02 19:18:38",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -32,9 +32,7 @@
"parent": "Delivery Note", "parent": "Delivery Note",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "read": 1
"read": 1,
"report": 1
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -1123,20 +1121,25 @@
"read_only": 0 "read_only": 0
}, },
{ {
"doctype": "DocField", "amend": 1,
"fieldname": "file_list", "cancel": 1,
"fieldtype": "Text", "create": 1,
"hidden": 1, "doctype": "DocPerm",
"label": "File List", "permlevel": 0,
"no_copy": 1, "report": 1,
"print_hide": 1, "role": "Material User",
"read_only": 0 "submit": 1,
"write": 1
}, },
{ {
"amend": 0,
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Accounts User", "match": "",
"permlevel": 1,
"report": 0,
"role": "Material User",
"submit": 0, "submit": 0,
"write": 0 "write": 0
}, },
@ -1145,31 +1148,73 @@
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Sales User", "permlevel": 0,
"submit": 1, "report": 1,
"write": 1
},
{
"doctype": "DocPerm",
"match": "customer_name",
"role": "Customer"
},
{
"amend": 1,
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"role": "Material Manager", "role": "Material Manager",
"submit": 1, "submit": 1,
"write": 1 "write": 1
}, },
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"report": 0,
"role": "Material Manager",
"submit": 0,
"write": 0
},
{ {
"amend": 1, "amend": 1,
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Material User", "match": "",
"permlevel": 0,
"report": 1,
"role": "Sales User",
"submit": 1, "submit": 1,
"write": 1 "write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"report": 0,
"role": "Sales User",
"submit": 0,
"write": 0
},
{
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "Accounts User",
"submit": 0,
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"role": "Accounts User",
"submit": 0
},
{
"doctype": "DocPerm",
"match": "customer_name",
"permlevel": 0,
"report": 1,
"role": "Customer"
} }
] ]

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-03-07 15:53:11", "creation": "2013-03-28 10:35:28",
"docstatus": 0, "docstatus": 0,
"modified": "2013-03-20 15:10:12", "modified": "2013-03-20 15:10:12",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -28,13 +28,13 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"amend": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__", "name": "__common__",
"parent": "Item", "parent": "Item",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"read": 1, "read": 1,
"report": 1,
"submit": 0 "submit": 0
}, },
{ {
@ -679,15 +679,6 @@
"options": "\nYes\nNo", "options": "\nYes\nNo",
"reqd": 1 "reqd": 1
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "customer_code", "fieldname": "customer_code",
@ -805,73 +796,76 @@
"fieldtype": "Text Editor", "fieldtype": "Text Editor",
"label": "Website Description" "label": "Website Description"
}, },
{
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 1,
"report": 0,
"role": "Material Manager",
"write": 0
},
{
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "Material Manager",
"write": 0
},
{
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 1,
"report": 0,
"role": "Material User",
"write": 0
},
{
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "Material User",
"write": 0
},
{ {
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 0, "permlevel": 0,
"report": 1,
"role": "Material Master Manager",
"write": 1
},
{
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 1,
"report": 0,
"role": "Material Master Manager",
"write": 0
},
{
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "System Manager", "role": "System Manager",
"write": 1 "write": 1
}, },
{ {
"amend": 0,
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 1, "permlevel": 1,
"role": "Material Master Manager", "report": 0,
"write": 0 "role": "System Manager",
},
{
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"permlevel": 0,
"role": "Material Master Manager",
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 1,
"role": "System Manager"
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 1,
"role": "Material Manager",
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 0,
"role": "Material Manager",
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 1,
"role": "Material User",
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 0,
"role": "Material User",
"write": 0 "write": 0
} }
] ]

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-02-21 14:15:25", "creation": "2013-03-07 14:48:38",
"docstatus": 0, "docstatus": 0,
"modified": "2013-02-25 15:38:02", "modified": "2013-02-25 15:38:02",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -331,15 +331,6 @@
"options": "Print Heading", "options": "Print Heading",
"print_hide": 1 "print_hide": 1
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{ {
"amend": 0, "amend": 0,
"cancel": 0, "cancel": 0,

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-01-22 15:24:18", "creation": "2013-03-25 16:01:29",
"docstatus": 0, "docstatus": 0,
"modified": "2013-02-02 19:09:37", "modified": "2013-02-02 19:09:37",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -31,9 +31,7 @@
"parent": "Purchase Receipt", "parent": "Purchase Receipt",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "read": 1
"read": 1,
"report": 1
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -886,44 +884,78 @@
"read_only": 1 "read_only": 1
}, },
{ {
"doctype": "DocField", "amend": 0,
"fieldname": "file_list", "cancel": 0,
"fieldtype": "Text", "create": 0,
"hidden": 1, "doctype": "DocPerm",
"label": "File List", "match": "",
"no_copy": 1, "permlevel": 1,
"print_hide": 1 "report": 0,
}, "role": "Material Manager",
{ "submit": 0,
"amend": 1, "write": 0
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"role": "Purchase User",
"submit": 1,
"write": 1
},
{
"doctype": "DocPerm",
"match": "supplier",
"role": "Supplier"
}, },
{ {
"amend": 1, "amend": 1,
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "Material Manager", "role": "Material Manager",
"submit": 1, "submit": 1,
"write": 1 "write": 1
}, },
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"report": 0,
"role": "Material User",
"submit": 0,
"write": 0
},
{ {
"amend": 1, "amend": 1,
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "Material User", "role": "Material User",
"submit": 1, "submit": 1,
"write": 1 "write": 1
},
{
"amend": 1,
"cancel": 1,
"create": 1,
"doctype": "DocPerm",
"match": "",
"permlevel": 0,
"report": 1,
"role": "Purchase User",
"submit": 1,
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"role": "Purchase User",
"submit": 0
},
{
"doctype": "DocPerm",
"match": "supplier",
"permlevel": 0,
"report": 1,
"role": "Supplier"
} }
] ]

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-01-10 16:34:29", "creation": "2013-01-29 19:25:41",
"docstatus": 0, "docstatus": 0,
"modified": "2013-01-29 16:27:57", "modified": "2013-01-29 16:27:57",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -31,8 +31,8 @@
"parent": "Serial No", "parent": "Serial No",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "read": 1,
"read": 1 "submit": 0
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -476,15 +476,6 @@
"oldfieldtype": "Small Text", "oldfieldtype": "Small Text",
"read_only": 1 "read_only": 1
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "sle_exists", "fieldname": "sle_exists",
@ -496,25 +487,82 @@
"read_only": 1, "read_only": 1,
"report_hide": 1 "report_hide": 1
}, },
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"report": 0,
"role": "Material Manager",
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "Material Manager",
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"report": 0,
"role": "Material User",
"write": 0
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "Material User",
"write": 0
},
{ {
"cancel": 1, "cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 0,
"report": 1, "report": 1,
"role": "Material User", "role": "System Manager",
"submit": 0,
"write": 1 "write": 1
}, },
{ {
"cancel": 1,
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Sales User" "permlevel": 0,
"report": 1,
"role": "Material Master Manager",
"write": 1
}, },
{ {
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Purchase User" "match": "",
"permlevel": 1,
"role": "System Manager"
}, },
{ {
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Accounts User" "match": "",
"permlevel": 1,
"role": "Sales Master Manager"
} }
] ]

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-01-10 16:34:31", "creation": "2013-01-31 22:22:27",
"docstatus": 0, "docstatus": 0,
"modified": "2013-01-31 22:17:24", "modified": "2013-01-31 22:17:24",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -23,18 +23,13 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"amend": 0,
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__", "name": "__common__",
"parent": "Support Ticket", "parent": "Support Ticket",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0,
"read": 1, "read": 1,
"report": 1, "submit": 0
"submit": 0,
"write": 1
}, },
{ {
"doctype": "DocType", "doctype": "DocType",
@ -242,27 +237,51 @@
"label": "Content Type" "label": "Content Type"
}, },
{ {
"doctype": "DocField", "amend": 0,
"fieldname": "file_list", "cancel": 0,
"fieldtype": "Text", "create": 1,
"hidden": 1, "doctype": "DocPerm",
"label": "File List", "permlevel": 0,
"no_copy": 1, "report": 1,
"print_hide": 1 "role": "Guest",
"write": 1
}, },
{ {
"cancel": 0, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Guest" "match": "customer",
}, "permlevel": 0,
{ "report": 1,
"cancel": 0, "role": "Customer",
"doctype": "DocPerm", "write": 1
"role": "Customer"
}, },
{ {
"cancel": 1, "cancel": 1,
"create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 0,
"report": 1,
"role": "Support Team",
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 1,
"report": 1,
"role": "Support Team",
"write": 1
},
{
"amend": 0,
"cancel": 0,
"create": 0,
"doctype": "DocPerm",
"match": "",
"permlevel": 2,
"role": "Support Team" "role": "Support Team"
} }
] ]

View File

@ -1,75 +1,76 @@
[ [
{ {
"owner": "Administrator", "creation": "2013-01-02 17:08:46",
"docstatus": 0, "docstatus": 0,
"creation": "2012-07-03 13:30:42", "modified": "2013-01-01 18:58:55",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2013-01-01 18:58:55" "owner": "Administrator"
}, },
{ {
"read_only": 1, "allow_attach": 0,
"in_create": 1,
"autoname": "QUES.#######", "autoname": "QUES.#######",
"name": "__common__",
"module": "Utilities",
"doctype": "DocType", "doctype": "DocType",
"allow_attach": 0 "in_create": 1,
"module": "Utilities",
"name": "__common__",
"read_only": 1
}, },
{ {
"name": "__common__",
"parent": "Question",
"doctype": "DocField", "doctype": "DocField",
"name": "__common__",
"parent": "Question",
"parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"parent": "Question",
"read": 1,
"report": 1,
"cancel": 1, "cancel": 1,
"name": "__common__",
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"write": 1, "name": "__common__",
"parent": "Question",
"parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"role": "All",
"permlevel": 0, "permlevel": 0,
"parentfield": "permissions" "read": 1,
"report": 1,
"role": "All",
"submit": 0,
"write": 1
}, },
{ {
"name": "Question", "doctype": "DocType",
"doctype": "DocType" "name": "Question"
}, },
{ {
"oldfieldtype": "Text",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "question",
"fieldtype": "Text",
"label": "Question", "label": "Question",
"oldfieldname": "question", "oldfieldname": "question",
"fieldname": "question", "oldfieldtype": "Text"
"fieldtype": "Text"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "Points",
"fieldname": "points", "fieldname": "points",
"fieldtype": "Int", "fieldtype": "Int",
"hidden": 1 "hidden": 1,
"label": "Points"
}, },
{ {
"oldfieldtype": "Text Editor",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "answer",
"fieldtype": "Text Editor",
"label": "Answer", "label": "Answer",
"oldfieldname": "answer", "oldfieldname": "answer",
"fieldname": "answer", "oldfieldtype": "Text Editor"
"fieldtype": "Text Editor"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "User Tags",
"fieldname": "_user_tags", "fieldname": "_user_tags",
"fieldtype": "Data", "fieldtype": "Data",
"hidden": 1 "hidden": 1,
"label": "User Tags"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
@ -77,15 +78,6 @@
"fieldtype": "Text", "fieldtype": "Text",
"label": "Users Voted" "label": "Users Voted"
}, },
{
"oldfieldtype": "Text",
"doctype": "DocField",
"label": "File List",
"oldfieldname": "file_list",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1
},
{ {
"doctype": "DocPerm" "doctype": "DocPerm"
} }

View File

@ -1,20 +1,31 @@
[ [
{ {
"owner": "Administrator", "creation": "2013-04-09 11:45:31",
"docstatus": 0, "docstatus": 0,
"creation": "2011-05-04 11:09:50", "modified": "2013-04-09 11:47:24",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2011-03-29 13:54:27" "owner": "Administrator"
}, },
{ {
"name": "__common__", "doctype": "Page",
"module": "Utilities", "module": "Utilities",
"standard": "Yes", "name": "__common__",
"page_name": "Question View", "page_name": "Question View",
"doctype": "Page" "standard": "Yes"
}, },
{ {
"name": "question-view", "doctype": "Page Role",
"doctype": "Page" "name": "__common__",
"parent": "question-view",
"parentfield": "roles",
"parenttype": "Page",
"role": "All"
},
{
"doctype": "Page",
"name": "question-view"
},
{
"doctype": "Page Role"
} }
] ]

View File

@ -1,8 +1,8 @@
[ [
{ {
"creation": "2012-06-14 18:44:56", "creation": "2013-04-09 11:50:08",
"docstatus": 0, "docstatus": 0,
"modified": "2013-04-09 10:25:31", "modified": "2013-04-09 11:52:08",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-03-07 15:53:15", "creation": "2013-03-26 12:48:00",
"docstatus": 0, "docstatus": 0,
"modified": "2013-03-12 14:48:34", "modified": "2013-03-12 14:48:34",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -102,15 +102,6 @@
"fieldtype": "Text Editor", "fieldtype": "Text Editor",
"label": "Footer" "label": "Footer"
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{ {
"doctype": "DocPerm" "doctype": "DocPerm"
} }

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-03-08 11:36:50", "creation": "2013-03-28 10:35:30",
"docstatus": 0, "docstatus": 0,
"modified": "2013-03-18 13:55:53", "modified": "2013-03-18 13:55:53",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -114,15 +114,6 @@
"hidden": 1, "hidden": 1,
"label": "Email Sent" "label": "Email Sent"
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{ {
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",

View File

@ -82,15 +82,6 @@
"label": "Posts", "label": "Posts",
"read_only": 1 "read_only": 1
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{ {
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-03-08 11:36:53", "creation": "2013-03-25 16:01:33",
"docstatus": 0, "docstatus": 0,
"modified": "2013-03-14 11:57:20", "modified": "2013-03-14 11:57:20",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -184,15 +184,6 @@
"label": "Custom CSS", "label": "Custom CSS",
"read_only": 1 "read_only": 1
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{ {
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-02-12 13:19:11", "creation": "2013-03-28 10:35:30",
"docstatus": 0, "docstatus": 0,
"modified": "2013-03-11 17:41:11", "modified": "2013-03-11 17:41:11",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -24,14 +24,12 @@
"permlevel": 0 "permlevel": 0
}, },
{ {
"amend": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__", "name": "__common__",
"parent": "Web Page", "parent": "Web Page",
"parentfield": "permissions", "parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"read": 1, "read": 1,
"report": 1,
"role": "Website Manager", "role": "Website Manager",
"submit": 0 "submit": 0
}, },
@ -139,26 +137,18 @@
"options": "CSS" "options": "CSS"
}, },
{ {
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{
"cancel": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 0, "permlevel": 0,
"report": 1,
"write": 1 "write": 1
}, },
{ {
"amend": 0,
"cancel": 0, "cancel": 0,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"permlevel": 1, "match": "",
"write": 0 "permlevel": 1
} }
] ]

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-03-07 11:55:11", "creation": "2013-03-25 16:01:34",
"docstatus": 0, "docstatus": 0,
"modified": "2013-03-13 16:25:22", "modified": "2013-03-13 16:25:22",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -227,15 +227,6 @@
"label": "Domain List", "label": "Domain List",
"reqd": 0 "reqd": 0
}, },
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
},
{ {
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",

View File

@ -1,84 +1,78 @@
[ [
{ {
"owner": "Administrator", "creation": "2013-03-07 14:48:40",
"docstatus": 0, "docstatus": 0,
"creation": "2012-12-25 16:47:53", "modified": "2012-12-25 16:56:34",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-12-25 16:56:34" "owner": "Administrator"
}, },
{ {
"allow_attach": 1, "allow_attach": 1,
"autoname": "field:slideshow_name", "autoname": "field:slideshow_name",
"name": "__common__", "description": "Slideshow like display for the website",
"module": "Website",
"doctype": "DocType", "doctype": "DocType",
"max_attachments": 10,
"document_type": "Transaction", "document_type": "Transaction",
"description": "Slideshow like display for the website" "max_attachments": 10,
"module": "Website",
"name": "__common__"
}, },
{ {
"name": "__common__",
"parent": "Website Slideshow",
"doctype": "DocField", "doctype": "DocField",
"name": "__common__",
"parent": "Website Slideshow",
"parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"parent": "Website Slideshow",
"read": 1,
"report": 1,
"cancel": 1, "cancel": 1,
"name": "__common__",
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"write": 1, "name": "__common__",
"parent": "Website Slideshow",
"parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"role": "Website Manager",
"permlevel": 0, "permlevel": 0,
"parentfield": "permissions" "read": 1,
"report": 1,
"role": "Website Manager",
"submit": 0,
"write": 1
}, },
{ {
"name": "Website Slideshow", "doctype": "DocType",
"doctype": "DocType" "name": "Website Slideshow"
}, },
{ {
"read_only": 0,
"doctype": "DocField", "doctype": "DocField",
"label": "Slideshow Name",
"fieldname": "slideshow_name", "fieldname": "slideshow_name",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Slideshow Name",
"read_only": 0,
"reqd": 1 "reqd": 1
}, },
{ {
"depends_on": "eval:!doc.__islocal", "depends_on": "eval:!doc.__islocal",
"doctype": "DocField", "doctype": "DocField",
"label": "Slideshow Items",
"fieldname": "sb0", "fieldname": "sb0",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"label": "Slideshow Items"
}, },
{ {
"depends_on": "eval:!doc.__islocal", "depends_on": "eval:!doc.__islocal",
"doctype": "DocField", "doctype": "DocField",
"label": "Slideshow Items",
"fieldname": "slideshow_items", "fieldname": "slideshow_items",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Slideshow Items",
"options": "Website Slideshow Item" "options": "Website Slideshow Item"
}, },
{ {
"description": "This goes above the slideshow.",
"depends_on": "eval:!doc.__islocal", "depends_on": "eval:!doc.__islocal",
"description": "This goes above the slideshow.",
"doctype": "DocField", "doctype": "DocField",
"label": "Header",
"fieldname": "header", "fieldname": "header",
"fieldtype": "Text Editor" "fieldtype": "Text Editor",
}, "label": "Header"
{
"doctype": "DocField",
"label": "File List",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1
}, },
{ {
"doctype": "DocPerm" "doctype": "DocPerm"

View File

@ -1,6 +1,6 @@
[ [
{ {
"creation": "2013-02-22 01:28:09", "creation": "2013-03-07 12:26:33",
"docstatus": 0, "docstatus": 0,
"modified": "2013-03-07 07:03:34", "modified": "2013-03-07 07:03:34",
"modified_by": "Administrator", "modified_by": "Administrator",
@ -48,14 +48,5 @@
"label": "Description", "label": "Description",
"print_width": "200px", "print_width": "200px",
"width": "200px" "width": "200px"
},
{
"doctype": "DocField",
"fieldname": "file_list",
"fieldtype": "Text",
"hidden": 1,
"label": "File List",
"no_copy": 1,
"print_hide": 1
} }
] ]