added report permissions to txt files

This commit is contained in:
Rushabh Mehta
2013-01-21 14:22:07 +05:30
parent 1a6220a332
commit bb9968491b
99 changed files with 1723 additions and 1497 deletions

View File

@@ -7,14 +7,14 @@
"modified": "2013-01-18 13:24:20"
},
{
"autoname": "naming_series:",
"allow_attach": 1,
"document_type": "Transaction",
"is_submittable": 1,
"search_fields": "status, transaction_date, supplier,grand_total",
"allow_attach": 1,
"autoname": "naming_series:",
"module": "Buying",
"doctype": "DocType",
"read_only_onload": 1,
"document_type": "Transaction",
"search_fields": "status, transaction_date, supplier,grand_total",
"name": "__common__"
},
{
@@ -44,11 +44,11 @@
"doctype": "DocField",
"label": "Series",
"oldfieldname": "naming_series",
"permlevel": 0,
"options": "\nPO",
"fieldname": "naming_series",
"fieldtype": "Select",
"reqd": 1,
"options": "\nPO"
"permlevel": 0
},
{
"print_hide": 1,
@@ -62,8 +62,8 @@
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"in_filter": 1,
"options": "Supplier"
"options": "Supplier",
"in_filter": 1
},
{
"doctype": "DocField",
@@ -144,17 +144,17 @@
"doctype": "DocField",
"label": "Purchase Order Items",
"oldfieldname": "po_details",
"options": "Purchase Order Item",
"permlevel": 0,
"fieldname": "po_details",
"fieldtype": "Table",
"permlevel": 0
"options": "Purchase Order Item"
},
{
"doctype": "DocField",
"options": "Simple",
"permlevel": 0,
"fieldname": "sb_last_purchase",
"fieldtype": "Section Break",
"permlevel": 0
"options": "Simple"
},
{
"print_hide": 0,
@@ -195,11 +195,11 @@
"doctype": "DocField",
"label": "Select Purchase Request",
"oldfieldname": "indent_no",
"permlevel": 0,
"options": "Purchase Request",
"fieldname": "indent_no",
"fieldtype": "Link",
"hidden": 0,
"options": "Purchase Request"
"permlevel": 0
},
{
"print_hide": 1,
@@ -207,11 +207,11 @@
"oldfieldtype": "Button",
"doctype": "DocField",
"label": "Get Items",
"options": "get_indent_details",
"permlevel": 0,
"fieldname": "get_items",
"fieldtype": "Button",
"hidden": 0,
"permlevel": 0
"options": "get_indent_details"
},
{
"print_width": "50%",
@@ -227,19 +227,19 @@
"no_copy": 1,
"doctype": "DocField",
"label": "Select Supplier Quotation",
"options": "Supplier Quotation",
"permlevel": 0,
"fieldname": "supplier_quotation",
"fieldtype": "Link",
"permlevel": 0
"options": "Supplier Quotation"
},
{
"print_hide": 1,
"doctype": "DocField",
"label": "Get Items",
"options": "get_supplier_quotation_items",
"permlevel": 0,
"fieldname": "get_supplier_quotation_items",
"fieldtype": "Button",
"permlevel": 0
"options": "get_supplier_quotation_items"
},
{
"doctype": "DocField",
@@ -262,11 +262,11 @@
"doctype": "DocField",
"label": "Currency",
"oldfieldname": "currency",
"permlevel": 0,
"options": "link:Currency",
"fieldname": "currency",
"fieldtype": "Select",
"reqd": 1,
"options": "link:Currency"
"permlevel": 0
},
{
"print_hide": 1,
@@ -294,20 +294,20 @@
"description": "Consider this Price List for fetching rate. (only which have \"For Buying\" as checked)",
"doctype": "DocField",
"label": "Price List",
"options": "Price List",
"permlevel": 0,
"fieldname": "price_list_name",
"fieldtype": "Link",
"permlevel": 0
"options": "Price List"
},
{
"print_hide": 1,
"depends_on": "price_list_name",
"doctype": "DocField",
"label": "Price List Currency",
"options": "Currency",
"permlevel": 0,
"fieldname": "price_list_currency",
"fieldtype": "Link",
"permlevel": 0
"options": "Currency"
},
{
"print_hide": 1,
@@ -335,20 +335,20 @@
"doctype": "DocField",
"label": "Purchase Taxes and Charges",
"oldfieldname": "purchase_other_charges",
"options": "Purchase Taxes and Charges Master",
"permlevel": 0,
"fieldname": "purchase_other_charges",
"fieldtype": "Link",
"permlevel": 0
"options": "Purchase Taxes and Charges Master"
},
{
"print_hide": 1,
"oldfieldtype": "Button",
"doctype": "DocField",
"label": "Get Tax Detail",
"options": "get_purchase_tax_details",
"permlevel": 0,
"fieldname": "get_tax_detail",
"fieldtype": "Button",
"permlevel": 0
"options": "get_purchase_tax_details"
},
{
"no_copy": 0,
@@ -356,10 +356,10 @@
"doctype": "DocField",
"label": "Purchase Taxes and Charges",
"oldfieldname": "purchase_tax_details",
"options": "Purchase Taxes and Charges",
"permlevel": 0,
"fieldname": "purchase_tax_details",
"fieldtype": "Table",
"permlevel": 0
"options": "Purchase Taxes and Charges"
},
{
"print_hide": 1,
@@ -544,29 +544,29 @@
"doctype": "DocField",
"label": "Select Terms and Conditions",
"oldfieldname": "tc_name",
"options": "Terms and Conditions",
"permlevel": 0,
"fieldname": "tc_name",
"fieldtype": "Link",
"permlevel": 0
"options": "Terms and Conditions"
},
{
"oldfieldtype": "Button",
"doctype": "DocField",
"label": "Get Terms and Conditions",
"options": "get_tc_details",
"permlevel": 0,
"fieldname": "get_terms",
"fieldtype": "Button",
"permlevel": 0
"options": "get_tc_details"
},
{
"print_hide": 1,
"oldfieldtype": "HTML",
"doctype": "DocField",
"label": "Terms and Conditions HTML",
"options": "You can add Terms and Notes that will be printed in the Transaction",
"permlevel": 0,
"fieldname": "terms_html",
"fieldtype": "HTML",
"permlevel": 0
"options": "You can add Terms and Notes that will be printed in the Transaction"
},
{
"oldfieldtype": "Text Editor",
@@ -588,10 +588,10 @@
"print_hide": 1,
"doctype": "DocField",
"label": "Supplier Address",
"options": "Address",
"permlevel": 0,
"fieldname": "supplier_address",
"fieldtype": "Link",
"permlevel": 0,
"options": "Address",
"in_filter": 1
},
{
@@ -604,10 +604,10 @@
"print_hide": 1,
"doctype": "DocField",
"label": "Contact Person",
"options": "Contact",
"permlevel": 0,
"fieldname": "contact_person",
"fieldtype": "Link",
"permlevel": 0,
"options": "Contact",
"in_filter": 1
},
{
@@ -638,10 +638,10 @@
"default": "No",
"doctype": "DocField",
"label": "Is Subcontracted",
"options": "\nYes\nNo",
"permlevel": 0,
"fieldname": "is_subcontracted",
"fieldtype": "Select",
"permlevel": 0
"options": "\nYes\nNo"
},
{
"print_hide": 1,
@@ -657,15 +657,15 @@
},
{
"print_hide": 1,
"allow_on_submit": 1,
"oldfieldtype": "Select",
"allow_on_submit": 1,
"doctype": "DocField",
"label": "Letter Head",
"oldfieldname": "letter_head",
"options": "link:Letter Head",
"permlevel": 0,
"fieldname": "letter_head",
"fieldtype": "Select",
"permlevel": 0
"options": "link:Letter Head"
},
{
"print_hide": 1,
@@ -706,8 +706,8 @@
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"in_filter": 1,
"options": "Company"
"options": "Company",
"in_filter": 1
},
{
"print_hide": 1,
@@ -732,10 +732,10 @@
"doctype": "DocField",
"label": "Select Print Heading",
"oldfieldname": "select_print_heading",
"permlevel": 0,
"options": "Print Heading",
"fieldname": "select_print_heading",
"fieldtype": "Link",
"options": "Print Heading",
"permlevel": 0,
"report_hide": 1
},
{
@@ -830,16 +830,16 @@
},
{
"print_hide": 1,
"allow_on_submit": 1,
"no_copy": 0,
"oldfieldtype": "Table",
"allow_on_submit": 1,
"doctype": "DocField",
"label": "Purchase Order Items Supplied",
"oldfieldname": "po_raw_material_details",
"options": "Purchase Order Item Supplied",
"permlevel": 1,
"fieldname": "po_raw_material_details",
"fieldtype": "Table",
"permlevel": 1
"options": "Purchase Order Item Supplied"
},
{
"print_hide": 1,
@@ -857,26 +857,28 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"report": 1,
"role": "Purchase User",
"cancel": 1,
"permlevel": 0
},
{
"doctype": "DocPerm",
"role": "All",
"permlevel": 1
"permlevel": 1,
"doctype": "DocPerm"
},
{
"doctype": "DocPerm",
"role": "Supplier",
"report": 1,
"permlevel": 0,
"match": "supplier"
},
{
"doctype": "DocPerm",
"write": 1,
"role": "All",
"permlevel": 2
"permlevel": 2,
"doctype": "DocPerm"
},
{
"amend": 0,
@@ -894,6 +896,7 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"report": 1,
"role": "Purchase Manager",
"cancel": 1,
"permlevel": 0
@@ -914,6 +917,7 @@
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"report": 1,
"role": "Material User",
"cancel": 0,
"permlevel": 0

View File

@@ -9,15 +9,15 @@
{
"section_style": "Simple",
"is_submittable": 1,
"doctype": "DocType",
"search_fields": "item_code, report_date, purchase_receipt_no, delivery_note_no",
"module": "Buying",
"_last_update": "1317365120",
"server_code_error": " ",
"print_outline": "Yes",
"autoname": "QAI/.######",
"name": "__common__",
"colour": "White:FFF",
"doctype": "DocType",
"_last_update": "1317365120",
"show_in_menu": 0,
"version": 38
},
@@ -51,6 +51,7 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"report": 1,
"cancel": 1,
"permlevel": 0
},
@@ -75,11 +76,11 @@
"no_copy": 1,
"doctype": "DocField",
"label": "Naming Series",
"permlevel": 0,
"options": "\nQAI/11-12/",
"fieldname": "naming_series",
"fieldtype": "Select",
"reqd": 1,
"options": "\nQAI/11-12/"
"permlevel": 0
},
{
"oldfieldtype": "Select",
@@ -87,12 +88,12 @@
"doctype": "DocField",
"label": "Inspection Type",
"oldfieldname": "inspection_type",
"permlevel": 0,
"trigger": "Client",
"fieldname": "inspection_type",
"fieldtype": "Select",
"reqd": 1,
"options": "\nIncoming\nOutgoing\nIn Process",
"permlevel": 0,
"in_filter": 1
},
{
@@ -161,21 +162,21 @@
"doctype": "DocField",
"label": "Item Serial No",
"oldfieldname": "item_serial_no",
"permlevel": 0,
"options": "Serial No",
"fieldname": "item_serial_no",
"fieldtype": "Link",
"hidden": 0,
"options": "Serial No"
"permlevel": 0
},
{
"oldfieldtype": "Link",
"doctype": "DocField",
"label": "Batch No",
"oldfieldname": "batch_no",
"permlevel": 0,
"options": "Batch",
"fieldname": "batch_no",
"fieldtype": "Link",
"options": "Batch"
"permlevel": 0
},
{
"oldfieldtype": "Link",
@@ -262,10 +263,10 @@
"oldfieldtype": "Section Break",
"doctype": "DocField",
"label": "Specification Details",
"permlevel": 0,
"options": "Simple",
"fieldname": "specification_details",
"fieldtype": "Section Break",
"options": "Simple"
"permlevel": 0
},
{
"doctype": "DocField",
@@ -280,9 +281,9 @@
"doctype": "DocField",
"label": "Quality Inspection Readings",
"oldfieldname": "qa_specification_details",
"permlevel": 0,
"options": "Quality Inspection Reading",
"fieldname": "qa_specification_details",
"fieldtype": "Table",
"options": "Quality Inspection Reading"
"permlevel": 0
}
]

View File

@@ -7,13 +7,13 @@
"modified": "2012-12-27 14:02:18"
},
{
"autoname": "naming_series:",
"document_type": "Master",
"description": "Supplier of Goods or Services.",
"autoname": "naming_series:",
"allow_rename": 1,
"search_fields": "supplier_name,supplier_type",
"module": "Buying",
"doctype": "DocType",
"document_type": "Master",
"search_fields": "supplier_name,supplier_type",
"name": "__common__"
},
{
@@ -60,11 +60,11 @@
"doctype": "DocField",
"label": "Supplier Type",
"oldfieldname": "supplier_type",
"options": "Supplier Type",
"permlevel": 0,
"fieldname": "supplier_type",
"fieldtype": "Link",
"reqd": 1,
"permlevel": 0
"options": "Supplier Type"
},
{
"doctype": "DocField",
@@ -79,10 +79,10 @@
"doctype": "DocField",
"label": "Series",
"oldfieldname": "naming_series",
"options": "\nSUPP\nSUPP/10-11/",
"permlevel": 0,
"fieldname": "naming_series",
"fieldtype": "Select",
"permlevel": 0
"options": "\nSUPP\nSUPP/10-11/"
},
{
"oldfieldtype": "Column Break",
@@ -96,10 +96,10 @@
"depends_on": "eval:doc.__islocal",
"doctype": "DocField",
"label": "Address Desc",
"options": "<em>Addresses will appear only when you save the supplier</em>",
"permlevel": 0,
"fieldname": "address_desc",
"fieldtype": "HTML",
"permlevel": 0
"options": "<em>Addresses will appear only when you save the supplier</em>"
},
{
"doctype": "DocField",
@@ -119,10 +119,10 @@
"depends_on": "eval:doc.__islocal",
"doctype": "DocField",
"label": "Contact Desc",
"options": "<em>Contact Details will appear only when you save the supplier</em>",
"permlevel": 0,
"fieldname": "contact_desc",
"fieldtype": "HTML",
"permlevel": 0
"options": "<em>Contact Details will appear only when you save the supplier</em>"
},
{
"doctype": "DocField",
@@ -158,23 +158,23 @@
"doctype": "DocField",
"label": "Company",
"oldfieldname": "company",
"permlevel": 0,
"options": "Company",
"fieldname": "company",
"fieldtype": "Link",
"search_index": 0,
"reqd": 1,
"in_filter": 1,
"options": "Company"
"permlevel": 0,
"in_filter": 1
},
{
"description": "This currency will get fetched in Purchase transactions of this supplier",
"no_copy": 1,
"doctype": "DocField",
"label": "Default Currency",
"options": "link:Currency",
"permlevel": 0,
"fieldname": "default_currency",
"fieldtype": "Select",
"permlevel": 0
"options": "link:Currency"
},
{
"description": "Statutory info and other general information about your Supplier",
@@ -225,14 +225,15 @@
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"report": 1,
"role": "Purchase Manager",
"cancel": 0,
"permlevel": 0
},
{
"doctype": "DocPerm",
"role": "Purchase Master Manager",
"permlevel": 1
"permlevel": 1,
"doctype": "DocPerm"
},
{
"amend": 0,
@@ -240,6 +241,7 @@
"doctype": "DocPerm",
"submit": 0,
"write": 1,
"report": 1,
"role": "Purchase Master Manager",
"cancel": 1,
"permlevel": 0

View File

@@ -7,14 +7,14 @@
"modified": "2013-01-18 13:25:50"
},
{
"autoname": "naming_series:",
"allow_attach": 1,
"document_type": "Transaction",
"is_submittable": 1,
"search_fields": "status, transaction_date, supplier,grand_total",
"allow_attach": 1,
"autoname": "naming_series:",
"module": "Buying",
"doctype": "DocType",
"read_only_onload": 1,
"document_type": "Transaction",
"search_fields": "status, transaction_date, supplier,grand_total",
"name": "__common__"
},
{
@@ -44,11 +44,11 @@
"doctype": "DocField",
"label": "Series",
"oldfieldname": "naming_series",
"permlevel": 0,
"options": "SQTN",
"fieldname": "naming_series",
"fieldtype": "Select",
"reqd": 1,
"options": "SQTN"
"permlevel": 0
},
{
"print_hide": 1,
@@ -62,8 +62,8 @@
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"in_filter": 1,
"options": "Supplier"
"options": "Supplier",
"in_filter": 1
},
{
"doctype": "DocField",
@@ -144,17 +144,17 @@
"doctype": "DocField",
"label": "Quotation Items",
"oldfieldname": "po_details",
"options": "Supplier Quotation Item",
"permlevel": 0,
"fieldname": "quotation_items",
"fieldtype": "Table",
"permlevel": 0
"options": "Supplier Quotation Item"
},
{
"doctype": "DocField",
"options": "Simple",
"permlevel": 0,
"fieldname": "section_break0",
"fieldtype": "Section Break",
"permlevel": 0
"options": "Simple"
},
{
"oldfieldtype": "Button",
@@ -166,10 +166,10 @@
},
{
"doctype": "DocField",
"options": "Simple",
"permlevel": 0,
"fieldname": "section_break_14",
"fieldtype": "Section Break",
"permlevel": 0
"options": "Simple"
},
{
"print_hide": 1,
@@ -179,21 +179,21 @@
"doctype": "DocField",
"label": "Select Purchase Request",
"oldfieldname": "indent_no",
"permlevel": 0,
"options": "Purchase Request",
"fieldname": "indent_no",
"fieldtype": "Link",
"hidden": 0,
"options": "Purchase Request"
"permlevel": 0
},
{
"oldfieldtype": "Button",
"doctype": "DocField",
"label": "Get Items",
"options": "get_indent_details",
"permlevel": 0,
"fieldname": "get_items",
"fieldtype": "Button",
"hidden": 0,
"permlevel": 0
"options": "get_indent_details"
},
{
"doctype": "DocField",
@@ -210,11 +210,11 @@
"doctype": "DocField",
"label": "Currency",
"oldfieldname": "currency",
"permlevel": 0,
"options": "link:Currency",
"fieldname": "currency",
"fieldtype": "Select",
"reqd": 1,
"options": "link:Currency"
"permlevel": 0
},
{
"print_hide": 1,
@@ -244,20 +244,20 @@
"description": "Consider this Price List for fetching rate. (only which have \"For Buying\" as checked)",
"doctype": "DocField",
"label": "Price List",
"options": "Price List",
"permlevel": 0,
"fieldname": "price_list_name",
"fieldtype": "Link",
"permlevel": 0
"options": "Price List"
},
{
"print_hide": 1,
"depends_on": "price_list_name",
"doctype": "DocField",
"label": "Price List Currency",
"options": "Currency",
"permlevel": 0,
"fieldname": "price_list_currency",
"fieldtype": "Link",
"permlevel": 0
"options": "Currency"
},
{
"print_hide": 1,
@@ -284,20 +284,20 @@
"doctype": "DocField",
"label": "Purchase Taxes and Charges",
"oldfieldname": "purchase_other_charges",
"options": "Purchase Taxes and Charges Master",
"permlevel": 0,
"fieldname": "purchase_other_charges",
"fieldtype": "Link",
"permlevel": 0
"options": "Purchase Taxes and Charges Master"
},
{
"print_hide": 1,
"oldfieldtype": "Button",
"doctype": "DocField",
"label": "Get Tax Detail",
"options": "get_purchase_tax_details",
"permlevel": 0,
"fieldname": "get_tax_detail",
"fieldtype": "Button",
"permlevel": 0
"options": "get_purchase_tax_details"
},
{
"no_copy": 0,
@@ -305,10 +305,10 @@
"doctype": "DocField",
"label": "Purchase Taxes and Charges",
"oldfieldname": "purchase_tax_details",
"options": "Purchase Taxes and Charges",
"permlevel": 0,
"fieldname": "purchase_tax_details",
"fieldtype": "Table",
"permlevel": 0
"options": "Purchase Taxes and Charges"
},
{
"print_hide": 1,
@@ -494,10 +494,10 @@
"doctype": "DocField",
"label": "Letter Head",
"oldfieldname": "letter_head",
"options": "link:Letter Head",
"permlevel": 0,
"fieldname": "letter_head",
"fieldtype": "Select",
"permlevel": 0
"options": "link:Letter Head"
},
{
"print_hide": 1,
@@ -505,29 +505,29 @@
"doctype": "DocField",
"label": "Select Terms and Conditions",
"oldfieldname": "tc_name",
"options": "Terms and Conditions",
"permlevel": 0,
"fieldname": "tc_name",
"fieldtype": "Link",
"permlevel": 0
"options": "Terms and Conditions"
},
{
"oldfieldtype": "Button",
"doctype": "DocField",
"label": "Get Terms and Conditions",
"options": "get_tc_details",
"permlevel": 0,
"fieldname": "get_terms",
"fieldtype": "Button",
"permlevel": 0
"options": "get_tc_details"
},
{
"print_hide": 1,
"oldfieldtype": "HTML",
"doctype": "DocField",
"label": "Terms and Conditions HTML",
"options": "You can add Terms and Notes that will be printed in the Transaction",
"permlevel": 0,
"fieldname": "terms_html",
"fieldtype": "HTML",
"permlevel": 0
"options": "You can add Terms and Notes that will be printed in the Transaction"
},
{
"oldfieldtype": "Text Editor",
@@ -549,20 +549,20 @@
"print_hide": 1,
"doctype": "DocField",
"label": "Supplier Address",
"options": "Address",
"permlevel": 0,
"fieldname": "supplier_address",
"fieldtype": "Link",
"permlevel": 0,
"options": "Address",
"in_filter": 1
},
{
"print_hide": 1,
"doctype": "DocField",
"label": "Contact Person",
"options": "Contact",
"permlevel": 0,
"fieldname": "contact_person",
"fieldtype": "Link",
"permlevel": 0,
"options": "Contact",
"in_filter": 1
},
{
@@ -593,10 +593,10 @@
"default": "No",
"doctype": "DocField",
"label": "Is Subcontracted",
"options": "\nYes\nNo",
"permlevel": 0,
"fieldname": "is_subcontracted",
"fieldtype": "Select",
"permlevel": 0
"options": "\nYes\nNo"
},
{
"print_hide": 1,
@@ -637,8 +637,8 @@
"fieldtype": "Link",
"search_index": 1,
"reqd": 1,
"in_filter": 1,
"options": "Company"
"options": "Company",
"in_filter": 1
},
{
"print_hide": 1,
@@ -663,10 +663,10 @@
"doctype": "DocField",
"label": "Select Print Heading",
"oldfieldname": "select_print_heading",
"permlevel": 0,
"options": "Print Heading",
"fieldname": "select_print_heading",
"fieldtype": "Link",
"options": "Print Heading",
"permlevel": 0,
"report_hide": 1
},
{
@@ -708,6 +708,7 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"report": 1,
"role": "Manufacturing Manager",
"cancel": 1,
"permlevel": 0
@@ -718,6 +719,7 @@
"doctype": "DocPerm",
"submit": 1,
"write": 1,
"report": 1,
"role": "Purchase Manager",
"cancel": 1,
"permlevel": 0
@@ -728,6 +730,7 @@
"doctype": "DocPerm",
"submit": 0,
"write": 1,
"report": 1,
"role": "Purchase User",
"cancel": 0,
"permlevel": 0
@@ -738,6 +741,7 @@
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"report": 1,
"role": "Material User",
"cancel": 0,
"permlevel": 0
@@ -748,6 +752,7 @@
"doctype": "DocPerm",
"submit": 0,
"write": 0,
"report": 1,
"role": "Supplier",
"cancel": 0,
"permlevel": 0