@@ -13,7 +13,7 @@ import os, importlib, inspect, json | |||||
from .exceptions import * | from .exceptions import * | ||||
from .utils.jinja import get_jenv, get_template, render_template | from .utils.jinja import get_jenv, get_template, render_template | ||||
__version__ = "7.0.3" | |||||
__version__ = "7.0.4" | |||||
local = Local() | local = Local() | ||||
@@ -0,0 +1,8 @@ | |||||
// Copyright (c) 2016, Frappe Technologies and contributors | |||||
// For license information, please see license.txt | |||||
frappe.ui.form.on('Module Def', { | |||||
refresh: function(frm) { | |||||
} | |||||
}); |
@@ -3,10 +3,12 @@ | |||||
"allow_import": 0, | "allow_import": 0, | ||||
"allow_rename": 1, | "allow_rename": 1, | ||||
"autoname": "field:module_name", | "autoname": "field:module_name", | ||||
"beta": 0, | |||||
"creation": "2013-01-10 16:34:03", | "creation": "2013-01-10 16:34:03", | ||||
"custom": 0, | "custom": 0, | ||||
"docstatus": 0, | "docstatus": 0, | ||||
"doctype": "DocType", | "doctype": "DocType", | ||||
"editable_grid": 0, | |||||
"fields": [ | "fields": [ | ||||
{ | { | ||||
"allow_on_submit": 0, | "allow_on_submit": 0, | ||||
@@ -16,6 +18,7 @@ | |||||
"fieldtype": "Data", | "fieldtype": "Data", | ||||
"hidden": 0, | "hidden": 0, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 1, | "in_list_view": 1, | ||||
"label": "Module Name", | "label": "Module Name", | ||||
@@ -25,6 +28,7 @@ | |||||
"oldfieldtype": "Data", | "oldfieldtype": "Data", | ||||
"permlevel": 0, | "permlevel": 0, | ||||
"print_hide": 0, | "print_hide": 0, | ||||
"print_hide_if_no_value": 0, | |||||
"read_only": 0, | "read_only": 0, | ||||
"report_hide": 0, | "report_hide": 0, | ||||
"reqd": 0, | "reqd": 0, | ||||
@@ -40,6 +44,7 @@ | |||||
"fieldtype": "Data", | "fieldtype": "Data", | ||||
"hidden": 0, | "hidden": 0, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 1, | "in_list_view": 1, | ||||
"label": "App Name", | "label": "App Name", | ||||
@@ -47,6 +52,7 @@ | |||||
"no_copy": 0, | "no_copy": 0, | ||||
"permlevel": 0, | "permlevel": 0, | ||||
"print_hide": 0, | "print_hide": 0, | ||||
"print_hide_if_no_value": 0, | |||||
"read_only": 0, | "read_only": 0, | ||||
"report_hide": 0, | "report_hide": 0, | ||||
"reqd": 1, | "reqd": 1, | ||||
@@ -59,13 +65,14 @@ | |||||
"hide_toolbar": 0, | "hide_toolbar": 0, | ||||
"icon": "icon-sitemap", | "icon": "icon-sitemap", | ||||
"idx": 1, | "idx": 1, | ||||
"image_view": 0, | |||||
"in_create": 0, | "in_create": 0, | ||||
"in_dialog": 0, | "in_dialog": 0, | ||||
"is_submittable": 0, | "is_submittable": 0, | ||||
"issingle": 0, | "issingle": 0, | ||||
"istable": 0, | "istable": 0, | ||||
"max_attachments": 0, | "max_attachments": 0, | ||||
"modified": "2015-11-16 06:29:50.398063", | |||||
"modified": "2016-07-25 05:24:25.789580", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Core", | "module": "Core", | ||||
"name": "Module Def", | "name": "Module Def", | ||||
@@ -112,6 +119,8 @@ | |||||
"write": 0 | "write": 0 | ||||
} | } | ||||
], | ], | ||||
"quick_entry": 1, | |||||
"read_only": 0, | "read_only": 0, | ||||
"read_only_onload": 0 | |||||
"read_only_onload": 0, | |||||
"track_seen": 0 | |||||
} | } |
@@ -3,12 +3,14 @@ | |||||
"allow_import": 0, | "allow_import": 0, | ||||
"allow_rename": 0, | "allow_rename": 0, | ||||
"autoname": "PATCHLOG.#####", | "autoname": "PATCHLOG.#####", | ||||
"beta": 0, | |||||
"creation": "2013-01-17 11:36:45", | "creation": "2013-01-17 11:36:45", | ||||
"custom": 0, | "custom": 0, | ||||
"description": "List of patches executed", | "description": "List of patches executed", | ||||
"docstatus": 0, | "docstatus": 0, | ||||
"doctype": "DocType", | "doctype": "DocType", | ||||
"document_type": "System", | "document_type": "System", | ||||
"editable_grid": 0, | |||||
"fields": [ | "fields": [ | ||||
{ | { | ||||
"allow_on_submit": 0, | "allow_on_submit": 0, | ||||
@@ -39,13 +41,14 @@ | |||||
"hide_toolbar": 0, | "hide_toolbar": 0, | ||||
"icon": "icon-cog", | "icon": "icon-cog", | ||||
"idx": 1, | "idx": 1, | ||||
"image_view": 0, | |||||
"in_create": 0, | "in_create": 0, | ||||
"in_dialog": 0, | "in_dialog": 0, | ||||
"is_submittable": 0, | "is_submittable": 0, | ||||
"issingle": 0, | "issingle": 0, | ||||
"istable": 0, | "istable": 0, | ||||
"max_attachments": 0, | "max_attachments": 0, | ||||
"modified": "2016-02-22 09:31:31.854246", | |||||
"modified": "2016-07-25 05:24:24.847433", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Core", | "module": "Core", | ||||
"name": "Patch Log", | "name": "Patch Log", | ||||
@@ -72,6 +75,8 @@ | |||||
"write": 0 | "write": 0 | ||||
} | } | ||||
], | ], | ||||
"quick_entry": 1, | |||||
"read_only": 0, | "read_only": 0, | ||||
"read_only_onload": 0 | |||||
"read_only_onload": 0, | |||||
"track_seen": 0 | |||||
} | } |
@@ -3,10 +3,12 @@ | |||||
"allow_import": 0, | "allow_import": 0, | ||||
"allow_rename": 1, | "allow_rename": 1, | ||||
"autoname": "field:role_name", | "autoname": "field:role_name", | ||||
"beta": 0, | |||||
"creation": "2013-01-08 15:50:01", | "creation": "2013-01-08 15:50:01", | ||||
"custom": 0, | "custom": 0, | ||||
"docstatus": 0, | "docstatus": 0, | ||||
"doctype": "DocType", | "doctype": "DocType", | ||||
"editable_grid": 0, | |||||
"fields": [ | "fields": [ | ||||
{ | { | ||||
"allow_on_submit": 0, | "allow_on_submit": 0, | ||||
@@ -65,13 +67,14 @@ | |||||
"hide_toolbar": 0, | "hide_toolbar": 0, | ||||
"icon": "icon-bookmark", | "icon": "icon-bookmark", | ||||
"idx": 1, | "idx": 1, | ||||
"image_view": 0, | |||||
"in_create": 0, | "in_create": 0, | ||||
"in_dialog": 0, | "in_dialog": 0, | ||||
"is_submittable": 0, | "is_submittable": 0, | ||||
"issingle": 0, | "issingle": 0, | ||||
"istable": 0, | "istable": 0, | ||||
"max_attachments": 0, | "max_attachments": 0, | ||||
"modified": "2016-04-20 12:54:08.406706", | |||||
"modified": "2016-07-25 05:24:24.406260", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Core", | "module": "Core", | ||||
"name": "Role", | "name": "Role", | ||||
@@ -138,7 +141,7 @@ | |||||
"write": 0 | "write": 0 | ||||
} | } | ||||
], | ], | ||||
"quick_entry": 0, | |||||
"quick_entry": 1, | |||||
"read_only": 0, | "read_only": 0, | ||||
"read_only_onload": 0, | "read_only_onload": 0, | ||||
"sort_order": "ASC", | "sort_order": "ASC", | ||||
@@ -3,11 +3,13 @@ | |||||
"allow_import": 0, | "allow_import": 0, | ||||
"allow_rename": 0, | "allow_rename": 0, | ||||
"autoname": "_VER.######", | "autoname": "_VER.######", | ||||
"beta": 0, | |||||
"creation": "2014-02-20 17:22:37", | "creation": "2014-02-20 17:22:37", | ||||
"custom": 0, | "custom": 0, | ||||
"docstatus": 0, | "docstatus": 0, | ||||
"doctype": "DocType", | "doctype": "DocType", | ||||
"document_type": "Setup", | "document_type": "Setup", | ||||
"editable_grid": 0, | |||||
"fields": [ | "fields": [ | ||||
{ | { | ||||
"allow_on_submit": 0, | "allow_on_submit": 0, | ||||
@@ -87,13 +89,14 @@ | |||||
"hide_toolbar": 0, | "hide_toolbar": 0, | ||||
"icon": "icon-copy", | "icon": "icon-copy", | ||||
"idx": 1, | "idx": 1, | ||||
"image_view": 0, | |||||
"in_create": 0, | "in_create": 0, | ||||
"in_dialog": 0, | "in_dialog": 0, | ||||
"is_submittable": 0, | "is_submittable": 0, | ||||
"issingle": 0, | "issingle": 0, | ||||
"istable": 0, | "istable": 0, | ||||
"max_attachments": 0, | "max_attachments": 0, | ||||
"modified": "2016-02-22 07:59:43.968145", | |||||
"modified": "2016-07-25 05:24:24.954110", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Core", | "module": "Core", | ||||
"name": "Version", | "name": "Version", | ||||
@@ -120,7 +123,9 @@ | |||||
"write": 0 | "write": 0 | ||||
} | } | ||||
], | ], | ||||
"quick_entry": 1, | |||||
"read_only": 0, | "read_only": 0, | ||||
"read_only_onload": 0, | "read_only_onload": 0, | ||||
"sort_order": "ASC" | |||||
"sort_order": "ASC", | |||||
"track_seen": 0 | |||||
} | } |
@@ -9,6 +9,7 @@ | |||||
"description": "Adds a custom script (client or server) to a DocType", | "description": "Adds a custom script (client or server) to a DocType", | ||||
"docstatus": 0, | "docstatus": 0, | ||||
"doctype": "DocType", | "doctype": "DocType", | ||||
"editable_grid": 0, | |||||
"fields": [ | "fields": [ | ||||
{ | { | ||||
"allow_on_submit": 0, | "allow_on_submit": 0, | ||||
@@ -122,13 +123,14 @@ | |||||
"hide_toolbar": 0, | "hide_toolbar": 0, | ||||
"icon": "icon-glass", | "icon": "icon-glass", | ||||
"idx": 1, | "idx": 1, | ||||
"image_view": 0, | |||||
"in_create": 0, | "in_create": 0, | ||||
"in_dialog": 0, | "in_dialog": 0, | ||||
"is_submittable": 0, | "is_submittable": 0, | ||||
"issingle": 0, | "issingle": 0, | ||||
"istable": 0, | "istable": 0, | ||||
"max_attachments": 0, | "max_attachments": 0, | ||||
"modified": "2016-05-14 09:22:45.601963", | |||||
"modified": "2016-07-25 05:24:24.245725", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Custom", | "module": "Custom", | ||||
"name": "Custom Script", | "name": "Custom Script", | ||||
@@ -175,7 +177,7 @@ | |||||
"write": 1 | "write": 1 | ||||
} | } | ||||
], | ], | ||||
"quick_entry": 0, | |||||
"quick_entry": 1, | |||||
"read_only": 0, | "read_only": 0, | ||||
"read_only_onload": 0, | "read_only_onload": 0, | ||||
"sort_order": "ASC", | "sort_order": "ASC", | ||||
@@ -22,6 +22,7 @@ hi हिंदी | |||||
hr hrvatski | hr hrvatski | ||||
hu magyar | hu magyar | ||||
id Indonesia | id Indonesia | ||||
is íslenska | |||||
it italiano | it italiano | ||||
ja 日本語 | ja 日本語 | ||||
km ភាសាខ្មែរ | km ភាសាខ្មែរ | ||||
@@ -9,6 +9,7 @@ | |||||
"docstatus": 0, | "docstatus": 0, | ||||
"doctype": "DocType", | "doctype": "DocType", | ||||
"document_type": "Document", | "document_type": "Document", | ||||
"editable_grid": 0, | |||||
"fields": [ | "fields": [ | ||||
{ | { | ||||
"allow_on_submit": 0, | "allow_on_submit": 0, | ||||
@@ -96,7 +97,7 @@ | |||||
"issingle": 0, | "issingle": 0, | ||||
"istable": 0, | "istable": 0, | ||||
"max_attachments": 0, | "max_attachments": 0, | ||||
"modified": "2016-06-13 16:55:17.639957", | |||||
"modified": "2016-07-25 05:24:24.137761", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Desk", | "module": "Desk", | ||||
"name": "Note", | "name": "Note", | ||||
@@ -123,7 +124,7 @@ | |||||
"write": 1 | "write": 1 | ||||
} | } | ||||
], | ], | ||||
"quick_entry": 0, | |||||
"quick_entry": 1, | |||||
"read_only": 0, | "read_only": 0, | ||||
"read_only_onload": 1, | "read_only_onload": 1, | ||||
"sort_order": "ASC", | "sort_order": "ASC", | ||||
@@ -9,6 +9,7 @@ | |||||
"docstatus": 0, | "docstatus": 0, | ||||
"doctype": "DocType", | "doctype": "DocType", | ||||
"document_type": "Setup", | "document_type": "Setup", | ||||
"editable_grid": 0, | |||||
"fields": [ | "fields": [ | ||||
{ | { | ||||
"allow_on_submit": 0, | "allow_on_submit": 0, | ||||
@@ -72,7 +73,7 @@ | |||||
"issingle": 0, | "issingle": 0, | ||||
"istable": 0, | "istable": 0, | ||||
"max_attachments": 0, | "max_attachments": 0, | ||||
"modified": "2016-06-28 15:33:58.274566", | |||||
"modified": "2016-07-25 05:24:23.855996", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Email", | "module": "Email", | ||||
"name": "Email Group", | "name": "Email Group", | ||||
@@ -100,7 +101,7 @@ | |||||
"write": 1 | "write": 1 | ||||
} | } | ||||
], | ], | ||||
"quick_entry": 0, | |||||
"quick_entry": 1, | |||||
"read_only": 0, | "read_only": 0, | ||||
"read_only_onload": 0, | "read_only_onload": 0, | ||||
"sort_field": "modified", | "sort_field": "modified", | ||||
@@ -9,6 +9,7 @@ | |||||
"docstatus": 0, | "docstatus": 0, | ||||
"doctype": "DocType", | "doctype": "DocType", | ||||
"document_type": "Document", | "document_type": "Document", | ||||
"editable_grid": 0, | |||||
"fields": [ | "fields": [ | ||||
{ | { | ||||
"allow_on_submit": 0, | "allow_on_submit": 0, | ||||
@@ -97,7 +98,7 @@ | |||||
"issingle": 0, | "issingle": 0, | ||||
"istable": 0, | "istable": 0, | ||||
"max_attachments": 0, | "max_attachments": 0, | ||||
"modified": "2016-06-28 17:00:27.546534", | |||||
"modified": "2016-07-25 05:24:23.790234", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Email", | "module": "Email", | ||||
"name": "Email Group Member", | "name": "Email Group Member", | ||||
@@ -125,7 +126,7 @@ | |||||
"write": 1 | "write": 1 | ||||
} | } | ||||
], | ], | ||||
"quick_entry": 0, | |||||
"quick_entry": 1, | |||||
"read_only": 0, | "read_only": 0, | ||||
"read_only_onload": 0, | "read_only_onload": 0, | ||||
"sort_field": "modified", | "sort_field": "modified", | ||||
@@ -0,0 +1,8 @@ | |||||
// Copyright (c) 2016, Frappe Technologies and contributors | |||||
// For license information, please see license.txt | |||||
frappe.ui.form.on('Email Unsubscribe', { | |||||
refresh: function(frm) { | |||||
} | |||||
}); |
@@ -2,11 +2,13 @@ | |||||
"allow_copy": 0, | "allow_copy": 0, | ||||
"allow_import": 0, | "allow_import": 0, | ||||
"allow_rename": 0, | "allow_rename": 0, | ||||
"beta": 0, | |||||
"creation": "2015-03-18 09:41:20.216319", | "creation": "2015-03-18 09:41:20.216319", | ||||
"custom": 0, | "custom": 0, | ||||
"docstatus": 0, | "docstatus": 0, | ||||
"doctype": "DocType", | "doctype": "DocType", | ||||
"document_type": "System", | "document_type": "System", | ||||
"editable_grid": 0, | |||||
"fields": [ | "fields": [ | ||||
{ | { | ||||
"allow_on_submit": 0, | "allow_on_submit": 0, | ||||
@@ -16,6 +18,7 @@ | |||||
"fieldtype": "Data", | "fieldtype": "Data", | ||||
"hidden": 0, | "hidden": 0, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 1, | "in_list_view": 1, | ||||
"label": "Email", | "label": "Email", | ||||
@@ -24,6 +27,7 @@ | |||||
"permlevel": 0, | "permlevel": 0, | ||||
"precision": "", | "precision": "", | ||||
"print_hide": 0, | "print_hide": 0, | ||||
"print_hide_if_no_value": 0, | |||||
"read_only": 0, | "read_only": 0, | ||||
"report_hide": 0, | "report_hide": 0, | ||||
"reqd": 1, | "reqd": 1, | ||||
@@ -39,6 +43,7 @@ | |||||
"fieldtype": "Link", | "fieldtype": "Link", | ||||
"hidden": 0, | "hidden": 0, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 1, | "in_list_view": 1, | ||||
"label": "Reference DocType", | "label": "Reference DocType", | ||||
@@ -48,6 +53,7 @@ | |||||
"permlevel": 0, | "permlevel": 0, | ||||
"precision": "", | "precision": "", | ||||
"print_hide": 0, | "print_hide": 0, | ||||
"print_hide_if_no_value": 0, | |||||
"read_only": 0, | "read_only": 0, | ||||
"report_hide": 0, | "report_hide": 0, | ||||
"reqd": 0, | "reqd": 0, | ||||
@@ -63,6 +69,7 @@ | |||||
"fieldtype": "Dynamic Link", | "fieldtype": "Dynamic Link", | ||||
"hidden": 0, | "hidden": 0, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 1, | "in_list_view": 1, | ||||
"label": "Reference Name", | "label": "Reference Name", | ||||
@@ -72,6 +79,7 @@ | |||||
"permlevel": 0, | "permlevel": 0, | ||||
"precision": "", | "precision": "", | ||||
"print_hide": 0, | "print_hide": 0, | ||||
"print_hide_if_no_value": 0, | |||||
"read_only": 0, | "read_only": 0, | ||||
"report_hide": 0, | "report_hide": 0, | ||||
"reqd": 0, | "reqd": 0, | ||||
@@ -87,6 +95,7 @@ | |||||
"fieldtype": "Check", | "fieldtype": "Check", | ||||
"hidden": 0, | "hidden": 0, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 1, | "in_list_view": 1, | ||||
"label": "Global Unsubscribe", | "label": "Global Unsubscribe", | ||||
@@ -95,6 +104,7 @@ | |||||
"permlevel": 0, | "permlevel": 0, | ||||
"precision": "", | "precision": "", | ||||
"print_hide": 0, | "print_hide": 0, | ||||
"print_hide_if_no_value": 0, | |||||
"read_only": 0, | "read_only": 0, | ||||
"report_hide": 0, | "report_hide": 0, | ||||
"reqd": 0, | "reqd": 0, | ||||
@@ -105,13 +115,15 @@ | |||||
], | ], | ||||
"hide_heading": 0, | "hide_heading": 0, | ||||
"hide_toolbar": 0, | "hide_toolbar": 0, | ||||
"idx": 0, | |||||
"image_view": 0, | |||||
"in_create": 0, | "in_create": 0, | ||||
"in_dialog": 0, | "in_dialog": 0, | ||||
"is_submittable": 0, | "is_submittable": 0, | ||||
"issingle": 0, | "issingle": 0, | ||||
"istable": 0, | "istable": 0, | ||||
"max_attachments": 0, | "max_attachments": 0, | ||||
"modified": "2015-11-16 06:29:46.223148", | |||||
"modified": "2016-07-25 05:24:25.970291", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Email", | "module": "Email", | ||||
"name": "Email Unsubscribe", | "name": "Email Unsubscribe", | ||||
@@ -139,8 +151,10 @@ | |||||
"write": 1 | "write": 1 | ||||
} | } | ||||
], | ], | ||||
"quick_entry": 1, | |||||
"read_only": 0, | "read_only": 0, | ||||
"read_only_onload": 0, | "read_only_onload": 0, | ||||
"sort_field": "modified", | "sort_field": "modified", | ||||
"sort_order": "DESC" | |||||
"sort_order": "DESC", | |||||
"track_seen": 0 | |||||
} | } |
@@ -0,0 +1,8 @@ | |||||
// Copyright (c) 2016, Frappe Technologies and contributors | |||||
// For license information, please see license.txt | |||||
frappe.ui.form.on('Country', { | |||||
refresh: function(frm) { | |||||
} | |||||
}); |
@@ -3,11 +3,13 @@ | |||||
"allow_import": 1, | "allow_import": 1, | ||||
"allow_rename": 1, | "allow_rename": 1, | ||||
"autoname": "field:country_name", | "autoname": "field:country_name", | ||||
"beta": 0, | |||||
"creation": "2013-01-19 10:23:30", | "creation": "2013-01-19 10:23:30", | ||||
"custom": 0, | "custom": 0, | ||||
"docstatus": 0, | "docstatus": 0, | ||||
"doctype": "DocType", | "doctype": "DocType", | ||||
"document_type": "Setup", | "document_type": "Setup", | ||||
"editable_grid": 0, | |||||
"fields": [ | "fields": [ | ||||
{ | { | ||||
"allow_on_submit": 0, | "allow_on_submit": 0, | ||||
@@ -17,6 +19,7 @@ | |||||
"fieldtype": "Data", | "fieldtype": "Data", | ||||
"hidden": 0, | "hidden": 0, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 1, | "in_list_view": 1, | ||||
"label": "Country Name", | "label": "Country Name", | ||||
@@ -42,6 +45,7 @@ | |||||
"fieldtype": "Data", | "fieldtype": "Data", | ||||
"hidden": 0, | "hidden": 0, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 1, | "in_list_view": 1, | ||||
"label": "Date Format", | "label": "Date Format", | ||||
@@ -65,6 +69,7 @@ | |||||
"fieldtype": "Text", | "fieldtype": "Text", | ||||
"hidden": 0, | "hidden": 0, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 1, | "in_list_view": 1, | ||||
"label": "Time Zones", | "label": "Time Zones", | ||||
@@ -88,6 +93,7 @@ | |||||
"fieldtype": "Data", | "fieldtype": "Data", | ||||
"hidden": 0, | "hidden": 0, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 1, | "in_list_view": 1, | ||||
"label": "Code", | "label": "Code", | ||||
@@ -108,6 +114,7 @@ | |||||
"hide_toolbar": 0, | "hide_toolbar": 0, | ||||
"icon": "icon-globe", | "icon": "icon-globe", | ||||
"idx": 1, | "idx": 1, | ||||
"image_view": 0, | |||||
"in_create": 0, | "in_create": 0, | ||||
"in_dialog": 0, | "in_dialog": 0, | ||||
"is_submittable": 0, | "is_submittable": 0, | ||||
@@ -115,7 +122,7 @@ | |||||
"istable": 0, | "istable": 0, | ||||
"max_attachments": 0, | "max_attachments": 0, | ||||
"menu_index": 0, | "menu_index": 0, | ||||
"modified": "2015-12-16 02:12:12.092442", | |||||
"modified": "2016-07-25 05:24:25.180255", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Geo", | "module": "Geo", | ||||
"name": "Country", | "name": "Country", | ||||
@@ -162,8 +169,10 @@ | |||||
"write": 0 | "write": 0 | ||||
} | } | ||||
], | ], | ||||
"quick_entry": 1, | |||||
"read_only": 0, | "read_only": 0, | ||||
"read_only_onload": 0, | "read_only_onload": 0, | ||||
"sort_field": "country_name", | "sort_field": "country_name", | ||||
"sort_order": "ASC" | |||||
"sort_order": "ASC", | |||||
"track_seen": 0 | |||||
} | } |
@@ -308,8 +308,7 @@ frappe.new_doc = function (doctype, opts) { | |||||
var route = frappe.get_route(); | var route = frappe.get_route(); | ||||
if(route && !(route[0]==='List' && route[1]===doc.doctype)) { | if(route && !(route[0]==='List' && route[1]===doc.doctype)) { | ||||
show_alert('<a href="#Form/' + doc.doctype + '/' + doc.name + '">' | |||||
+ __('{0} {1} created', [doc.doctype, strip_html(title)]) + '</a>'); | |||||
frappe.set_route('Form', doc.doctype, doc.name); | |||||
} | } | ||||
}); | }); | ||||
} | } | ||||
@@ -17,6 +17,9 @@ frappe.socket = { | |||||
else if (window.location.protocol == "http:") { | else if (window.location.protocol == "http:") { | ||||
frappe.socket.socket = io.connect(frappe.socket.get_host()); | frappe.socket.socket = io.connect(frappe.socket.get_host()); | ||||
} | } | ||||
else if (window.location.protocol == "file:") { | |||||
frappe.socket.socket = io.connect(window.localStorage.server); | |||||
} | |||||
if (!frappe.socket.socket) { | if (!frappe.socket.socket) { | ||||
console.log("Unable to connect to " + frappe.socket.get_host()); | console.log("Unable to connect to " + frappe.socket.get_host()); | ||||
@@ -165,12 +165,15 @@ frappe.search = { | |||||
_item = __(item).toLowerCase().replace(/-/g, " "); | _item = __(item).toLowerCase().replace(/-/g, " "); | ||||
if(txt===_item || _item.indexOf(txt) !== -1) { | if(txt===_item || _item.indexOf(txt) !== -1) { | ||||
var option = process(item); | var option = process(item); | ||||
option.match = item; | |||||
if(prepend) { | |||||
frappe.search.options = [option].concat(frappe.search.options); | |||||
} else { | |||||
frappe.search.options.push(option); | |||||
if(option) { | |||||
option.match = item; | |||||
if(prepend) { | |||||
frappe.search.options = [option].concat(frappe.search.options); | |||||
} else { | |||||
frappe.search.options.push(option); | |||||
} | |||||
} | } | ||||
} | } | ||||
}); | }); | ||||
@@ -275,12 +278,16 @@ frappe.search.verbs = [ | |||||
// modules | // modules | ||||
function(txt) { | function(txt) { | ||||
frappe.search.find(keys(frappe.modules), txt, function(match) { | frappe.search.find(keys(frappe.modules), txt, function(match) { | ||||
var module = frappe.modules[match]; | |||||
if(module._doctype) return; | |||||
ret = { | ret = { | ||||
label: __("Open {0}", ["<b>"+__(match)+"</b>"]), | label: __("Open {0}", ["<b>"+__(match)+"</b>"]), | ||||
value: __("Open {0}", [__(match)]), | value: __("Open {0}", [__(match)]), | ||||
} | } | ||||
if(frappe.modules[match].link) { | |||||
ret.route = [frappe.modules[match].link]; | |||||
if(module.link) { | |||||
ret.route = [module.link]; | |||||
} else { | } else { | ||||
ret.route = ["Module", match]; | ret.route = ["Module", match]; | ||||
} | } | ||||
@@ -9,6 +9,7 @@ | |||||
"docstatus": 0, | "docstatus": 0, | ||||
"doctype": "DocType", | "doctype": "DocType", | ||||
"document_type": "Setup", | "document_type": "Setup", | ||||
"editable_grid": 0, | |||||
"fields": [ | "fields": [ | ||||
{ | { | ||||
"allow_on_submit": 0, | "allow_on_submit": 0, | ||||
@@ -120,7 +121,7 @@ | |||||
"issingle": 0, | "issingle": 0, | ||||
"istable": 0, | "istable": 0, | ||||
"max_attachments": 0, | "max_attachments": 0, | ||||
"modified": "2016-06-27 12:25:12.502119", | |||||
"modified": "2016-07-25 05:24:23.923106", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Website", | "module": "Website", | ||||
"name": "Blog Category", | "name": "Blog Category", | ||||
@@ -167,7 +168,7 @@ | |||||
"write": 0 | "write": 0 | ||||
} | } | ||||
], | ], | ||||
"quick_entry": 0, | |||||
"quick_entry": 1, | |||||
"read_only": 0, | "read_only": 0, | ||||
"read_only_onload": 0, | "read_only_onload": 0, | ||||
"sort_order": "DESC", | "sort_order": "DESC", | ||||
@@ -0,0 +1,8 @@ | |||||
// Copyright (c) 2016, Frappe Technologies and contributors | |||||
// For license information, please see license.txt | |||||
frappe.ui.form.on('Workflow Action', { | |||||
refresh: function(frm) { | |||||
} | |||||
}); |
@@ -3,11 +3,13 @@ | |||||
"allow_import": 0, | "allow_import": 0, | ||||
"allow_rename": 0, | "allow_rename": 0, | ||||
"autoname": "field:workflow_action_name", | "autoname": "field:workflow_action_name", | ||||
"beta": 0, | |||||
"creation": "2012-12-28 10:49:56", | "creation": "2012-12-28 10:49:56", | ||||
"custom": 0, | "custom": 0, | ||||
"description": "Workflow Action Master", | "description": "Workflow Action Master", | ||||
"docstatus": 0, | "docstatus": 0, | ||||
"doctype": "DocType", | "doctype": "DocType", | ||||
"editable_grid": 0, | |||||
"fields": [ | "fields": [ | ||||
{ | { | ||||
"allow_on_submit": 0, | "allow_on_submit": 0, | ||||
@@ -17,6 +19,7 @@ | |||||
"fieldtype": "Data", | "fieldtype": "Data", | ||||
"hidden": 0, | "hidden": 0, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 0, | "in_list_view": 0, | ||||
"label": "Workflow Action Name", | "label": "Workflow Action Name", | ||||
@@ -24,6 +27,7 @@ | |||||
"no_copy": 0, | "no_copy": 0, | ||||
"permlevel": 0, | "permlevel": 0, | ||||
"print_hide": 0, | "print_hide": 0, | ||||
"print_hide_if_no_value": 0, | |||||
"read_only": 0, | "read_only": 0, | ||||
"report_hide": 0, | "report_hide": 0, | ||||
"reqd": 1, | "reqd": 1, | ||||
@@ -36,13 +40,14 @@ | |||||
"hide_toolbar": 0, | "hide_toolbar": 0, | ||||
"icon": "icon-flag", | "icon": "icon-flag", | ||||
"idx": 1, | "idx": 1, | ||||
"image_view": 0, | |||||
"in_create": 0, | "in_create": 0, | ||||
"in_dialog": 0, | "in_dialog": 0, | ||||
"is_submittable": 0, | "is_submittable": 0, | ||||
"issingle": 0, | "issingle": 0, | ||||
"istable": 0, | "istable": 0, | ||||
"max_attachments": 0, | "max_attachments": 0, | ||||
"modified": "2015-11-16 06:30:00.884948", | |||||
"modified": "2016-07-25 05:24:25.364341", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Workflow", | "module": "Workflow", | ||||
"name": "Workflow Action", | "name": "Workflow Action", | ||||
@@ -69,6 +74,8 @@ | |||||
"write": 1 | "write": 1 | ||||
} | } | ||||
], | ], | ||||
"quick_entry": 1, | |||||
"read_only": 0, | "read_only": 0, | ||||
"read_only_onload": 0 | |||||
"read_only_onload": 0, | |||||
"track_seen": 0 | |||||
} | } |
@@ -0,0 +1,8 @@ | |||||
// Copyright (c) 2016, Frappe Technologies and contributors | |||||
// For license information, please see license.txt | |||||
frappe.ui.form.on('Workflow State', { | |||||
refresh: function(frm) { | |||||
} | |||||
}); |
@@ -3,12 +3,14 @@ | |||||
"allow_import": 1, | "allow_import": 1, | ||||
"allow_rename": 0, | "allow_rename": 0, | ||||
"autoname": "field:workflow_state_name", | "autoname": "field:workflow_state_name", | ||||
"beta": 0, | |||||
"creation": "2012-12-28 10:49:56", | "creation": "2012-12-28 10:49:56", | ||||
"custom": 0, | "custom": 0, | ||||
"description": "Workflow state represents the current state of a document.", | "description": "Workflow state represents the current state of a document.", | ||||
"docstatus": 0, | "docstatus": 0, | ||||
"doctype": "DocType", | "doctype": "DocType", | ||||
"document_type": "Setup", | "document_type": "Setup", | ||||
"editable_grid": 0, | |||||
"fields": [ | "fields": [ | ||||
{ | { | ||||
"allow_on_submit": 0, | "allow_on_submit": 0, | ||||
@@ -18,6 +20,7 @@ | |||||
"fieldtype": "Data", | "fieldtype": "Data", | ||||
"hidden": 0, | "hidden": 0, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 0, | "in_list_view": 0, | ||||
"label": "State", | "label": "State", | ||||
@@ -25,6 +28,7 @@ | |||||
"no_copy": 0, | "no_copy": 0, | ||||
"permlevel": 0, | "permlevel": 0, | ||||
"print_hide": 0, | "print_hide": 0, | ||||
"print_hide_if_no_value": 0, | |||||
"read_only": 0, | "read_only": 0, | ||||
"report_hide": 0, | "report_hide": 0, | ||||
"reqd": 1, | "reqd": 1, | ||||
@@ -41,6 +45,7 @@ | |||||
"fieldtype": "Select", | "fieldtype": "Select", | ||||
"hidden": 1, | "hidden": 1, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 0, | "in_list_view": 0, | ||||
"label": "Icon", | "label": "Icon", | ||||
@@ -49,6 +54,7 @@ | |||||
"options": "\nglass\nmusic\nsearch\nenvelope\nheart\nstar\nstar-empty\nuser\nfilm\nth-large\nth\nth-list\nok\nremove\nzoom-in\nzoom-out\noff\nsignal\ncog\ntrash\nhome\nfile\ntime\nroad\ndownload-alt\ndownload\nupload\ninbox\nplay-circle\nrepeat\nrefresh\nlist-alt\nlock\nflag\nheadphones\nvolume-off\nvolume-down\nvolume-up\nqrcode\nbarcode\ntag\ntags\nbook\nbookmark\nprint\ncamera\nfont\nbold\nitalic\ntext-height\ntext-width\nalign-left\nalign-center\nalign-right\nalign-justify\nlist\nindent-left\nindent-right\nfacetime-video\npicture\npencil\nmap-marker\nadjust\ntint\nedit\nshare\ncheck\nmove\nstep-backward\nfast-backward\nbackward\nplay\npause\nstop\nforward\nfast-forward\nstep-forward\neject\nchevron-left\nchevron-right\nplus-sign\nminus-sign\nremove-sign\nok-sign\nquestion-sign\ninfo-sign\nscreenshot\nremove-circle\nok-circle\nban-circle\narrow-left\narrow-right\narrow-up\narrow-down\nshare-alt\nresize-full\nresize-small\nplus\nminus\nasterisk\nexclamation-sign\ngift\nleaf\nfire\neye-open\neye-close\nwarning-sign\nplane\ncalendar\nrandom\ncomment\nmagnet\nchevron-up\nchevron-down\nretweet\nshopping-cart\nfolder-close\nfolder-open\nresize-vertical\nresize-horizontal\nhdd\nbullhorn\nbell\ncertificate\nthumbs-up\nthumbs-down\nhand-right\nhand-left\nhand-up\nhand-down\ncircle-arrow-right\ncircle-arrow-left\ncircle-arrow-up\ncircle-arrow-down\nglobe\nwrench\ntasks\nfilter\nbriefcase\nfullscreen", | "options": "\nglass\nmusic\nsearch\nenvelope\nheart\nstar\nstar-empty\nuser\nfilm\nth-large\nth\nth-list\nok\nremove\nzoom-in\nzoom-out\noff\nsignal\ncog\ntrash\nhome\nfile\ntime\nroad\ndownload-alt\ndownload\nupload\ninbox\nplay-circle\nrepeat\nrefresh\nlist-alt\nlock\nflag\nheadphones\nvolume-off\nvolume-down\nvolume-up\nqrcode\nbarcode\ntag\ntags\nbook\nbookmark\nprint\ncamera\nfont\nbold\nitalic\ntext-height\ntext-width\nalign-left\nalign-center\nalign-right\nalign-justify\nlist\nindent-left\nindent-right\nfacetime-video\npicture\npencil\nmap-marker\nadjust\ntint\nedit\nshare\ncheck\nmove\nstep-backward\nfast-backward\nbackward\nplay\npause\nstop\nforward\nfast-forward\nstep-forward\neject\nchevron-left\nchevron-right\nplus-sign\nminus-sign\nremove-sign\nok-sign\nquestion-sign\ninfo-sign\nscreenshot\nremove-circle\nok-circle\nban-circle\narrow-left\narrow-right\narrow-up\narrow-down\nshare-alt\nresize-full\nresize-small\nplus\nminus\nasterisk\nexclamation-sign\ngift\nleaf\nfire\neye-open\neye-close\nwarning-sign\nplane\ncalendar\nrandom\ncomment\nmagnet\nchevron-up\nchevron-down\nretweet\nshopping-cart\nfolder-close\nfolder-open\nresize-vertical\nresize-horizontal\nhdd\nbullhorn\nbell\ncertificate\nthumbs-up\nthumbs-down\nhand-right\nhand-left\nhand-up\nhand-down\ncircle-arrow-right\ncircle-arrow-left\ncircle-arrow-up\ncircle-arrow-down\nglobe\nwrench\ntasks\nfilter\nbriefcase\nfullscreen", | ||||
"permlevel": 0, | "permlevel": 0, | ||||
"print_hide": 0, | "print_hide": 0, | ||||
"print_hide_if_no_value": 0, | |||||
"read_only": 0, | "read_only": 0, | ||||
"report_hide": 0, | "report_hide": 0, | ||||
"reqd": 0, | "reqd": 0, | ||||
@@ -65,6 +71,7 @@ | |||||
"fieldtype": "Select", | "fieldtype": "Select", | ||||
"hidden": 0, | "hidden": 0, | ||||
"ignore_user_permissions": 0, | "ignore_user_permissions": 0, | ||||
"ignore_xss_filter": 0, | |||||
"in_filter": 0, | "in_filter": 0, | ||||
"in_list_view": 0, | "in_list_view": 0, | ||||
"label": "Style", | "label": "Style", | ||||
@@ -73,6 +80,7 @@ | |||||
"options": "\nPrimary\nInfo\nSuccess\nWarning\nDanger\nInverse", | "options": "\nPrimary\nInfo\nSuccess\nWarning\nDanger\nInverse", | ||||
"permlevel": 0, | "permlevel": 0, | ||||
"print_hide": 0, | "print_hide": 0, | ||||
"print_hide_if_no_value": 0, | |||||
"read_only": 0, | "read_only": 0, | ||||
"report_hide": 0, | "report_hide": 0, | ||||
"reqd": 0, | "reqd": 0, | ||||
@@ -85,13 +93,14 @@ | |||||
"hide_toolbar": 0, | "hide_toolbar": 0, | ||||
"icon": "icon-flag", | "icon": "icon-flag", | ||||
"idx": 1, | "idx": 1, | ||||
"image_view": 0, | |||||
"in_create": 0, | "in_create": 0, | ||||
"in_dialog": 0, | "in_dialog": 0, | ||||
"is_submittable": 0, | "is_submittable": 0, | ||||
"issingle": 0, | "issingle": 0, | ||||
"istable": 0, | "istable": 0, | ||||
"max_attachments": 0, | "max_attachments": 0, | ||||
"modified": "2015-11-16 06:30:00.960083", | |||||
"modified": "2016-07-25 05:24:25.280644", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Workflow", | "module": "Workflow", | ||||
"name": "Workflow State", | "name": "Workflow State", | ||||
@@ -118,6 +127,8 @@ | |||||
"write": 1 | "write": 1 | ||||
} | } | ||||
], | ], | ||||
"quick_entry": 1, | |||||
"read_only": 0, | "read_only": 0, | ||||
"read_only_onload": 0 | |||||
"read_only_onload": 0, | |||||
"track_seen": 0 | |||||
} | } |