Merge branch 'master' into edge

This commit is contained in:
Anand Doshi 2013-03-05 14:49:57 +05:30
commit 53aba86dd8
55 changed files with 1179 additions and 1228 deletions

View File

@ -1,24 +1,22 @@
[ [
{ {
"owner": "nabin@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:35:41", "creation": "2012-03-27 14:35:41",
"docstatus": 0,
"modified": "2012-03-27 14:35:41",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:35:41" "owner": "nabin@webnotestech.com"
}, },
{ {
"section_style": "Simple",
"name": "__common__",
"colour": "White:FFF",
"module": "Accounts",
"show_in_menu": 0,
"version": 23,
"server_code_error": " ",
"doctype": "DocType", "doctype": "DocType",
"issingle": 1 "issingle": 1,
"module": "Accounts",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 23
}, },
{ {
"name": "Budget Control", "doctype": "DocType",
"doctype": "DocType" "name": "Budget Control"
} }
] ]

View File

@ -1,24 +1,22 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:35:49", "creation": "2012-03-27 14:35:49",
"docstatus": 0,
"modified": "2012-03-27 14:35:49",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:35:49" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"name": "__common__",
"colour": "White:FFF",
"module": "Accounts",
"show_in_menu": 0,
"version": 120,
"server_code_error": " ",
"doctype": "DocType", "doctype": "DocType",
"issingle": 1 "issingle": 1,
"module": "Accounts",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 120
}, },
{ {
"name": "MIS Control", "doctype": "DocType",
"doctype": "DocType" "name": "MIS Control"
} }
] ]

View File

@ -59,7 +59,6 @@
}, },
{ {
"description": "Default Bank / Cash account will be automatically updated in POS Invoice when this mode is selected.", "description": "Default Bank / Cash account will be automatically updated in POS Invoice when this mode is selected.",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Default Account", "label": "Default Account",
"fieldname": "default_account", "fieldname": "default_account",

View File

@ -1,38 +1,37 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:35:44", "creation": "2012-03-27 14:35:44",
"docstatus": 0,
"modified": "2012-03-27 14:35:44",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:35:44" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Accounts",
"doctype": "DocType", "doctype": "DocType",
"version": 3, "istable": 1,
"show_in_menu": 0 "module": "Accounts",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 3
}, },
{ {
"parent": "Multi Ledger Report Detail",
"reqd": 1,
"name": "__common__",
"doctype": "DocField", "doctype": "DocField",
"label": "Account",
"width": "300px",
"parenttype": "DocType",
"options": "Account",
"fieldname": "account", "fieldname": "account",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Account",
"name": "__common__",
"options": "Account",
"parent": "Multi Ledger Report Detail",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"parentfield": "fields" "reqd": 1,
"width": "300px"
}, },
{ {
"name": "Multi Ledger Report Detail", "doctype": "DocType",
"doctype": "DocType" "name": "Multi Ledger Report Detail"
}, },
{ {
"doctype": "DocField" "doctype": "DocField"

View File

@ -17,7 +17,8 @@
from __future__ import unicode_literals from __future__ import unicode_literals
import webnotes import webnotes
from webnotes.utils import add_days, cint, cstr, date_diff, flt, getdate, nowdate, sendmail from webnotes.utils import add_days, cint, cstr, date_diff, flt, getdate, nowdate
from webnotes.utils.email_lib import sendmail
from webnotes.utils import comma_and from webnotes.utils import comma_and
from webnotes.model.doc import make_autoname from webnotes.model.doc import make_autoname
from webnotes.model.bean import getlist from webnotes.model.bean import getlist

View File

@ -1,25 +1,23 @@
[ [
{ {
"owner": "saumil@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:35:49", "creation": "2012-03-27 14:35:49",
"docstatus": 0,
"modified": "2012-03-27 14:35:49",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:35:49" "owner": "saumil@webnotestech.com"
}, },
{ {
"section_style": "Simple",
"in_create": 1,
"module": "Accounts",
"server_code_error": " ",
"doctype": "DocType", "doctype": "DocType",
"in_create": 1,
"issingle": 1, "issingle": 1,
"read_only": 1, "module": "Accounts",
"name": "__common__", "name": "__common__",
"colour": "White:FFF", "read_only": 1,
"section_style": "Simple",
"version": 11 "version": 11
}, },
{ {
"name": "Trend Analyzer Control", "doctype": "DocType",
"doctype": "DocType" "name": "Trend Analyzer Control"
} }
] ]

View File

@ -1,6 +1,6 @@
from __future__ import unicode_literals from __future__ import unicode_literals
import webnotes import webnotes
from webnotes.utils import flt from webnotes.utils import flt, comma_and
@webnotes.whitelist() @webnotes.whitelist()
def get_template(): def get_template():
@ -231,6 +231,14 @@ def get_data(rows, company_abbr):
if r[0]=="--------Data----------": if r[0]=="--------Data----------":
start_row = i+2 start_row = i+2
# check for empty columns
empty_columns = [i+1 for i, c in enumerate(rows[i+1]) if not c]
if empty_columns:
raise Exception, """Column No(s). %s %s empty. \
Please remove them and try again.""" % (comma_and(empty_columns),
len(empty_columns)==1 and "is" or "are")
columns = [c.replace(" ", "_").lower() for c in rows[i+1] columns = [c.replace(" ", "_").lower() for c in rows[i+1]
if not c.endswith(" - " + company_abbr)] if not c.endswith(" - " + company_abbr)]
accounts = [c for c in rows[i+1] if c.endswith(" - " + company_abbr)] accounts = [c for c in rows[i+1] if c.endswith(" - " + company_abbr)]

View File

@ -1,24 +1,22 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:35:51", "creation": "2012-03-27 14:35:51",
"docstatus": 0,
"modified": "2012-03-27 14:35:51",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:35:51" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"name": "__common__",
"colour": "White:FFF",
"module": "Buying",
"show_in_menu": 0,
"version": 187,
"server_code_error": " ",
"doctype": "DocType", "doctype": "DocType",
"issingle": 1 "issingle": 1,
"module": "Buying",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 187
}, },
{ {
"name": "Purchase Common", "doctype": "DocType",
"doctype": "DocType" "name": "Purchase Common"
} }
] ]

View File

@ -1,140 +1,138 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:35:52", "creation": "2012-03-27 14:35:52",
"docstatus": 0,
"modified": "2012-03-27 14:35:52",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:35:52" "owner": "Administrator"
}, },
{ {
"section_style": "Tray", "autoname": "QASD/.#####",
"doctype": "DocType",
"istable": 1, "istable": 1,
"module": "Buying", "module": "Buying",
"server_code_error": " ",
"doctype": "DocType",
"autoname": "QASD/.#####",
"name": "__common__", "name": "__common__",
"colour": "White:FFF", "section_style": "Tray",
"show_in_menu": 0, "show_in_menu": 0,
"version": 2 "version": 2
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Quality Inspection Reading", "parent": "Quality Inspection Reading",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"name": "Quality Inspection Reading", "doctype": "DocType",
"doctype": "DocType" "name": "Quality Inspection Reading"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"label": "Parameter",
"oldfieldname": "specification",
"fieldname": "specification", "fieldname": "specification",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Parameter",
"oldfieldname": "specification",
"oldfieldtype": "Data",
"reqd": 1 "reqd": 1
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "value",
"fieldtype": "Data",
"label": "Acceptance Criteria", "label": "Acceptance Criteria",
"oldfieldname": "value", "oldfieldname": "value",
"fieldname": "value", "oldfieldtype": "Data"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "reading_1",
"fieldtype": "Data",
"label": "Reading 1", "label": "Reading 1",
"oldfieldname": "reading_1", "oldfieldname": "reading_1",
"fieldname": "reading_1", "oldfieldtype": "Data"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "reading_2",
"fieldtype": "Data",
"label": "Reading 2", "label": "Reading 2",
"oldfieldname": "reading_2", "oldfieldname": "reading_2",
"fieldname": "reading_2", "oldfieldtype": "Data"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "reading_3",
"fieldtype": "Data",
"label": "Reading 3", "label": "Reading 3",
"oldfieldname": "reading_3", "oldfieldname": "reading_3",
"fieldname": "reading_3", "oldfieldtype": "Data"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "reading_4",
"fieldtype": "Data",
"label": "Reading 4", "label": "Reading 4",
"oldfieldname": "reading_4", "oldfieldname": "reading_4",
"fieldname": "reading_4", "oldfieldtype": "Data"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "reading_5",
"fieldtype": "Data",
"label": "Reading 5", "label": "Reading 5",
"oldfieldname": "reading_5", "oldfieldname": "reading_5",
"fieldname": "reading_5", "oldfieldtype": "Data"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "reading_6",
"fieldtype": "Data",
"label": "Reading 6", "label": "Reading 6",
"oldfieldname": "reading_6", "oldfieldname": "reading_6",
"fieldname": "reading_6", "oldfieldtype": "Data"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "reading_7",
"fieldtype": "Data",
"label": "Reading 7", "label": "Reading 7",
"oldfieldname": "reading_7", "oldfieldname": "reading_7",
"fieldname": "reading_7", "oldfieldtype": "Data"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "reading_8",
"fieldtype": "Data",
"label": "Reading 8", "label": "Reading 8",
"oldfieldname": "reading_8", "oldfieldname": "reading_8",
"fieldname": "reading_8", "oldfieldtype": "Data"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "reading_9",
"fieldtype": "Data",
"label": "Reading 9", "label": "Reading 9",
"oldfieldname": "reading_9", "oldfieldname": "reading_9",
"fieldname": "reading_9", "oldfieldtype": "Data"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "reading_10",
"fieldtype": "Data",
"label": "Reading 10", "label": "Reading 10",
"oldfieldname": "reading_10", "oldfieldname": "reading_10",
"fieldname": "reading_10", "oldfieldtype": "Data"
"fieldtype": "Data"
}, },
{ {
"default": "Accepted", "default": "Accepted",
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"label": "Status",
"oldfieldname": "status",
"fieldname": "status", "fieldname": "status",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Status",
"oldfieldname": "status",
"oldfieldtype": "Select",
"options": "Accepted\nRejected" "options": "Accepted\nRejected"
} }
] ]

View File

@ -1,43 +1,42 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-07-03 13:29:42", "creation": "2012-07-03 13:29:42",
"docstatus": 0,
"modified": "2012-10-15 15:23:02",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-10-15 15:23:02" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"name": "__common__",
"autoname": "_FEED.#####", "autoname": "_FEED.#####",
"colour": "White:FFF",
"module": "Home",
"doctype": "DocType", "doctype": "DocType",
"version": 1, "module": "Home",
"show_in_menu": 0 "name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 1
}, },
{ {
"name": "__common__",
"parent": "Feed",
"doctype": "DocField", "doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"parent": "Feed",
"read": 1,
"name": "__common__", "name": "__common__",
"doctype": "DocPerm", "parent": "Feed",
"report": 1, "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"role": "System Manager", "permlevel": 0
"permlevel": 0,
"parentfield": "permissions"
}, },
{ {
"name": "Feed", "doctype": "DocPerm",
"doctype": "DocType" "name": "__common__",
"parent": "Feed",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
"report": 1,
"role": "System Manager"
},
{
"doctype": "DocType",
"name": "Feed"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",

View File

@ -1,82 +1,80 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:35:54", "creation": "2012-03-27 14:35:54",
"docstatus": 0,
"modified": "2012-03-27 14:35:54",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:35:54" "owner": "Administrator"
}, },
{ {
"section_style": "Simple", "doctype": "DocType",
"istable": 1, "istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "HR", "module": "HR",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0, "show_in_menu": 0,
"version": 5, "version": 5
"server_code_error": " ",
"doctype": "DocType"
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Employee Education", "parent": "Employee Education",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"name": "Employee Education", "doctype": "DocType",
"doctype": "DocType" "name": "Employee Education"
}, },
{ {
"oldfieldtype": "Small Text",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "school_univ",
"fieldtype": "Small Text",
"label": "School/University", "label": "School/University",
"oldfieldname": "school_univ", "oldfieldname": "school_univ",
"fieldname": "school_univ", "oldfieldtype": "Small Text"
"fieldtype": "Small Text"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "qualification",
"fieldtype": "Data",
"label": "Qualification", "label": "Qualification",
"oldfieldname": "qualification", "oldfieldname": "qualification",
"width": "100px", "oldfieldtype": "Data",
"fieldname": "qualification", "width": "100px"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"label": "Level",
"oldfieldname": "level",
"fieldname": "level", "fieldname": "level",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Level",
"oldfieldname": "level",
"oldfieldtype": "Select",
"options": "Graduate\nPost Graduate\nUnder Graduate" "options": "Graduate\nPost Graduate\nUnder Graduate"
}, },
{ {
"oldfieldtype": "Int",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "year_of_passing",
"fieldtype": "Int",
"label": "Year of Passing", "label": "Year of Passing",
"oldfieldname": "year_of_passing", "oldfieldname": "year_of_passing",
"fieldname": "year_of_passing", "oldfieldtype": "Int"
"fieldtype": "Int"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "class_per",
"fieldtype": "Data",
"label": "Class / Percentage", "label": "Class / Percentage",
"oldfieldname": "class_per", "oldfieldname": "class_per",
"fieldname": "class_per", "oldfieldtype": "Data"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Text",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "maj_opt_subj",
"fieldtype": "Text",
"label": "Major/Optional Subjects", "label": "Major/Optional Subjects",
"oldfieldname": "maj_opt_subj", "oldfieldname": "maj_opt_subj",
"fieldname": "maj_opt_subj", "oldfieldtype": "Text"
"fieldtype": "Text"
} }
] ]

View File

@ -1,83 +1,82 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:35:57", "creation": "2012-03-27 14:35:57",
"docstatus": 0,
"modified": "2012-03-27 14:35:57",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:35:57" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "HR",
"doctype": "DocType", "doctype": "DocType",
"version": 6, "istable": 1,
"show_in_menu": 0 "module": "HR",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 6
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Employee Internal Work History", "parent": "Employee Internal Work History",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"name": "Employee Internal Work History", "doctype": "DocType",
"doctype": "DocType" "name": "Employee Internal Work History"
}, },
{ {
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"label": "Branch",
"oldfieldname": "branch",
"fieldname": "branch", "fieldname": "branch",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Branch",
"oldfieldname": "branch",
"oldfieldtype": "Select",
"options": "link:Branch" "options": "link:Branch"
}, },
{ {
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"label": "Department",
"oldfieldname": "department",
"fieldname": "department", "fieldname": "department",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Department",
"oldfieldname": "department",
"oldfieldtype": "Select",
"options": "link:Department" "options": "link:Department"
}, },
{ {
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"label": "Designation",
"oldfieldname": "designation",
"fieldname": "designation", "fieldname": "designation",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Designation",
"oldfieldname": "designation",
"oldfieldtype": "Select",
"options": "link:Designation" "options": "link:Designation"
}, },
{ {
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"label": "Grade",
"oldfieldname": "grade",
"fieldname": "grade", "fieldname": "grade",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Grade",
"oldfieldname": "grade",
"oldfieldtype": "Select",
"options": "link:Grade" "options": "link:Grade"
}, },
{ {
"oldfieldtype": "Date",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "from_date",
"fieldtype": "Date",
"label": "From Date", "label": "From Date",
"oldfieldname": "from_date", "oldfieldname": "from_date",
"fieldname": "from_date", "oldfieldtype": "Date"
"fieldtype": "Date"
}, },
{ {
"oldfieldtype": "Date",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "to_date",
"fieldtype": "Date",
"label": "To Date", "label": "To Date",
"oldfieldname": "to_date", "oldfieldname": "to_date",
"fieldname": "to_date", "oldfieldtype": "Date"
"fieldtype": "Date"
} }
] ]

View File

@ -1,76 +1,74 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:35:59", "creation": "2012-03-27 14:35:59",
"docstatus": 0,
"modified": "2012-03-27 14:35:59",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:35:59" "owner": "Administrator"
}, },
{ {
"section_style": "Simple", "doctype": "DocType",
"istable": 1, "istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "HR", "module": "HR",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0, "show_in_menu": 0,
"version": 5, "version": 5
"server_code_error": " ",
"doctype": "DocType"
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Employee Training", "parent": "Employee Training",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"name": "Employee Training", "doctype": "DocType",
"doctype": "DocType" "name": "Employee Training"
}, },
{ {
"oldfieldtype": "Small Text",
"doctype": "DocField", "doctype": "DocField",
"label": "Institute / Conducted By",
"oldfieldname": "institute",
"fieldname": "institute", "fieldname": "institute",
"fieldtype": "Small Text", "fieldtype": "Small Text",
"label": "Institute / Conducted By",
"oldfieldname": "institute",
"oldfieldtype": "Small Text",
"reqd": 1 "reqd": 1
}, },
{ {
"oldfieldtype": "Small Text",
"doctype": "DocField", "doctype": "DocField",
"label": "Program / Seminar Title",
"oldfieldname": "nature_of_training",
"fieldname": "nature_of_training", "fieldname": "nature_of_training",
"fieldtype": "Small Text", "fieldtype": "Small Text",
"label": "Program / Seminar Title",
"oldfieldname": "nature_of_training",
"oldfieldtype": "Small Text",
"reqd": 1 "reqd": 1
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"label": "Duration",
"oldfieldname": "duration",
"fieldname": "duration", "fieldname": "duration",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Duration",
"oldfieldname": "duration",
"oldfieldtype": "Data",
"reqd": 0 "reqd": 0
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"label": "Location",
"oldfieldname": "loc",
"fieldname": "loc", "fieldname": "loc",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Location",
"oldfieldname": "loc",
"oldfieldtype": "Data",
"reqd": 0 "reqd": 0
}, },
{ {
"oldfieldtype": "Small Text",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "certificate",
"fieldtype": "Small Text",
"label": "Certificate", "label": "Certificate",
"oldfieldname": "certificate", "oldfieldname": "certificate",
"fieldname": "certificate", "oldfieldtype": "Small Text"
"fieldtype": "Small Text"
} }
] ]

View File

@ -1,76 +1,74 @@
[ [
{ {
"owner": "harshada@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:35:55", "creation": "2012-03-27 14:35:55",
"docstatus": 0,
"modified": "2012-03-27 14:35:55",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:35:55" "owner": "harshada@webnotestech.com"
}, },
{ {
"section_style": "Simple",
"name": "__common__",
"autoname": "field:expense_type", "autoname": "field:expense_type",
"colour": "White:FFF",
"module": "HR",
"server_code_error": " ",
"version": 5,
"doctype": "DocType", "doctype": "DocType",
"document_type": "Master" "document_type": "Master",
"module": "HR",
"name": "__common__",
"section_style": "Simple",
"version": 5
}, },
{ {
"name": "__common__",
"parent": "Expense Claim Type",
"doctype": "DocField", "doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__", "name": "__common__",
"parent": "Expense Claim Type", "parent": "Expense Claim Type",
"read": 1, "parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
},
{
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"write": 1, "name": "__common__",
"report": 1, "parent": "Expense Claim Type",
"parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"parentfield": "permissions" "read": 1,
"report": 1,
"write": 1
}, },
{ {
"name": "Expense Claim Type", "doctype": "DocType",
"doctype": "DocType" "name": "Expense Claim Type"
}, },
{ {
"role": "System Manager", "doctype": "DocPerm",
"doctype": "DocPerm" "role": "System Manager"
}, },
{ {
"role": "HR Manager", "doctype": "DocPerm",
"doctype": "DocPerm" "role": "HR Manager"
}, },
{ {
"role": "System Manager", "doctype": "DocPerm",
"doctype": "DocPerm" "role": "System Manager"
}, },
{ {
"search_index": 0,
"doctype": "DocField", "doctype": "DocField",
"label": "Expense Claim Type",
"oldfieldname": "expense_type",
"fieldname": "expense_type", "fieldname": "expense_type",
"fieldtype": "Data", "fieldtype": "Data",
"in_filter": 0,
"label": "Expense Claim Type",
"oldfieldname": "expense_type",
"oldfieldtype": "Data", "oldfieldtype": "Data",
"reqd": 1, "reqd": 1,
"in_filter": 0 "search_index": 0
}, },
{ {
"oldfieldtype": "Small Text",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "description",
"fieldtype": "Small Text",
"label": "Description", "label": "Description",
"oldfieldname": "description", "oldfieldname": "description",
"width": "300px", "oldfieldtype": "Small Text",
"fieldname": "description", "width": "300px"
"fieldtype": "Small Text"
} }
] ]

View File

@ -1,47 +1,45 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:35:57", "creation": "2012-03-27 14:35:57",
"docstatus": 0,
"modified": "2012-03-27 14:35:57",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:35:57" "owner": "Administrator"
}, },
{ {
"section_style": "Simple", "doctype": "DocType",
"istable": 1, "istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "HR", "module": "HR",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0, "show_in_menu": 0,
"version": 2, "version": 2
"server_code_error": " ",
"doctype": "DocType"
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Holiday", "parent": "Holiday",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"name": "Holiday", "doctype": "DocType",
"doctype": "DocType" "name": "Holiday"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "Description",
"width": "300px",
"fieldname": "description", "fieldname": "description",
"fieldtype": "Small Text" "fieldtype": "Small Text",
"label": "Description",
"width": "300px"
}, },
{ {
"oldfieldtype": "Date",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "holiday_date",
"fieldtype": "Date",
"label": "Date", "label": "Date",
"oldfieldname": "holiday_date", "oldfieldname": "holiday_date",
"fieldname": "holiday_date", "oldfieldtype": "Date"
"fieldtype": "Date"
} }
] ]

View File

@ -1,202 +1,194 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:35:59", "creation": "2012-03-27 14:35:59",
"docstatus": 0,
"modified": "2012-03-27 14:35:59",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:35:59" "owner": "Administrator"
}, },
{ {
"section_style": "Simple", "_last_update": "1314253977",
"allow_copy": 1,
"allow_email": 1,
"allow_print": 1, "allow_print": 1,
"module": "HR",
"doctype": "DocType", "doctype": "DocType",
"document_type": "Other", "document_type": "Other",
"allow_email": 1,
"issingle": 1, "issingle": 1,
"module": "HR",
"name": "__common__", "name": "__common__",
"colour": "White:FFF", "section_style": "Simple",
"_last_update": "1314253977",
"show_in_menu": 1, "show_in_menu": 1,
"version": 30, "version": 30
"allow_copy": 1
}, },
{ {
"name": "__common__",
"parent": "Salary Manager",
"doctype": "DocField", "doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__", "name": "__common__",
"parent": "Salary Manager", "parent": "Salary Manager",
"read": 1, "parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
},
{
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"write": 1, "name": "__common__",
"parent": "Salary Manager",
"parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"parentfield": "permissions" "read": 1,
"write": 1
}, },
{ {
"name": "Salary Manager", "doctype": "DocType",
"doctype": "DocType" "name": "Salary Manager"
}, },
{ {
"role": "System Manager", "doctype": "DocPerm",
"doctype": "DocPerm" "role": "System Manager"
}, },
{ {
"role": "HR User", "doctype": "DocPerm",
"doctype": "DocPerm" "role": "HR User"
}, },
{ {
"role": "HR Manager", "doctype": "DocPerm",
"doctype": "DocPerm" "role": "HR Manager"
}, },
{ {
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Document Description",
"fieldname": "document_description", "fieldname": "document_description",
"fieldtype": "HTML", "fieldtype": "HTML",
"label": "Document Description",
"options": "<div class=\"field_description\">You can generate multiple salary slips based on the selected criteria, submit and mail those to the employee directly from here</div>" "options": "<div class=\"field_description\">You can generate multiple salary slips based on the selected criteria, submit and mail those to the employee directly from here</div>"
}, },
{ {
"doctype": "DocField",
"fieldname": "section_break0", "fieldname": "section_break0",
"fieldtype": "Section Break", "fieldtype": "Section Break"
"doctype": "DocField"
}, },
{ {
"width": "50%", "doctype": "DocField",
"fieldname": "column_break0", "fieldname": "column_break0",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"doctype": "DocField" "width": "50%"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "Company",
"fieldname": "company", "fieldname": "company",
"fieldtype": "Select", "fieldtype": "Select",
"reqd": 1, "label": "Company",
"options": "link:Company" "options": "link:Company",
"reqd": 1
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "Branch",
"fieldname": "branch", "fieldname": "branch",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Branch",
"options": "Branch" "options": "Branch"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "Department",
"fieldname": "department", "fieldname": "department",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Department",
"options": "Department" "options": "Department"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "Designation",
"fieldname": "designation", "fieldname": "designation",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Designation",
"options": "Designation" "options": "Designation"
}, },
{ {
"width": "50%", "doctype": "DocField",
"fieldname": "column_break1", "fieldname": "column_break1",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"doctype": "DocField" "width": "50%"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "Grade",
"fieldname": "grade", "fieldname": "grade",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Grade",
"options": "link:Grade" "options": "link:Grade"
}, },
{ {
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Fiscal Year",
"fieldname": "fiscal_year", "fieldname": "fiscal_year",
"fieldtype": "Select", "fieldtype": "Select",
"reqd": 1, "label": "Fiscal Year",
"options": "link:Fiscal Year" "options": "link:Fiscal Year",
"reqd": 1
}, },
{ {
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Month",
"fieldname": "month", "fieldname": "month",
"fieldtype": "Select", "fieldtype": "Select",
"reqd": 1, "label": "Month",
"options": "\n01\n02\n03\n04\n05\n06\n07\n08\n09\n10\n11\n12" "options": "\n01\n02\n03\n04\n05\n06\n07\n08\n09\n10\n11\n12",
"reqd": 1
}, },
{ {
"description": "Check if you want to send salary slip in mail to each employee while submitting salary slip", "description": "Check if you want to send salary slip in mail to each employee while submitting salary slip",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Send Email",
"fieldname": "send_email", "fieldname": "send_email",
"fieldtype": "Check" "fieldtype": "Check",
"label": "Send Email"
}, },
{ {
"doctype": "DocField",
"fieldname": "section_break1", "fieldname": "section_break1",
"fieldtype": "Section Break", "fieldtype": "Section Break"
"doctype": "DocField"
}, },
{ {
"width": "50%", "doctype": "DocField",
"fieldname": "column_break2", "fieldname": "column_break2",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"doctype": "DocField" "width": "50%"
}, },
{ {
"description": "Creates salary slip for above mentioned criteria.", "description": "Creates salary slip for above mentioned criteria.",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Create Salary Slip",
"trigger": "Client",
"fieldname": "create_salary_slip", "fieldname": "create_salary_slip",
"fieldtype": "Button" "fieldtype": "Button",
"label": "Create Salary Slip",
"trigger": "Client"
}, },
{ {
"width": "25%", "doctype": "DocField",
"fieldname": "column_break3", "fieldname": "column_break3",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"doctype": "DocField" "width": "25%"
}, },
{ {
"description": "Submit all salary slips for the above selected criteria", "description": "Submit all salary slips for the above selected criteria",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Submit Salary Slip",
"trigger": "Client",
"fieldname": "submit_salary_slip", "fieldname": "submit_salary_slip",
"fieldtype": "Button" "fieldtype": "Button",
"label": "Submit Salary Slip",
"trigger": "Client"
}, },
{ {
"width": "25%", "doctype": "DocField",
"fieldname": "column_break4", "fieldname": "column_break4",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"doctype": "DocField" "width": "25%"
}, },
{ {
"description": "Create Bank Voucher for the total salary paid for the above selected criteria", "description": "Create Bank Voucher for the total salary paid for the above selected criteria",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Make Bank Voucher",
"trigger": "Client",
"fieldname": "make_bank_voucher", "fieldname": "make_bank_voucher",
"fieldtype": "Button" "fieldtype": "Button",
"label": "Make Bank Voucher",
"trigger": "Client"
}, },
{ {
"doctype": "DocField",
"fieldname": "section_break2", "fieldname": "section_break2",
"fieldtype": "Section Break", "fieldtype": "Section Break"
"doctype": "DocField"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",

View File

@ -204,5 +204,6 @@ patch_list = [
"patches.march_2013.update_po_prevdoc_doctype", "patches.march_2013.update_po_prevdoc_doctype",
"patches.february_2013.p09_timesheets", "patches.february_2013.p09_timesheets",
"execute:(not webnotes.conn.exists('UOM', 'Hour')) and webnotes.doc({'uom_name': 'Hour', 'doctype': 'UOM', 'name': 'Hour'}).insert()", "execute:(not webnotes.conn.exists('UOM', 'Hour')) and webnotes.doc({'uom_name': 'Hour', 'doctype': 'UOM', 'name': 'Hour'}).insert()",
"patches.march_2013.p01_c_form" "patches.march_2013.p01_c_form",
"execute:webnotes.conn.sql('update tabDocPerm set `submit`=1, `cancel`=1, `amend`=1 where parent=\"Time Log\"')"
] ]

View File

@ -1,60 +1,56 @@
[ [
{ {
"owner": "Administrator", "creation": "2013-03-05 12:53:23",
"docstatus": 0, "docstatus": 0,
"creation": "2012-07-03 13:30:51", "modified": "2013-03-05 12:54:22",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-11-16 12:14:21" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"module": "Projects",
"server_code_error": " ",
"in_dialog": 1,
"document_type": "Master",
"autoname": "field:activity_type", "autoname": "field:activity_type",
"name": "__common__",
"colour": "White:FFF",
"doctype": "DocType", "doctype": "DocType",
"version": 1 "document_type": "Master",
"in_dialog": 1,
"module": "Projects",
"name": "__common__"
}, },
{ {
"parent": "Activity Type",
"name": "__common__",
"doctype": "DocField", "doctype": "DocField",
"reqd": 1,
"parenttype": "DocType",
"fieldname": "activity_type", "fieldname": "activity_type",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Activity Type", "label": "Activity Type",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__", "name": "__common__",
"parent": "Activity Type", "parent": "Activity Type",
"read": 1, "parentfield": "fields",
"create": 1,
"doctype": "DocPerm",
"write": 1,
"parenttype": "DocType", "parenttype": "DocType",
"report": 1,
"permlevel": 0, "permlevel": 0,
"parentfield": "permissions" "reqd": 1
}, },
{ {
"name": "Activity Type", "create": 1,
"doctype": "DocType" "doctype": "DocPerm",
"name": "__common__",
"parent": "Activity Type",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
"report": 1,
"write": 1
},
{
"doctype": "DocType",
"name": "Activity Type"
}, },
{ {
"doctype": "DocField" "doctype": "DocField"
}, },
{ {
"role": "System Manager", "doctype": "DocPerm",
"doctype": "DocPerm" "role": "System Manager"
}, },
{ {
"role": "Projects User", "doctype": "DocPerm",
"doctype": "DocPerm" "role": "Projects User"
} }
] ]

View File

@ -1,58 +1,56 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:06", "creation": "2012-03-27 14:36:06",
"docstatus": 0,
"modified": "2012-03-27 14:36:06",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:06" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Projects",
"doctype": "DocType", "doctype": "DocType",
"version": 4, "istable": 1,
"server_code_error": " " "module": "Projects",
"name": "__common__",
"section_style": "Simple",
"version": 4
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Project Milestone", "parent": "Project Milestone",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"name": "Project Milestone", "doctype": "DocType",
"doctype": "DocType" "name": "Project Milestone"
}, },
{ {
"oldfieldtype": "Date",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "milestone_date",
"fieldtype": "Date",
"label": "Milestone Date", "label": "Milestone Date",
"oldfieldname": "milestone_date", "oldfieldname": "milestone_date",
"fieldname": "milestone_date", "oldfieldtype": "Date"
"fieldtype": "Date"
}, },
{ {
"oldfieldtype": "Text",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "milestone",
"fieldtype": "Text",
"label": "Milestone", "label": "Milestone",
"oldfieldname": "milestone", "oldfieldname": "milestone",
"width": "300px", "oldfieldtype": "Text",
"fieldname": "milestone", "width": "300px"
"fieldtype": "Text"
}, },
{ {
"no_copy": 1,
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"label": "Status",
"oldfieldname": "status",
"fieldname": "status", "fieldname": "status",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Status",
"no_copy": 1,
"oldfieldname": "status",
"oldfieldtype": "Select",
"options": "Pending\nCompleted" "options": "Pending\nCompleted"
} }
] ]

View File

@ -1,8 +1,8 @@
[ [
{ {
"creation": "2013-03-04 02:39:45", "creation": "2013-03-05 10:52:02",
"docstatus": 0, "docstatus": 0,
"modified": "2013-03-04 02:48:12", "modified": "2013-03-05 10:54:07",
"modified_by": "Administrator", "modified_by": "Administrator",
"owner": "Administrator" "owner": "Administrator"
}, },
@ -24,6 +24,8 @@
"parenttype": "DocType" "parenttype": "DocType"
}, },
{ {
"amend": 1,
"cancel": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__", "name": "__common__",
"parent": "Time Log", "parent": "Time Log",
@ -31,6 +33,8 @@
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"read": 1, "read": 1,
"report": 1,
"submit": 1,
"write": 1 "write": 1
}, },
{ {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1,65 +1,63 @@
[ [
{ {
"owner": "harshada@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:36:09", "creation": "2012-03-27 14:36:09",
"docstatus": 0,
"modified": "2012-03-27 14:36:09",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:09" "owner": "harshada@webnotestech.com"
}, },
{ {
"section_style": "Simple",
"name": "__common__",
"autoname": "field:industry", "autoname": "field:industry",
"colour": "White:FFF",
"module": "Selling",
"server_code_error": " ",
"version": 4,
"doctype": "DocType", "doctype": "DocType",
"document_type": "Master" "document_type": "Master",
"module": "Selling",
"name": "__common__",
"section_style": "Simple",
"version": 4
}, },
{ {
"parent": "Industry Type",
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"oldfieldname": "industry",
"reqd": 1,
"name": "__common__",
"label": "Industry",
"parenttype": "DocType",
"fieldname": "industry", "fieldname": "industry",
"fieldtype": "Data", "fieldtype": "Data",
"permlevel": 0, "label": "Industry",
"parentfield": "fields"
},
{
"name": "__common__", "name": "__common__",
"oldfieldname": "industry",
"oldfieldtype": "Data",
"parent": "Industry Type", "parent": "Industry Type",
"read": 1, "parentfield": "fields",
"doctype": "DocPerm",
"report": 1,
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"parentfield": "permissions" "reqd": 1
}, },
{ {
"name": "Industry Type", "doctype": "DocPerm",
"doctype": "DocType" "name": "__common__",
"parent": "Industry Type",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
"report": 1
},
{
"doctype": "DocType",
"name": "Industry Type"
}, },
{ {
"write": 1,
"create": 1, "create": 1,
"doctype": "DocPerm",
"role": "Sales Manager", "role": "Sales Manager",
"doctype": "DocPerm" "write": 1
}, },
{ {
"role": "Sales User", "doctype": "DocPerm",
"doctype": "DocPerm" "role": "Sales User"
}, },
{ {
"write": 1,
"create": 1, "create": 1,
"doctype": "DocPerm",
"role": "Sales Master Manager", "role": "Sales Master Manager",
"doctype": "DocPerm" "write": 1
}, },
{ {
"doctype": "DocField" "doctype": "DocField"

View File

@ -1,24 +1,22 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:14", "creation": "2012-03-27 14:36:14",
"docstatus": 0,
"modified": "2012-03-27 14:36:14",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:14" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"name": "__common__",
"colour": "White:FFF",
"module": "Selling",
"show_in_menu": 0,
"version": 290,
"server_code_error": " ",
"doctype": "DocType", "doctype": "DocType",
"issingle": 1 "issingle": 1,
"module": "Selling",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 290
}, },
{ {
"name": "Sales Common", "doctype": "DocType",
"doctype": "DocType" "name": "Sales Common"
} }
] ]

View File

@ -1,23 +1,21 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:18", "creation": "2012-03-27 14:36:18",
"docstatus": 0,
"modified": "2012-03-27 14:36:18",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:18" "owner": "Administrator"
}, },
{ {
"section_style": "Tabbed",
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"doctype": "DocType", "doctype": "DocType",
"version": 216, "issingle": 1,
"server_code_error": " ", "module": "Setup",
"issingle": 1 "name": "__common__",
"section_style": "Tabbed",
"version": 216
}, },
{ {
"name": "Authorization Control", "doctype": "DocType",
"doctype": "DocType" "name": "Authorization Control"
} }
] ]

View File

@ -1,65 +1,63 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:19", "creation": "2012-03-27 14:36:19",
"docstatus": 0,
"modified": "2012-03-27 14:36:19",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:19" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"in_create": 1,
"module": "Setup",
"doctype": "DocType", "doctype": "DocType",
"server_code_error": " ", "in_create": 1,
"issingle": 1, "issingle": 1,
"read_only": 1, "module": "Setup",
"name": "__common__", "name": "__common__",
"colour": "White:FFF", "read_only": 1,
"section_style": "Simple",
"show_in_menu": 0, "show_in_menu": 0,
"version": 25 "version": 25
}, },
{ {
"doctype": "DocField",
"fieldtype": "Text",
"name": "__common__", "name": "__common__",
"parent": "Contact Control", "parent": "Contact Control",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"fieldtype": "Text", "permlevel": 0
"permlevel": 0,
"parentfield": "fields"
}, },
{ {
"parent": "Contact Control",
"read": 1,
"name": "__common__",
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"write": 1, "name": "__common__",
"parent": "Contact Control",
"parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"role": "System Manager",
"permlevel": 0, "permlevel": 0,
"parentfield": "permissions" "read": 1,
"role": "System Manager",
"write": 1
}, },
{ {
"name": "Contact Control", "doctype": "DocType",
"doctype": "DocType" "name": "Contact Control"
}, },
{ {
"doctype": "DocPerm" "doctype": "DocPerm"
}, },
{ {
"fieldname": "header",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "header",
"label": "Header" "label": "Header"
}, },
{ {
"fieldname": "customer_intro",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "customer_intro",
"label": "Customer Intro" "label": "Customer Intro"
}, },
{ {
"fieldname": "supplier_intro",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "supplier_intro",
"label": "Supplier Intro" "label": "Supplier Intro"
} }
] ]

View File

@ -1,50 +1,48 @@
[ [
{ {
"owner": "harshada@webnotestech.com",
"docstatus": 0,
"creation": "2012-07-03 13:30:55", "creation": "2012-07-03 13:30:55",
"docstatus": 0,
"modified": "2012-07-12 16:16:27",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-07-12 16:16:27" "owner": "harshada@webnotestech.com"
}, },
{ {
"section_style": "Simple", "_last_update": "1325570647",
"description": "Email Settings for Outgoing and Incoming Emails.", "allow_copy": 1,
"allow_email": 1,
"allow_print": 1, "allow_print": 1,
"module": "Setup", "description": "Email Settings for Outgoing and Incoming Emails.",
"doctype": "DocType", "doctype": "DocType",
"in_create": 1, "in_create": 1,
"allow_email": 1,
"issingle": 1, "issingle": 1,
"module": "Setup",
"name": "__common__", "name": "__common__",
"colour": "White:FFF", "section_style": "Simple",
"_last_update": "1325570647", "version": 1
"server_code_error": " ",
"version": 1,
"allow_copy": 1
}, },
{ {
"name": "__common__",
"parent": "Email Settings",
"doctype": "DocField", "doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"name": "__common__", "name": "__common__",
"parent": "Email Settings", "parent": "Email Settings",
"read": 1, "parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
},
{
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"write": 1, "name": "__common__",
"parent": "Email Settings",
"parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"role": "System Manager",
"permlevel": 0, "permlevel": 0,
"parentfield": "permissions" "read": 1,
"role": "System Manager",
"write": 1
}, },
{ {
"name": "Email Settings", "doctype": "DocType",
"doctype": "DocType" "name": "Email Settings"
}, },
{ {
"doctype": "DocPerm" "doctype": "DocPerm"
@ -54,19 +52,17 @@
}, },
{ {
"description": "Set your outgoing mail SMTP settings here. All system generated notifications, emails will go from this mail server. If you are not sure, leave this blank to use ERPNext servers (emails will still be sent from your email id) or contact your email provider.", "description": "Set your outgoing mail SMTP settings here. All system generated notifications, emails will go from this mail server. If you are not sure, leave this blank to use ERPNext servers (emails will still be sent from your email id) or contact your email provider.",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Outgoing Mails",
"fieldname": "outgoing_mails", "fieldname": "outgoing_mails",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"label": "Outgoing Mails"
}, },
{ {
"description": "SMTP Server (e.g. smtp.gmail.com)", "description": "SMTP Server (e.g. smtp.gmail.com)",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Outgoing Mail Server",
"fieldname": "outgoing_mail_server", "fieldname": "outgoing_mail_server",
"fieldtype": "Data" "fieldtype": "Data",
"label": "Outgoing Mail Server"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
@ -76,24 +72,22 @@
}, },
{ {
"description": "If non standard port (e.g. 587)", "description": "If non standard port (e.g. 587)",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Mail Port",
"fieldname": "mail_port", "fieldname": "mail_port",
"fieldtype": "Int" "fieldtype": "Int",
"label": "Mail Port"
}, },
{ {
"doctype": "DocField",
"fieldname": "cb0", "fieldname": "cb0",
"fieldtype": "Column Break", "fieldtype": "Column Break"
"doctype": "DocField"
}, },
{ {
"description": "Set Login and Password if authentication is required.", "description": "Set Login and Password if authentication is required.",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Login Id",
"fieldname": "mail_login", "fieldname": "mail_login",
"fieldtype": "Data" "fieldtype": "Data",
"label": "Login Id"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
@ -103,50 +97,45 @@
}, },
{ {
"description": "System generated mails will be sent from this email id.", "description": "System generated mails will be sent from this email id.",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Auto Email Id",
"fieldname": "auto_email_id", "fieldname": "auto_email_id",
"fieldtype": "Data" "fieldtype": "Data",
"label": "Auto Email Id"
}, },
{ {
"description": "Set the POP3 email settings to pull emails directly from a mailbox and create Support Tickets", "description": "Set the POP3 email settings to pull emails directly from a mailbox and create Support Tickets",
"doctype": "DocField", "doctype": "DocField",
"label": "Support Ticket Mail Settings",
"fieldname": "support_ticket_mail_settings", "fieldname": "support_ticket_mail_settings",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"label": "Support Ticket Mail Settings"
}, },
{ {
"description": "To automatically create Support Tickets from your incoming mail, set your POP3 settings here. You must ideally create a separate email id for the erp system so that all emails will be synced into the system from that mail id. If you are not sure, please contact your EMail Provider.", "description": "To automatically create Support Tickets from your incoming mail, set your POP3 settings here. You must ideally create a separate email id for the erp system so that all emails will be synced into the system from that mail id. If you are not sure, please contact your EMail Provider.",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Incoming Mail Setting",
"fieldname": "section_break0", "fieldname": "section_break0",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"label": "Incoming Mail Setting"
}, },
{ {
"description": "Check this to pull emails from your mailbox", "description": "Check this to pull emails from your mailbox",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Sync Support Mails",
"fieldname": "sync_support_mails", "fieldname": "sync_support_mails",
"fieldtype": "Check" "fieldtype": "Check",
"label": "Sync Support Mails"
}, },
{ {
"description": "Your support email id - must be a valid email - this is where your emails will come!", "description": "Your support email id - must be a valid email - this is where your emails will come!",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Support Email",
"fieldname": "support_email", "fieldname": "support_email",
"fieldtype": "Data" "fieldtype": "Data",
"label": "Support Email"
}, },
{ {
"description": "POP3 mail server (e.g. pop.gmail.com)", "description": "POP3 mail server (e.g. pop.gmail.com)",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "POP3 Mail Server",
"fieldname": "support_host", "fieldname": "support_host",
"fieldtype": "Data" "fieldtype": "Data",
"label": "POP3 Mail Server"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
@ -167,32 +156,29 @@
"label": "Support Password" "label": "Support Password"
}, },
{ {
"doctype": "DocField",
"fieldname": "cb1", "fieldname": "cb1",
"fieldtype": "Column Break", "fieldtype": "Column Break"
"doctype": "DocField"
}, },
{ {
"description": "Signature to be appended at the end of every email", "description": "Signature to be appended at the end of every email",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Signature",
"fieldname": "support_signature", "fieldname": "support_signature",
"fieldtype": "Text" "fieldtype": "Text",
"label": "Signature"
}, },
{ {
"default": "1", "default": "1",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Send Autoreply",
"fieldname": "send_autoreply", "fieldname": "send_autoreply",
"fieldtype": "Check" "fieldtype": "Check",
"label": "Send Autoreply"
}, },
{ {
"description": "Autoreply when a new mail is received", "description": "Autoreply when a new mail is received",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Custom Autoreply Message",
"fieldname": "support_autoreply", "fieldname": "support_autoreply",
"fieldtype": "Text" "fieldtype": "Text",
"label": "Custom Autoreply Message"
} }
] ]

View File

@ -1,65 +1,63 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:21", "creation": "2012-03-27 14:36:21",
"docstatus": 0,
"modified": "2012-03-27 14:36:21",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:21" "owner": "Administrator"
}, },
{ {
"section_style": "Simple", "autoname": "__NSO.#####",
"doctype": "DocType",
"in_create": 1, "in_create": 1,
"module": "Setup", "module": "Setup",
"doctype": "DocType",
"read_only": 0,
"autoname": "__NSO.#####",
"name": "__common__", "name": "__common__",
"colour": "White:FFF", "read_only": 0,
"server_code_error": " ", "section_style": "Simple",
"show_in_menu": 0, "show_in_menu": 0,
"version": 5 "version": 5
}, },
{ {
"name": "__common__",
"parent": "Naming Series Options",
"doctype": "DocField", "doctype": "DocField",
"parenttype": "DocType",
"permlevel": 0,
"parentfield": "fields"
},
{
"parent": "Naming Series Options",
"read": 1,
"name": "__common__", "name": "__common__",
"doctype": "DocPerm", "parent": "Naming Series Options",
"report": 1, "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"role": "System Manager", "permlevel": 0
"permlevel": 0,
"parentfield": "permissions"
}, },
{ {
"name": "Naming Series Options", "doctype": "DocPerm",
"doctype": "DocType" "name": "__common__",
"parent": "Naming Series Options",
"parentfield": "permissions",
"parenttype": "DocType",
"permlevel": 0,
"read": 1,
"report": 1,
"role": "System Manager"
},
{
"doctype": "DocType",
"name": "Naming Series Options"
}, },
{ {
"doctype": "DocPerm" "doctype": "DocPerm"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"label": "Doc Type",
"oldfieldname": "doc_type",
"fieldname": "doc_type", "fieldname": "doc_type",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Doc Type",
"oldfieldname": "doc_type",
"oldfieldtype": "Data",
"search_index": 1 "search_index": 1
}, },
{ {
"oldfieldtype": "Text",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "series_options",
"fieldtype": "Text",
"label": "Series Options", "label": "Series Options",
"oldfieldname": "series_options", "oldfieldname": "series_options",
"fieldname": "series_options", "oldfieldtype": "Text"
"fieldtype": "Text"
} }
] ]

View File

@ -1,23 +1,21 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:23", "creation": "2012-03-27 14:36:23",
"docstatus": 0,
"modified": "2012-03-27 14:36:23",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:23" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"doctype": "DocType", "doctype": "DocType",
"version": 159, "issingle": 1,
"server_code_error": " ", "module": "Setup",
"issingle": 1 "name": "__common__",
"section_style": "Simple",
"version": 159
}, },
{ {
"name": "Sales Browser Control", "doctype": "DocType",
"doctype": "DocType" "name": "Sales Browser Control"
} }
] ]

View File

@ -1,48 +1,47 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:25", "creation": "2012-03-27 14:36:25",
"docstatus": 0,
"modified": "2012-03-27 14:36:25",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:25" "owner": "Administrator"
}, },
{ {
"section_style": "Tray",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"doctype": "DocType", "doctype": "DocType",
"version": 3, "istable": 1,
"show_in_menu": 0 "module": "Setup",
"name": "__common__",
"section_style": "Tray",
"show_in_menu": 0,
"version": 3
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Series Detail", "parent": "Series Detail",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"name": "Series Detail", "doctype": "DocType",
"doctype": "DocType" "name": "Series Detail"
}, },
{ {
"oldfieldtype": "Read Only",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "series",
"fieldtype": "Read Only",
"label": "Series", "label": "Series",
"oldfieldname": "series", "oldfieldname": "series",
"fieldname": "series", "oldfieldtype": "Read Only"
"fieldtype": "Read Only"
}, },
{ {
"oldfieldtype": "Check",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "remove",
"fieldtype": "Check",
"label": "Remove", "label": "Remove",
"oldfieldname": "remove", "oldfieldname": "remove",
"trigger": "Client", "oldfieldtype": "Check",
"fieldname": "remove", "trigger": "Client"
"fieldtype": "Check"
} }
] ]

View File

@ -1,26 +1,24 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:25", "creation": "2012-03-27 14:36:25",
"docstatus": 0,
"modified": "2012-03-27 14:36:25",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:25" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"istable": 0,
"in_create": 1,
"module": "Setup",
"doctype": "DocType", "doctype": "DocType",
"in_create": 1,
"issingle": 1, "issingle": 1,
"read_only": 1, "istable": 0,
"module": "Setup",
"name": "__common__", "name": "__common__",
"colour": "White:FFF", "read_only": 1,
"server_code_error": " ", "section_style": "Simple",
"version": 73 "version": 73
}, },
{ {
"name": "Setup Control", "doctype": "DocType",
"doctype": "DocType" "name": "Setup Control"
} }
] ]

View File

@ -1,44 +1,43 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:25", "creation": "2012-03-27 14:36:25",
"docstatus": 0,
"modified": "2012-03-27 14:36:25",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:25" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"doctype": "DocType", "doctype": "DocType",
"version": 4, "istable": 1,
"show_in_menu": 0 "module": "Setup",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 4
}, },
{ {
"doctype": "DocField",
"fieldtype": "Data",
"name": "__common__", "name": "__common__",
"parent": "SMS Parameter", "parent": "SMS Parameter",
"width": "150px", "parentfield": "fields",
"doctype": "DocField",
"reqd": 1,
"parenttype": "DocType", "parenttype": "DocType",
"fieldtype": "Data",
"permlevel": 0, "permlevel": 0,
"parentfield": "fields" "reqd": 1,
"width": "150px"
}, },
{ {
"name": "SMS Parameter", "doctype": "DocType",
"doctype": "DocType" "name": "SMS Parameter"
}, },
{ {
"fieldname": "parameter",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "parameter",
"label": "Parameter" "label": "Parameter"
}, },
{ {
"fieldname": "value",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "value",
"label": "Value" "label": "Value"
} }
] ]

View File

@ -1,80 +1,78 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:25", "creation": "2012-03-27 14:36:25",
"docstatus": 0,
"modified": "2012-03-27 14:36:25",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:25" "owner": "Administrator"
}, },
{ {
"show_in_menu": 0, "autoname": "field:state_name",
"section_style": "Simple", "doctype": "DocType",
"document_type": "Master",
"in_create": 0, "in_create": 0,
"module": "Setup", "module": "Setup",
"autoname": "field:state_name",
"document_type": "Master",
"read_only": 0,
"name": "__common__", "name": "__common__",
"colour": "White:FFF", "read_only": 0,
"doctype": "DocType", "section_style": "Simple",
"server_code_error": " ", "show_in_menu": 0,
"version": 14 "version": 14
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "State", "parent": "State",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"reqd": 1,
"permlevel": 0, "permlevel": 0,
"parentfield": "fields" "reqd": 1
}, },
{ {
"name": "__common__",
"parent": "State",
"read": 1,
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"write": 1, "name": "__common__",
"report": 1, "parent": "State",
"parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"parentfield": "permissions" "read": 1,
"report": 1,
"write": 1
}, },
{ {
"name": "State", "doctype": "DocType",
"doctype": "DocType" "name": "State"
}, },
{ {
"role": "System Manager", "doctype": "DocPerm",
"doctype": "DocPerm" "role": "System Manager"
}, },
{ {
"amend": 0, "amend": 0,
"cancel": 0, "cancel": 0,
"role": "Sales Master Manager",
"doctype": "DocPerm", "doctype": "DocPerm",
"role": "Sales Master Manager",
"submit": 0 "submit": 0
}, },
{ {
"role": "Purchase Master Manager", "doctype": "DocPerm",
"doctype": "DocPerm" "role": "Purchase Master Manager"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "state_name",
"fieldtype": "Data",
"label": "State Name", "label": "State Name",
"oldfieldname": "state_name", "oldfieldname": "state_name",
"fieldname": "state_name", "oldfieldtype": "Data"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"label": "Country",
"oldfieldname": "country",
"fieldname": "country", "fieldname": "country",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Country",
"oldfieldname": "country",
"oldfieldtype": "Select",
"options": "link:Country" "options": "link:Country"
} }
] ]

View File

@ -1,48 +1,47 @@
[ [
{ {
"owner": "swarnalata@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:36:26", "creation": "2012-03-27 14:36:26",
"docstatus": 0,
"modified": "2012-03-27 14:36:26",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:26" "owner": "swarnalata@webnotestech.com"
}, },
{ {
"section_style": "Simple",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"doctype": "DocType", "doctype": "DocType",
"version": 5, "istable": 1,
"show_in_menu": 0 "module": "Setup",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 5
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Workflow Action Detail", "parent": "Workflow Action Detail",
"doctype": "DocField", "parentfield": "fields",
"width": "200px",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"parentfield": "fields" "width": "200px"
}, },
{ {
"name": "Workflow Action Detail", "doctype": "DocType",
"doctype": "DocType" "name": "Workflow Action Detail"
}, },
{ {
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "action_field",
"fieldtype": "Select",
"label": "Field", "label": "Field",
"oldfieldname": "action_field", "oldfieldname": "action_field",
"fieldname": "action_field", "oldfieldtype": "Select"
"fieldtype": "Select"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "action_value",
"fieldtype": "Data",
"label": "Value", "label": "Value",
"oldfieldname": "action_value", "oldfieldname": "action_value",
"fieldname": "action_value", "oldfieldtype": "Data"
"fieldtype": "Data"
} }
] ]

View File

@ -1,24 +1,22 @@
[ [
{ {
"owner": "swarnalata@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:36:26", "creation": "2012-03-27 14:36:26",
"docstatus": 0,
"modified": "2012-03-27 14:36:26",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:26" "owner": "swarnalata@webnotestech.com"
}, },
{ {
"section_style": "Simple",
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"show_in_menu": 0,
"version": 4,
"server_code_error": " ",
"doctype": "DocType", "doctype": "DocType",
"issingle": 1 "issingle": 1,
"module": "Setup",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 4
}, },
{ {
"name": "Workflow Engine", "doctype": "DocType",
"doctype": "DocType" "name": "Workflow Engine"
} }
] ]

View File

@ -1,205 +1,195 @@
[ [
{ {
"owner": "swarnalata@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:36:26", "creation": "2012-03-27 14:36:26",
"docstatus": 0,
"modified": "2012-03-27 14:36:26",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:26" "owner": "swarnalata@webnotestech.com"
}, },
{ {
"section_style": "Tray", "autoname": "field:rule_name",
"search_fields": "select_form,rule_status",
"module": "Setup",
"doctype": "DocType", "doctype": "DocType",
"document_type": "Master", "document_type": "Master",
"autoname": "field:rule_name", "module": "Setup",
"name": "__common__", "name": "__common__",
"colour": "White:FFF", "search_fields": "select_form,rule_status",
"server_code_error": " ", "section_style": "Tray",
"show_in_menu": 0, "show_in_menu": 0,
"version": 31 "version": 31
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Workflow Rule", "parent": "Workflow Rule",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"parent": "Workflow Rule",
"read": 1,
"report": 1,
"name": "__common__",
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"write": 1, "name": "__common__",
"parent": "Workflow Rule",
"parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"role": "System Manager",
"permlevel": 0, "permlevel": 0,
"parentfield": "permissions" "read": 1,
"report": 1,
"role": "System Manager",
"write": 1
}, },
{ {
"name": "Workflow Rule", "doctype": "DocType",
"doctype": "DocType" "name": "Workflow Rule"
}, },
{ {
"doctype": "DocPerm" "doctype": "DocPerm"
}, },
{ {
"oldfieldtype": "Section Break",
"doctype": "DocField", "doctype": "DocField",
"label": "Rule Definition",
"fieldname": "rule_definition", "fieldname": "rule_definition",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"label": "Rule Definition",
"oldfieldtype": "Section Break"
}, },
{ {
"oldfieldtype": "HTML",
"doctype": "DocField", "doctype": "DocField",
"label": "Intro HTML",
"fieldname": "intro_html", "fieldname": "intro_html",
"fieldtype": "HTML", "fieldtype": "HTML",
"label": "Intro HTML",
"oldfieldtype": "HTML",
"options": "<b>Select form for which you want to define rules,set priority & status.</b>" "options": "<b>Select form for which you want to define rules,set priority & status.</b>"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"label": "Rule Name",
"oldfieldname": "rule_name",
"fieldname": "rule_name", "fieldname": "rule_name",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Rule Name",
"oldfieldname": "rule_name",
"oldfieldtype": "Data",
"reqd": 1 "reqd": 1
}, },
{ {
"search_index": 0,
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Rule Status",
"oldfieldname": "rule_status",
"fieldname": "rule_status", "fieldname": "rule_status",
"fieldtype": "Select", "fieldtype": "Select",
"in_filter": 1,
"label": "Rule Status",
"oldfieldname": "rule_status",
"oldfieldtype": "Select", "oldfieldtype": "Select",
"reqd": 1,
"options": "\nActive\nInactive", "options": "\nActive\nInactive",
"in_filter": 1 "reqd": 1,
"search_index": 0
}, },
{ {
"oldfieldtype": "Link",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Select Form",
"oldfieldname": "select_form",
"trigger": "Client",
"fieldname": "select_form", "fieldname": "select_form",
"fieldtype": "Link", "fieldtype": "Link",
"search_index": 1, "in_filter": 1,
"reqd": 1, "label": "Select Form",
"oldfieldname": "select_form",
"oldfieldtype": "Link",
"options": "DocType", "options": "DocType",
"in_filter": 1 "reqd": 1,
"search_index": 1,
"trigger": "Client"
}, },
{ {
"oldfieldtype": "Int",
"doctype": "DocField", "doctype": "DocField",
"label": "Rule Priority",
"oldfieldname": "rule_priority",
"fieldname": "rule_priority", "fieldname": "rule_priority",
"fieldtype": "Int", "fieldtype": "Int",
"label": "Rule Priority",
"oldfieldname": "rule_priority",
"oldfieldtype": "Int",
"reqd": 0 "reqd": 0
}, },
{ {
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Define Rule",
"fieldname": "define_rule", "fieldname": "define_rule",
"fieldtype": "Section Break", "fieldtype": "Section Break",
"label": "Define Rule",
"oldfieldtype": "Section Break",
"options": "Simple" "options": "Simple"
}, },
{ {
"oldfieldtype": "Table",
"doctype": "DocField", "doctype": "DocField",
"label": "Workflow Rule Details",
"oldfieldname": "workflow_rule_details",
"width": "100px",
"fieldname": "workflow_rule_details", "fieldname": "workflow_rule_details",
"fieldtype": "Table", "fieldtype": "Table",
"options": "Workflow Rule Detail" "label": "Workflow Rule Details",
"oldfieldname": "workflow_rule_details",
"oldfieldtype": "Table",
"options": "Workflow Rule Detail",
"width": "100px"
}, },
{ {
"print_hide": 1,
"oldfieldtype": "Code",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Extra Condition",
"oldfieldname": "extra_condition",
"fieldname": "extra_condition", "fieldname": "extra_condition",
"fieldtype": "Code", "fieldtype": "Code",
"hidden": 1 "hidden": 1,
"label": "Extra Condition",
"oldfieldname": "extra_condition",
"oldfieldtype": "Code",
"print_hide": 1
}, },
{ {
"oldfieldtype": "Section Break",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Action Detail",
"fieldname": "action_detail", "fieldname": "action_detail",
"fieldtype": "Section Break" "fieldtype": "Section Break",
"label": "Action Detail",
"oldfieldtype": "Section Break"
}, },
{ {
"oldfieldtype": "HTML",
"doctype": "DocField", "doctype": "DocField",
"label": "Action html",
"fieldname": "action_html", "fieldname": "action_html",
"fieldtype": "HTML", "fieldtype": "HTML",
"label": "Action html",
"oldfieldtype": "HTML",
"options": "<b>Specify actions to be taken when conditions hold satisfied</b>" "options": "<b>Specify actions to be taken when conditions hold satisfied</b>"
}, },
{ {
"oldfieldtype": "Table",
"doctype": "DocField", "doctype": "DocField",
"label": "Workflow Action Details",
"oldfieldname": "workflow_action_details",
"fieldname": "workflow_action_details", "fieldname": "workflow_action_details",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Workflow Action Details",
"oldfieldname": "workflow_action_details",
"oldfieldtype": "Table",
"options": "Workflow Action Detail" "options": "Workflow Action Detail"
}, },
{ {
"print_hide": 1,
"no_copy": 1,
"oldfieldtype": "HTML",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Reject HTML",
"fieldname": "reject_html", "fieldname": "reject_html",
"fieldtype": "HTML", "fieldtype": "HTML",
"hidden": 1, "hidden": 1,
"label": "Reject HTML",
"no_copy": 1,
"oldfieldtype": "HTML",
"options": "<b>If any condition holds false the following message will be displayed . If you wish to stop rule engine when condition holds false then set 'Raise Exception' as 'Yes' otherwise keep this field blank or 'No'.</b>", "options": "<b>If any condition holds false the following message will be displayed . If you wish to stop rule engine when condition holds false then set 'Raise Exception' as 'Yes' otherwise keep this field blank or 'No'.</b>",
"print_hide": 1,
"report_hide": 1 "report_hide": 1
}, },
{ {
"print_hide": 1,
"no_copy": 1,
"oldfieldtype": "Text",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Enter message",
"oldfieldname": "message",
"fieldname": "message", "fieldname": "message",
"fieldtype": "Text", "fieldtype": "Text",
"hidden": 1, "hidden": 1,
"label": "Enter message",
"no_copy": 1,
"oldfieldname": "message",
"oldfieldtype": "Text",
"print_hide": 1,
"report_hide": 1 "report_hide": 1
}, },
{ {
"print_hide": 1,
"no_copy": 1,
"oldfieldtype": "Select",
"colour": "White:FFF",
"doctype": "DocField", "doctype": "DocField",
"label": "Raise Exception",
"oldfieldname": "raise_exception",
"fieldname": "raise_exception", "fieldname": "raise_exception",
"fieldtype": "Select", "fieldtype": "Select",
"hidden": 1, "hidden": 1,
"label": "Raise Exception",
"no_copy": 1,
"oldfieldname": "raise_exception",
"oldfieldtype": "Select",
"options": "\nYes\nNo", "options": "\nYes\nNo",
"print_hide": 1,
"report_hide": 1 "report_hide": 1
} }
] ]

View File

@ -1,85 +1,84 @@
[ [
{ {
"owner": "swarnalata@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:36:26", "creation": "2012-03-27 14:36:26",
"docstatus": 0,
"modified": "2012-03-27 14:36:26",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:26" "owner": "swarnalata@webnotestech.com"
}, },
{ {
"section_style": "Simple",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Setup",
"doctype": "DocType", "doctype": "DocType",
"version": 9, "istable": 1,
"show_in_menu": 0 "module": "Setup",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 9
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Workflow Rule Detail", "parent": "Workflow Rule Detail",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"name": "Workflow Rule Detail", "doctype": "DocType",
"doctype": "DocType" "name": "Workflow Rule Detail"
}, },
{ {
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"label": "Field",
"oldfieldname": "rule_field",
"width": "200px",
"fieldname": "rule_field", "fieldname": "rule_field",
"fieldtype": "Select", "fieldtype": "Select",
"options": "[]" "label": "Field",
"oldfieldname": "rule_field",
"oldfieldtype": "Select",
"options": "[]",
"width": "200px"
}, },
{ {
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"label": "Operator",
"oldfieldname": "operator",
"fieldname": "operator", "fieldname": "operator",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Operator",
"oldfieldname": "operator",
"oldfieldtype": "Select",
"options": "\nequal\nnot equal\ngreater than\ngreater than equal\nless than\nless than equal" "options": "\nequal\nnot equal\ngreater than\ngreater than equal\nless than\nless than equal"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "value",
"fieldtype": "Data",
"label": "Value", "label": "Value",
"oldfieldname": "value", "oldfieldname": "value",
"width": "100px", "oldfieldtype": "Data",
"fieldname": "value", "width": "100px"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "comparing_field",
"fieldtype": "Select",
"label": "Field from other forms", "label": "Field from other forms",
"oldfieldname": "comparing_field", "oldfieldname": "comparing_field",
"fieldname": "comparing_field", "oldfieldtype": "Select"
"fieldtype": "Select"
}, },
{ {
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "message",
"fieldtype": "Data",
"label": "Message when Cond. False", "label": "Message when Cond. False",
"oldfieldname": "message", "oldfieldname": "message",
"width": "200px", "oldfieldtype": "Data",
"fieldname": "message", "width": "200px"
"fieldtype": "Data"
}, },
{ {
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"label": "Raise Exception",
"oldfieldname": "exception",
"fieldname": "exception", "fieldname": "exception",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Raise Exception",
"oldfieldname": "exception",
"oldfieldtype": "Select",
"options": "\nYes\nNo" "options": "\nYes\nNo"
} }
] ]

View File

@ -162,7 +162,6 @@ def import_defaults():
# UOM # UOM
{'uom_name': 'Unit', 'doctype': 'UOM', 'name': 'Unit'}, {'uom_name': 'Unit', 'doctype': 'UOM', 'name': 'Unit'},
{'uom_name': 'Unit', 'doctype': 'UOM', 'name': 'Hour'},
{'uom_name': 'Box', 'doctype': 'UOM', 'name': 'Box'}, {'uom_name': 'Box', 'doctype': 'UOM', 'name': 'Box'},
{'uom_name': 'Ft', 'doctype': 'UOM', 'name': 'Ft'}, {'uom_name': 'Ft', 'doctype': 'UOM', 'name': 'Ft'},
{'uom_name': 'Kg', 'doctype': 'UOM', 'name': 'Kg'}, {'uom_name': 'Kg', 'doctype': 'UOM', 'name': 'Kg'},

View File

@ -1,58 +1,56 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:33", "creation": "2012-03-27 14:36:33",
"docstatus": 0,
"modified": "2012-03-27 14:36:33",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:33" "owner": "Administrator"
}, },
{ {
"section_style": "Tray",
"istable": 1,
"description": "For the convenience of customers, these codes can be used in print formats like Invoices and Delivery Notes",
"module": "Stock",
"server_code_error": " ",
"in_create": 1,
"read_only": 0,
"autoname": "ITEMCUST/.#####", "autoname": "ITEMCUST/.#####",
"name": "__common__", "description": "For the convenience of customers, these codes can be used in print formats like Invoices and Delivery Notes",
"colour": "White:FFF",
"doctype": "DocType", "doctype": "DocType",
"in_create": 1,
"istable": 1,
"module": "Stock",
"name": "__common__",
"read_only": 0,
"section_style": "Tray",
"show_in_menu": 0, "show_in_menu": 0,
"version": 7 "version": 7
}, },
{ {
"doctype": "DocField",
"in_filter": 1,
"name": "__common__", "name": "__common__",
"parent": "Item Customer Detail", "parent": "Item Customer Detail",
"search_index": 1,
"doctype": "DocField",
"reqd": 1,
"parenttype": "DocType",
"parentfield": "fields", "parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0, "permlevel": 0,
"in_filter": 1 "reqd": 1,
"search_index": 1
}, },
{ {
"name": "Item Customer Detail", "doctype": "DocType",
"doctype": "DocType" "name": "Item Customer Detail"
}, },
{ {
"oldfieldtype": "Select",
"doctype": "DocField", "doctype": "DocField",
"label": "Customer Name",
"oldfieldname": "price_list_name",
"width": "180px",
"fieldname": "customer_name", "fieldname": "customer_name",
"fieldtype": "Link", "fieldtype": "Link",
"options": "Customer" "label": "Customer Name",
"oldfieldname": "price_list_name",
"oldfieldtype": "Select",
"options": "Customer",
"width": "180px"
}, },
{ {
"oldfieldtype": "Currency",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "ref_code",
"fieldtype": "Data",
"label": "Ref Code", "label": "Ref Code",
"oldfieldname": "ref_rate", "oldfieldname": "ref_rate",
"width": "120px", "oldfieldtype": "Currency",
"fieldname": "ref_code", "width": "120px"
"fieldtype": "Data"
} }
] ]

View File

@ -1,51 +1,49 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:33", "creation": "2012-03-27 14:36:33",
"docstatus": 0,
"modified": "2012-03-27 14:36:33",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:33" "owner": "Administrator"
}, },
{ {
"section_style": "Simple", "autoname": "IISD/.#####",
"doctype": "DocType",
"istable": 1, "istable": 1,
"module": "Stock", "module": "Stock",
"server_code_error": " ",
"doctype": "DocType",
"autoname": "IISD/.#####",
"name": "__common__", "name": "__common__",
"colour": "White:FFF", "section_style": "Simple",
"show_in_menu": 0, "show_in_menu": 0,
"version": 1 "version": 1
}, },
{ {
"name": "__common__",
"parent": "Item Quality Inspection Parameter",
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"parenttype": "DocType",
"fieldtype": "Data", "fieldtype": "Data",
"permlevel": 0, "name": "__common__",
"parentfield": "fields" "oldfieldtype": "Data",
"parent": "Item Quality Inspection Parameter",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
}, },
{ {
"name": "Item Quality Inspection Parameter", "doctype": "DocType",
"doctype": "DocType" "name": "Item Quality Inspection Parameter"
}, },
{ {
"search_index": 0,
"doctype": "DocField", "doctype": "DocField",
"fieldname": "specification",
"in_filter": 0,
"label": "Parameter", "label": "Parameter",
"oldfieldname": "specification", "oldfieldname": "specification",
"width": "200px",
"fieldname": "specification",
"reqd": 1, "reqd": 1,
"in_filter": 0 "search_index": 0,
"width": "200px"
}, },
{ {
"oldfieldname": "value",
"fieldname": "value",
"doctype": "DocField", "doctype": "DocField",
"label": "Acceptance Criteria" "fieldname": "value",
"label": "Acceptance Criteria",
"oldfieldname": "value"
} }
] ]

View File

@ -1,45 +1,44 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:33", "creation": "2012-03-27 14:36:33",
"docstatus": 0,
"modified": "2012-03-27 14:36:33",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:33" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Stock",
"doctype": "DocType", "doctype": "DocType",
"version": 3, "istable": 1,
"show_in_menu": 0 "module": "Stock",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 3
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Item Supplier", "parent": "Item Supplier",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"name": "Item Supplier", "doctype": "DocType",
"doctype": "DocType" "name": "Item Supplier"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "Supplier",
"fieldname": "supplier", "fieldname": "supplier",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Supplier",
"options": "Supplier" "options": "Supplier"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "Supplier Part Number",
"width": "200px",
"fieldname": "supplier_part_no", "fieldname": "supplier_part_no",
"fieldtype": "Data" "fieldtype": "Data",
"label": "Supplier Part Number",
"width": "200px"
} }
] ]

View File

@ -1,51 +1,49 @@
[ [
{ {
"owner": "wasim@webnotestech.com",
"docstatus": 0,
"creation": "2012-03-27 14:36:34", "creation": "2012-03-27 14:36:34",
"docstatus": 0,
"modified": "2012-03-27 14:36:34",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:34" "owner": "wasim@webnotestech.com"
}, },
{ {
"section_style": "Simple", "doctype": "DocType",
"istable": 1, "istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Stock", "module": "Stock",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0, "show_in_menu": 0,
"version": 5, "version": 5
"server_code_error": " ",
"doctype": "DocType"
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Landed Cost Purchase Receipt", "parent": "Landed Cost Purchase Receipt",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"name": "Landed Cost Purchase Receipt", "doctype": "DocType",
"doctype": "DocType" "name": "Landed Cost Purchase Receipt"
}, },
{ {
"oldfieldtype": "Link",
"doctype": "DocField", "doctype": "DocField",
"label": "Purchase Receipt",
"oldfieldname": "purchase_receipt_no",
"width": "220px",
"fieldname": "purchase_receipt", "fieldname": "purchase_receipt",
"fieldtype": "Link", "fieldtype": "Link",
"options": "Purchase Receipt" "label": "Purchase Receipt",
"oldfieldname": "purchase_receipt_no",
"oldfieldtype": "Link",
"options": "Purchase Receipt",
"width": "220px"
}, },
{ {
"oldfieldtype": "Check",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "select_pr",
"fieldtype": "Check",
"label": "Select PR", "label": "Select PR",
"oldfieldname": "include_in_landed_cost", "oldfieldname": "include_in_landed_cost",
"width": "120px", "oldfieldtype": "Check",
"fieldname": "select_pr", "width": "120px"
"fieldtype": "Check"
} }
] ]

View File

@ -17,6 +17,43 @@ class TestMaterialRequest(unittest.TestCase):
self.assertEqual(flt(webnotes.conn.get_value("Bin", {"item_code": "_Test Item Home Desktop 200", self.assertEqual(flt(webnotes.conn.get_value("Bin", {"item_code": "_Test Item Home Desktop 200",
"warehouse": "_Test Warehouse"}, "indented_qty")), qty2) "warehouse": "_Test Warehouse"}, "indented_qty")), qty2)
def _insert_stock_entry(self, qty1, qty2):
se = webnotes.bean([
{
"company": "_Test Company",
"doctype": "Stock Entry",
"posting_date": "2013-03-01",
"posting_time": "00:00:00",
"purpose": "Material Receipt"
},
{
"conversion_factor": 1.0,
"doctype": "Stock Entry Detail",
"item_code": "_Test Item Home Desktop 100",
"parentfield": "mtn_details",
"incoming_rate": 100,
"qty": qty1,
"stock_uom": "_Test UOM",
"transfer_qty": qty1,
"uom": "_Test UOM",
"t_warehouse": "_Test Warehouse 1",
},
{
"conversion_factor": 1.0,
"doctype": "Stock Entry Detail",
"item_code": "_Test Item Home Desktop 200",
"parentfield": "mtn_details",
"incoming_rate": 100,
"qty": qty2,
"stock_uom": "_Test UOM",
"transfer_qty": qty2,
"uom": "_Test UOM",
"t_warehouse": "_Test Warehouse 1",
},
])
se.insert()
se.submit()
def test_completed_qty_for_purchase(self): def test_completed_qty_for_purchase(self):
webnotes.conn.sql("""delete from `tabBin`""") webnotes.conn.sql("""delete from `tabBin`""")
@ -70,6 +107,7 @@ class TestMaterialRequest(unittest.TestCase):
def test_completed_qty_for_transfer(self): def test_completed_qty_for_transfer(self):
webnotes.conn.sql("""delete from `tabBin`""") webnotes.conn.sql("""delete from `tabBin`""")
webnotes.conn.sql("""delete from `tabStock Ledger Entry`""")
# submit material request of type Purchase # submit material request of type Purchase
mr = webnotes.bean(copy=test_records[0]) mr = webnotes.bean(copy=test_records[0])
@ -87,7 +125,7 @@ class TestMaterialRequest(unittest.TestCase):
["Material Request Item", "Stock Entry Detail"]], mr.doc.name) ["Material Request Item", "Stock Entry Detail"]], mr.doc.name)
se_doclist[0].fields.update({ se_doclist[0].fields.update({
"posting_date": "2013-03-01", "posting_date": "2013-03-01",
"posting_time": "00:00" "posting_time": "01:00"
}) })
se_doclist[1].fields.update({ se_doclist[1].fields.update({
"qty": 27.0, "qty": 27.0,
@ -102,6 +140,9 @@ class TestMaterialRequest(unittest.TestCase):
"incoming_rate": 1.0 "incoming_rate": 1.0
}) })
# make available the qty in _Test Warehouse 1 before transfer
self._insert_stock_entry(27.0, 1.5)
# check for stopped status of Material Request # check for stopped status of Material Request
se = webnotes.bean(copy=se_doclist) se = webnotes.bean(copy=se_doclist)
se.insert() se.insert()
@ -127,6 +168,7 @@ class TestMaterialRequest(unittest.TestCase):
def test_completed_qty_for_over_transfer(self): def test_completed_qty_for_over_transfer(self):
webnotes.conn.sql("""delete from `tabBin`""") webnotes.conn.sql("""delete from `tabBin`""")
webnotes.conn.sql("""delete from `tabStock Ledger Entry`""")
# submit material request of type Purchase # submit material request of type Purchase
mr = webnotes.bean(copy=test_records[0]) mr = webnotes.bean(copy=test_records[0])
@ -159,6 +201,9 @@ class TestMaterialRequest(unittest.TestCase):
"incoming_rate": 1.0 "incoming_rate": 1.0
}) })
# make available the qty in _Test Warehouse 1 before transfer
self._insert_stock_entry(60.0, 3.0)
# check for stopped status of Material Request # check for stopped status of Material Request
se = webnotes.bean(copy=se_doclist) se = webnotes.bean(copy=se_doclist)
se.insert() se.insert()
@ -245,5 +290,5 @@ test_records = [
"uom": "_Test UOM", "uom": "_Test UOM",
"warehouse": "_Test Warehouse" "warehouse": "_Test Warehouse"
} }
] ],
] ]

View File

@ -207,9 +207,8 @@ class DocType(TransactionBase):
def validate_incoming_rate(self): def validate_incoming_rate(self):
for d in getlist(self.doclist, 'mtn_details'): for d in getlist(self.doclist, 'mtn_details'):
if not flt(d.incoming_rate) and d.t_warehouse: if d.t_warehouse:
msgprint("Rate is mandatory for Item: %s at row %s" % (d.item_code, d.idx), self.validate_value("incoming_rate", ">", 0, d)
raise_exception=1)
def validate_bom(self): def validate_bom(self):
for d in getlist(self.doclist, 'mtn_details'): for d in getlist(self.doclist, 'mtn_details'):

View File

@ -1,50 +1,48 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:40", "creation": "2012-03-27 14:36:40",
"docstatus": 0,
"modified": "2012-03-27 14:36:40",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:40" "owner": "Administrator"
}, },
{ {
"section_style": "Tray", "autoname": "UCDD/.#####",
"doctype": "DocType",
"istable": 1, "istable": 1,
"module": "Stock", "module": "Stock",
"server_code_error": " ",
"doctype": "DocType",
"autoname": "UCDD/.#####",
"name": "__common__", "name": "__common__",
"colour": "White:FFF", "section_style": "Tray",
"show_in_menu": 0, "show_in_menu": 0,
"version": 1 "version": 1
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "UOM Conversion Detail", "parent": "UOM Conversion Detail",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"name": "UOM Conversion Detail", "doctype": "DocType",
"doctype": "DocType" "name": "UOM Conversion Detail"
}, },
{ {
"oldfieldtype": "Link",
"doctype": "DocField", "doctype": "DocField",
"label": "UOM",
"oldfieldname": "uom",
"fieldname": "uom", "fieldname": "uom",
"fieldtype": "Link", "fieldtype": "Link",
"label": "UOM",
"oldfieldname": "uom",
"oldfieldtype": "Link",
"options": "UOM" "options": "UOM"
}, },
{ {
"oldfieldtype": "Float",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "conversion_factor",
"fieldtype": "Float",
"label": "Conversion Factor", "label": "Conversion Factor",
"oldfieldname": "conversion_factor", "oldfieldname": "conversion_factor",
"fieldname": "conversion_factor", "oldfieldtype": "Float"
"fieldtype": "Float"
} }
] ]

View File

@ -1,69 +1,67 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:01", "creation": "2012-03-27 14:36:01",
"docstatus": 0,
"modified": "2012-03-27 14:36:01",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:01" "owner": "Administrator"
}, },
{ {
"section_style": "Simple", "allow_attach": 0,
"in_create": 1,
"module": "Utilities",
"allow_trash": 1, "allow_trash": 1,
"autoname": "_ANS.#######", "autoname": "_ANS.#######",
"show_in_menu": 0,
"allow_attach": 0,
"read_only": 1,
"name": "__common__",
"colour": "White:FFF",
"doctype": "DocType", "doctype": "DocType",
"server_code_error": " ", "in_create": 1,
"module": "Utilities",
"name": "__common__",
"read_only": 1,
"section_style": "Simple",
"show_in_menu": 0,
"version": 3 "version": 3
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Answer", "parent": "Answer",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"parent": "Answer",
"read": 1,
"report": 1,
"cancel": 1, "cancel": 1,
"name": "__common__",
"create": 1, "create": 1,
"doctype": "DocPerm", "doctype": "DocPerm",
"write": 1, "name": "__common__",
"parent": "Answer",
"parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"role": "All",
"permlevel": 0, "permlevel": 0,
"parentfield": "permissions" "read": 1,
"report": 1,
"role": "All",
"write": 1
}, },
{ {
"name": "Answer", "doctype": "DocType",
"doctype": "DocType" "name": "Answer"
}, },
{ {
"doctype": "DocPerm" "doctype": "DocPerm"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "Question",
"fieldname": "question", "fieldname": "question",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Question",
"options": "Question" "options": "Question"
}, },
{ {
"oldfieldtype": "Text",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "answer",
"fieldtype": "Text",
"label": "Answer", "label": "Answer",
"oldfieldname": "question", "oldfieldname": "question",
"fieldname": "answer", "oldfieldtype": "Text"
"fieldtype": "Text"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
@ -72,11 +70,11 @@
"label": "Points" "label": "Points"
}, },
{ {
"print_hide": 1,
"doctype": "DocField", "doctype": "DocField",
"label": "Users Voted",
"fieldname": "_users_voted", "fieldname": "_users_voted",
"fieldtype": "Text", "fieldtype": "Text",
"hidden": 1 "hidden": 1,
"label": "Users Voted",
"print_hide": 1
} }
] ]

View File

@ -1,75 +1,73 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-04-13 11:56:40", "creation": "2012-04-13 11:56:40",
"docstatus": 0,
"modified": "2012-04-23 12:27:38",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-04-23 12:27:38" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"module": "Utilities",
"doctype": "DocType",
"server_code_error": " ",
"autoname": "field:doc_type",
"name": "__common__",
"colour": "White:FFF",
"_last_update": "1305006361", "_last_update": "1305006361",
"autoname": "field:doc_type",
"doctype": "DocType",
"module": "Utilities",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0, "show_in_menu": 0,
"version": 1 "version": 1
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "GL Mapper", "parent": "GL Mapper",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"name": "__common__",
"parent": "GL Mapper",
"read": 1,
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"name": "__common__",
"parent": "GL Mapper",
"parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"report": 1,
"permlevel": 0, "permlevel": 0,
"parentfield": "permissions" "read": 1,
"report": 1
}, },
{ {
"name": "GL Mapper", "doctype": "DocType",
"doctype": "DocType" "name": "GL Mapper"
}, },
{ {
"amend": 0, "amend": 0,
"cancel": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"submit": 0,
"write": 0,
"role": "Accounts User", "role": "Accounts User",
"cancel": 0 "submit": 0,
"write": 0
}, },
{ {
"write": 1, "doctype": "DocPerm",
"role": "System Manager", "role": "System Manager",
"doctype": "DocPerm" "write": 1
}, },
{ {
"oldfieldtype": "Link",
"doctype": "DocField", "doctype": "DocField",
"label": "Doc Type",
"oldfieldname": "doc_type",
"fieldname": "doc_type", "fieldname": "doc_type",
"fieldtype": "Data", "fieldtype": "Data",
"label": "Doc Type",
"oldfieldname": "doc_type",
"oldfieldtype": "Link",
"reqd": 1 "reqd": 1
}, },
{ {
"oldfieldtype": "Table",
"doctype": "DocField", "doctype": "DocField",
"label": "Fields",
"oldfieldname": "fields",
"fieldname": "fields", "fieldname": "fields",
"fieldtype": "Table", "fieldtype": "Table",
"label": "Fields",
"oldfieldname": "fields",
"oldfieldtype": "Table",
"options": "GL Mapper Detail" "options": "GL Mapper Detail"
} }
] ]

View File

@ -1,162 +1,160 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:46", "creation": "2012-03-27 14:36:46",
"docstatus": 0,
"modified": "2012-03-27 14:36:46",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:46" "owner": "Administrator"
}, },
{ {
"section_style": "Tray", "autoname": "GLMDetail.#####",
"doctype": "DocType",
"istable": 1, "istable": 1,
"module": "Utilities", "module": "Utilities",
"server_code_error": " ",
"doctype": "DocType",
"autoname": "GLMDetail.#####",
"name": "__common__", "name": "__common__",
"colour": "White:FFF", "section_style": "Tray",
"show_in_menu": 0, "show_in_menu": 0,
"version": 4 "version": 4
}, },
{ {
"name": "__common__",
"parent": "GL Mapper Detail",
"oldfieldtype": "Data",
"doctype": "DocField", "doctype": "DocField",
"parenttype": "DocType",
"fieldtype": "Data", "fieldtype": "Data",
"permlevel": 0, "name": "__common__",
"parentfield": "fields" "oldfieldtype": "Data",
"parent": "GL Mapper Detail",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
}, },
{ {
"name": "GL Mapper Detail", "doctype": "DocType",
"doctype": "DocType" "name": "GL Mapper Detail"
}, },
{ {
"oldfieldname": "table_field", "doctype": "DocField",
"fieldname": "table_field", "fieldname": "table_field",
"doctype": "DocField", "label": "Table Field",
"label": "Table Field" "oldfieldname": "table_field"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "account",
"label": "Account", "label": "Account",
"oldfieldname": "account", "oldfieldname": "account",
"fieldname": "account",
"reqd": 1 "reqd": 1
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "debit",
"label": "Debit", "label": "Debit",
"oldfieldname": "debit", "oldfieldname": "debit",
"fieldname": "debit",
"reqd": 1 "reqd": 1
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "credit",
"label": "Credit", "label": "Credit",
"oldfieldname": "credit", "oldfieldname": "credit",
"fieldname": "credit",
"reqd": 1 "reqd": 1
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "cost_center",
"label": "Cost Center", "label": "Cost Center",
"oldfieldname": "cost_center", "oldfieldname": "cost_center",
"fieldname": "cost_center",
"reqd": 0 "reqd": 0
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "against",
"label": "Against", "label": "Against",
"oldfieldname": "against", "oldfieldname": "against",
"fieldname": "against",
"reqd": 1 "reqd": 1
}, },
{ {
"no_copy": 1,
"doctype": "DocField", "doctype": "DocField",
"label": "Remarks",
"oldfieldname": "remarks",
"fieldname": "remarks", "fieldname": "remarks",
"label": "Remarks",
"no_copy": 1,
"oldfieldname": "remarks",
"reqd": 1 "reqd": 1
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "voucher_type",
"label": "Voucher Type", "label": "Voucher Type",
"oldfieldname": "voucher_type", "oldfieldname": "voucher_type",
"fieldname": "voucher_type",
"reqd": 1 "reqd": 1
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "voucher_no",
"label": "Voucher No", "label": "Voucher No",
"oldfieldname": "voucher_no", "oldfieldname": "voucher_no",
"fieldname": "voucher_no",
"reqd": 1 "reqd": 1
}, },
{ {
"description": "The date at which current entry will get or has actually executed.", "description": "The date at which current entry will get or has actually executed.",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "posting_date",
"label": "Posting Date", "label": "Posting Date",
"oldfieldname": "posting_date", "oldfieldname": "posting_date",
"fieldname": "posting_date",
"reqd": 1 "reqd": 1
}, },
{ {
"description": "The date at which current entry is made in system.", "description": "The date at which current entry is made in system.",
"doctype": "DocField", "doctype": "DocField",
"fieldname": "transaction_date",
"label": "Transaction Date", "label": "Transaction Date",
"oldfieldname": "transaction_date", "oldfieldname": "transaction_date",
"fieldname": "transaction_date",
"reqd": 1 "reqd": 1
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "aging_date",
"label": "Aging Date", "label": "Aging Date",
"oldfieldname": "aging_date", "oldfieldname": "aging_date",
"fieldname": "aging_date",
"reqd": 1 "reqd": 1
}, },
{ {
"search_index": 0,
"doctype": "DocField", "doctype": "DocField",
"fieldname": "fiscal_year",
"in_filter": 1,
"label": "Fiscal Year", "label": "Fiscal Year",
"oldfieldname": "fiscal_year", "oldfieldname": "fiscal_year",
"fieldname": "fiscal_year",
"reqd": 1, "reqd": 1,
"in_filter": 1 "search_index": 0
}, },
{ {
"oldfieldname": "against_voucher", "doctype": "DocField",
"fieldname": "against_voucher", "fieldname": "against_voucher",
"doctype": "DocField", "label": "Against Voucher",
"label": "Against Voucher" "oldfieldname": "against_voucher"
}, },
{ {
"oldfieldname": "against_voucher_type", "doctype": "DocField",
"fieldname": "against_voucher_type", "fieldname": "against_voucher_type",
"doctype": "DocField", "label": "Against Voucher Type",
"label": "Against Voucher Type" "oldfieldname": "against_voucher_type"
}, },
{ {
"search_index": 0,
"doctype": "DocField", "doctype": "DocField",
"fieldname": "company",
"in_filter": 1,
"label": "Company", "label": "Company",
"oldfieldname": "company", "oldfieldname": "company",
"fieldname": "company", "search_index": 0
"in_filter": 1
}, },
{ {
"oldfieldname": "is_opening", "doctype": "DocField",
"fieldname": "is_opening", "fieldname": "is_opening",
"doctype": "DocField", "label": "Is Opening",
"label": "Is Opening" "oldfieldname": "is_opening"
}, },
{ {
"oldfieldname": "is_advance",
"fieldname": "is_advance",
"doctype": "DocField", "doctype": "DocField",
"label": "Is Advance" "fieldname": "is_advance",
"label": "Is Advance",
"oldfieldname": "is_advance"
} }
] ]

View File

@ -1,24 +1,22 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:47", "creation": "2012-03-27 14:36:47",
"docstatus": 0,
"modified": "2012-03-27 14:36:47",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:47" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"name": "__common__",
"colour": "White:FFF",
"module": "Utilities",
"show_in_menu": 0,
"version": 12,
"server_code_error": " ",
"doctype": "DocType", "doctype": "DocType",
"issingle": 1 "issingle": 1,
"module": "Utilities",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 12
}, },
{ {
"name": "Profile Control", "doctype": "DocType",
"doctype": "DocType" "name": "Profile Control"
} }
] ]

View File

@ -1,54 +1,53 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:47", "creation": "2012-03-27 14:36:47",
"docstatus": 0,
"modified": "2012-03-27 14:36:47",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:47" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"name": "__common__",
"autoname": "SMSLOG/.########", "autoname": "SMSLOG/.########",
"colour": "White:FFF",
"module": "Utilities",
"doctype": "DocType", "doctype": "DocType",
"version": 3, "module": "Utilities",
"show_in_menu": 0 "name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 3
}, },
{ {
"name": "__common__",
"parent": "SMS Log",
"doctype": "DocField", "doctype": "DocField",
"name": "__common__",
"parent": "SMS Log",
"parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"parent": "SMS Log",
"read": 1,
"report": 1,
"name": "__common__",
"create": 0, "create": 0,
"doctype": "DocPerm", "doctype": "DocPerm",
"write": 0, "name": "__common__",
"parent": "SMS Log",
"parentfield": "permissions",
"parenttype": "DocType", "parenttype": "DocType",
"role": "System Manager",
"permlevel": 0, "permlevel": 0,
"parentfield": "permissions" "read": 1,
"report": 1,
"role": "System Manager",
"write": 0
}, },
{ {
"name": "SMS Log", "doctype": "DocType",
"doctype": "DocType" "name": "SMS Log"
}, },
{ {
"doctype": "DocPerm" "doctype": "DocPerm"
}, },
{ {
"width": "50%", "doctype": "DocField",
"fieldname": "column_break0", "fieldname": "column_break0",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"doctype": "DocField" "width": "50%"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
@ -69,10 +68,10 @@
"label": "Receiver List" "label": "Receiver List"
}, },
{ {
"width": "50%", "doctype": "DocField",
"fieldname": "column_break1", "fieldname": "column_break1",
"fieldtype": "Column Break", "fieldtype": "Column Break",
"doctype": "DocField" "width": "50%"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",

View File

@ -1,54 +1,52 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:47", "creation": "2012-03-27 14:36:47",
"docstatus": 0,
"modified": "2012-03-27 14:36:47",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:47" "owner": "Administrator"
}, },
{ {
"section_style": "Tray",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Utilities",
"doctype": "DocType", "doctype": "DocType",
"version": 2, "istable": 1,
"server_code_error": " " "module": "Utilities",
},
{
"name": "__common__", "name": "__common__",
"parent": "SMS Receiver", "section_style": "Tray",
"oldfieldtype": "Data", "version": 2
},
{
"doctype": "DocField", "doctype": "DocField",
"parenttype": "DocType",
"fieldtype": "Data", "fieldtype": "Data",
"permlevel": 0, "name": "__common__",
"parentfield": "fields" "oldfieldtype": "Data",
"parent": "SMS Receiver",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
}, },
{ {
"name": "SMS Receiver", "doctype": "DocType",
"doctype": "DocType" "name": "SMS Receiver"
}, },
{ {
"oldfieldname": "customer_name", "doctype": "DocField",
"fieldname": "customer_name", "fieldname": "customer_name",
"doctype": "DocField", "label": "Customer Name",
"label": "Customer Name" "oldfieldname": "customer_name"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "receiver_name",
"label": "Receiver Name", "label": "Receiver Name",
"oldfieldname": "receiver_name", "oldfieldname": "receiver_name",
"width": "350px", "width": "350px"
"fieldname": "receiver_name"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"fieldname": "mobile_no",
"label": "Mobile No", "label": "Mobile No",
"oldfieldname": "mobile_no", "oldfieldname": "mobile_no",
"width": "200px", "reqd": 1,
"fieldname": "mobile_no", "width": "200px"
"reqd": 1
} }
] ]

View File

@ -1,25 +1,23 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:47", "creation": "2012-03-27 14:36:47",
"docstatus": 0,
"modified": "2012-03-27 14:36:47",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:47" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"in_create": 1,
"module": "Utilities",
"server_code_error": " ",
"doctype": "DocType", "doctype": "DocType",
"in_create": 1,
"issingle": 1, "issingle": 1,
"read_only": 1, "module": "Utilities",
"name": "__common__", "name": "__common__",
"colour": "White:FFF", "read_only": 1,
"section_style": "Simple",
"version": 35 "version": 35
}, },
{ {
"name": "Trash Control", "doctype": "DocType",
"doctype": "DocType" "name": "Trash Control"
} }
] ]

View File

@ -1,36 +1,35 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-03-27 14:36:48", "creation": "2012-03-27 14:36:48",
"docstatus": 0,
"modified": "2012-03-27 14:36:48",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-03-27 14:36:48" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Website",
"doctype": "DocType", "doctype": "DocType",
"version": 3, "istable": 1,
"show_in_menu": 0 "module": "Website",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 3
}, },
{ {
"parent": "Related Page",
"name": "__common__",
"doctype": "DocField", "doctype": "DocField",
"permlevel": 0,
"parenttype": "DocType",
"fieldname": "page", "fieldname": "page",
"fieldtype": "Link", "fieldtype": "Link",
"label": "Page", "label": "Page",
"name": "__common__",
"options": "Page", "options": "Page",
"parentfield": "fields" "parent": "Related Page",
"parentfield": "fields",
"parenttype": "DocType",
"permlevel": 0
}, },
{ {
"name": "Related Page", "doctype": "DocType",
"doctype": "DocType" "name": "Related Page"
}, },
{ {
"doctype": "DocField" "doctype": "DocField"

View File

@ -1,52 +1,51 @@
[ [
{ {
"owner": "Administrator",
"docstatus": 0,
"creation": "2012-04-02 16:02:43", "creation": "2012-04-02 16:02:43",
"docstatus": 0,
"modified": "2012-05-07 15:21:00",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-05-07 15:21:00" "owner": "Administrator"
}, },
{ {
"section_style": "Simple",
"istable": 1,
"name": "__common__",
"colour": "White:FFF",
"module": "Website",
"doctype": "DocType", "doctype": "DocType",
"version": 1, "istable": 1,
"show_in_menu": 0 "module": "Website",
"name": "__common__",
"section_style": "Simple",
"show_in_menu": 0,
"version": 1
}, },
{ {
"doctype": "DocField",
"name": "__common__", "name": "__common__",
"parent": "Top Bar Item", "parent": "Top Bar Item",
"doctype": "DocField", "parentfield": "fields",
"parenttype": "DocType", "parenttype": "DocType",
"permlevel": 0, "permlevel": 0
"parentfield": "fields"
}, },
{ {
"name": "Top Bar Item", "doctype": "DocType",
"doctype": "DocType" "name": "Top Bar Item"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "Label",
"width": "120px",
"fieldname": "label", "fieldname": "label",
"fieldtype": "Data" "fieldtype": "Data",
"label": "Label",
"width": "120px"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "URL",
"width": "200px",
"fieldname": "url", "fieldname": "url",
"fieldtype": "Data" "fieldtype": "Data",
"label": "URL",
"width": "200px"
}, },
{ {
"doctype": "DocField", "doctype": "DocField",
"label": "Target",
"fieldname": "target", "fieldname": "target",
"fieldtype": "Select", "fieldtype": "Select",
"label": "Target",
"options": "\ntarget = \"_blank\"" "options": "\ntarget = \"_blank\""
}, },
{ {