commit
583124d85a
238 changed files with 6276 additions and 1948 deletions
|
|
@ -318,7 +318,7 @@ def sendmail(recipients=(), sender="", subject="No Subject", message="No Message
|
|||
as_markdown=False, bulk=False, reference_doctype=None, reference_name=None,
|
||||
unsubscribe_method=None, unsubscribe_params=None, unsubscribe_message=None,
|
||||
attachments=None, content=None, doctype=None, name=None, reply_to=None,
|
||||
cc=(), show_as_cc=(), message_id=None, as_bulk=False, send_after=None, expose_recipients=False,
|
||||
cc=(), show_as_cc=(), message_id=None, in_reply_to=None, as_bulk=False, send_after=None, expose_recipients=False,
|
||||
bulk_priority=1):
|
||||
"""Send email using user's default **Email Account** or global default **Email Account**.
|
||||
|
||||
|
|
@ -337,6 +337,7 @@ def sendmail(recipients=(), sender="", subject="No Subject", message="No Message
|
|||
:param attachments: List of attachments.
|
||||
:param reply_to: Reply-To email id.
|
||||
:param message_id: Used for threading. If a reply is received to this email, Message-Id is sent back as In-Reply-To in received email.
|
||||
:param in_reply_to: Used to send the Message-Id of a received email back as In-Reply-To.
|
||||
:param send_after: Send after the given datetime.
|
||||
:param expose_recipients: Display all recipients in the footer message - "This email was sent to"
|
||||
"""
|
||||
|
|
@ -347,18 +348,18 @@ def sendmail(recipients=(), sender="", subject="No Subject", message="No Message
|
|||
subject=subject, message=content or message,
|
||||
reference_doctype = doctype or reference_doctype, reference_name = name or reference_name,
|
||||
unsubscribe_method=unsubscribe_method, unsubscribe_params=unsubscribe_params, unsubscribe_message=unsubscribe_message,
|
||||
attachments=attachments, reply_to=reply_to, cc=cc, show_as_cc=show_as_cc, message_id=message_id, send_after=send_after,
|
||||
expose_recipients=expose_recipients, bulk_priority=bulk_priority)
|
||||
attachments=attachments, reply_to=reply_to, cc=cc, show_as_cc=show_as_cc, message_id=message_id, in_reply_to=in_reply_to,
|
||||
send_after=send_after, expose_recipients=expose_recipients, bulk_priority=bulk_priority)
|
||||
else:
|
||||
import frappe.email
|
||||
if as_markdown:
|
||||
frappe.email.sendmail_md(recipients, sender=sender,
|
||||
subject=subject, msg=content or message, attachments=attachments, reply_to=reply_to,
|
||||
cc=cc, message_id=message_id)
|
||||
cc=cc, message_id=message_id, in_reply_to=in_reply_to)
|
||||
else:
|
||||
frappe.email.sendmail(recipients, sender=sender,
|
||||
subject=subject, msg=content or message, attachments=attachments, reply_to=reply_to,
|
||||
cc=cc, message_id=message_id)
|
||||
cc=cc, message_id=message_id, in_reply_to=in_reply_to)
|
||||
|
||||
logger = None
|
||||
whitelisted = []
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
from __future__ import unicode_literals
|
||||
__version__ = "6.23.3"
|
||||
__version__ = "6.24.10"
|
||||
|
|
|
|||
|
|
@ -15,15 +15,8 @@ def validate_comment(doc):
|
|||
if not (doc.communication_type=='Comment' and doc.reference_doctype and doc.reference_name):
|
||||
return
|
||||
|
||||
comment_count = frappe.db.sql("""select count(*) from `tabCommunication`
|
||||
where
|
||||
communication_type='Comment'
|
||||
and reference_doctype=%(reference_doctype)s
|
||||
and reference_name=%(reference_name)s""",
|
||||
{"reference_doctype": doc.reference_doctype, "reference_name": doc.reference_name})[0][0]
|
||||
|
||||
if comment_count >= 50:
|
||||
frappe.throw(_("Cannot add more than 50 comments"))
|
||||
if doc.comment_type=="Comment" and "<!-- markdown -->" not in doc.content:
|
||||
doc.content += '\n<!-- markdown -->'
|
||||
|
||||
def on_trash(doc):
|
||||
if doc.communication_type != "Comment":
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
|
|
@ -16,6 +16,7 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "",
|
||||
|
|
@ -39,6 +40,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Label",
|
||||
|
|
@ -67,6 +69,7 @@
|
|||
"fieldtype": "Select",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Type",
|
||||
|
|
@ -93,6 +96,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Name",
|
||||
|
|
@ -118,6 +122,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Mandatory",
|
||||
|
|
@ -147,6 +152,7 @@
|
|||
"fieldtype": "Select",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Precision",
|
||||
|
|
@ -172,6 +178,7 @@
|
|||
"fieldtype": "Int",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Length",
|
||||
|
|
@ -196,6 +203,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Index",
|
||||
|
|
@ -223,6 +231,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "In List View",
|
||||
|
|
@ -248,6 +257,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Bold",
|
||||
|
|
@ -273,6 +283,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Collapsible",
|
||||
|
|
@ -295,9 +306,10 @@
|
|||
"collapsible": 0,
|
||||
"depends_on": "eval:doc.fieldtype==\"Section Break\"",
|
||||
"fieldname": "collapsible_depends_on",
|
||||
"fieldtype": "Small Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Collapsible Depends On",
|
||||
|
|
@ -322,6 +334,7 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -345,6 +358,7 @@
|
|||
"fieldtype": "Text",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Options",
|
||||
|
|
@ -370,6 +384,7 @@
|
|||
"fieldtype": "Small Text",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Default",
|
||||
|
|
@ -395,6 +410,7 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Permissions",
|
||||
|
|
@ -415,9 +431,10 @@
|
|||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"fieldname": "depends_on",
|
||||
"fieldtype": "Small Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Depends On",
|
||||
|
|
@ -443,6 +460,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Hidden",
|
||||
|
|
@ -470,6 +488,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Read Only",
|
||||
|
|
@ -495,6 +514,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Unique",
|
||||
|
|
@ -520,6 +540,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Set Only Once",
|
||||
|
|
@ -543,6 +564,7 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -566,6 +588,7 @@
|
|||
"fieldtype": "Int",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Perm Level",
|
||||
|
|
@ -594,6 +617,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Ignore User Permissions",
|
||||
|
|
@ -617,6 +641,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Allow on Submit",
|
||||
|
|
@ -644,6 +669,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Report Hide",
|
||||
|
|
@ -663,6 +689,32 @@
|
|||
"unique": 0,
|
||||
"width": "50px"
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 0,
|
||||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"description": "Don't HTML Encode HTML tags like <script> or just characters like < or >, as they could be intentionally used in this field",
|
||||
"fieldname": "ignore_xss_filter",
|
||||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Ignore XSS Filter",
|
||||
"length": 0,
|
||||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"precision": "",
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
"search_index": 0,
|
||||
"set_only_once": 0,
|
||||
"unique": 0
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 0,
|
||||
"bold": 0,
|
||||
|
|
@ -671,6 +723,7 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Display",
|
||||
|
|
@ -694,6 +747,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "In Filter",
|
||||
|
|
@ -721,6 +775,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "No Copy",
|
||||
|
|
@ -748,6 +803,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Print Hide",
|
||||
|
|
@ -776,6 +832,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Print Hide If No Value",
|
||||
|
|
@ -800,6 +857,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Print Width",
|
||||
|
|
@ -823,6 +881,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Width",
|
||||
|
|
@ -850,6 +909,7 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -872,6 +932,7 @@
|
|||
"fieldtype": "Small Text",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Description",
|
||||
|
|
@ -899,6 +960,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -923,6 +985,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -949,12 +1012,13 @@
|
|||
"issingle": 0,
|
||||
"istable": 1,
|
||||
"max_attachments": 0,
|
||||
"modified": "2015-11-24 02:28:08.985496",
|
||||
"modified": "2016-02-22 09:08:47.112186",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Core",
|
||||
"name": "DocField",
|
||||
"owner": "Administrator",
|
||||
"permissions": [],
|
||||
"read_only": 0,
|
||||
"read_only_onload": 0
|
||||
"read_only_onload": 0,
|
||||
"sort_order": "ASC"
|
||||
}
|
||||
|
|
@ -16,6 +16,7 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Role and Level",
|
||||
|
|
@ -23,6 +24,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -38,6 +40,7 @@
|
|||
"fieldtype": "Link",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Role",
|
||||
|
|
@ -48,6 +51,7 @@
|
|||
"options": "Role",
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"print_width": "150px",
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
|
|
@ -66,6 +70,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Apply User Permissions",
|
||||
|
|
@ -73,6 +78,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -89,6 +95,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "If user is the owner",
|
||||
|
|
@ -97,6 +104,7 @@
|
|||
"permlevel": 0,
|
||||
"precision": "",
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -112,12 +120,14 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -134,6 +144,7 @@
|
|||
"fieldtype": "Int",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Level",
|
||||
|
|
@ -143,6 +154,7 @@
|
|||
"oldfieldtype": "Int",
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"print_width": "40px",
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
|
|
@ -159,9 +171,10 @@
|
|||
"depends_on": "",
|
||||
"description": "JSON list of DocTypes used to apply User Permissions. If empty, all linked DocTypes will be used to apply User Permissions.",
|
||||
"fieldname": "user_permission_doctypes",
|
||||
"fieldtype": "Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "User Permission DocTypes",
|
||||
|
|
@ -169,6 +182,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 1,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -184,6 +198,7 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Permissions",
|
||||
|
|
@ -191,6 +206,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -207,6 +223,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Read",
|
||||
|
|
@ -216,6 +233,7 @@
|
|||
"oldfieldtype": "Check",
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"print_width": "32px",
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
|
|
@ -234,6 +252,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Write",
|
||||
|
|
@ -243,6 +262,7 @@
|
|||
"oldfieldtype": "Check",
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"print_width": "32px",
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
|
|
@ -261,6 +281,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Create",
|
||||
|
|
@ -270,6 +291,7 @@
|
|||
"oldfieldtype": "Check",
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"print_width": "32px",
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
|
|
@ -288,6 +310,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Delete",
|
||||
|
|
@ -295,6 +318,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -310,12 +334,14 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -331,6 +357,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Submit",
|
||||
|
|
@ -340,6 +367,7 @@
|
|||
"oldfieldtype": "Check",
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"print_width": "32px",
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
|
|
@ -357,6 +385,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Cancel",
|
||||
|
|
@ -366,6 +395,7 @@
|
|||
"oldfieldtype": "Check",
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"print_width": "32px",
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
|
|
@ -383,6 +413,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Amend",
|
||||
|
|
@ -392,6 +423,7 @@
|
|||
"oldfieldtype": "Check",
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"print_width": "32px",
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
|
|
@ -409,6 +441,7 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Additional Permissions",
|
||||
|
|
@ -416,6 +449,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -432,6 +466,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Report",
|
||||
|
|
@ -439,6 +474,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"print_width": "32px",
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
|
|
@ -457,6 +493,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Export",
|
||||
|
|
@ -464,6 +501,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -479,6 +517,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Import",
|
||||
|
|
@ -486,6 +525,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -502,6 +542,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Set User Permissions",
|
||||
|
|
@ -509,6 +550,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -524,12 +566,14 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -546,6 +590,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Share",
|
||||
|
|
@ -554,6 +599,7 @@
|
|||
"permlevel": 0,
|
||||
"precision": "",
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -570,6 +616,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Print",
|
||||
|
|
@ -577,6 +624,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -593,6 +641,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Email",
|
||||
|
|
@ -600,6 +649,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -617,7 +667,7 @@
|
|||
"issingle": 0,
|
||||
"istable": 1,
|
||||
"max_attachments": 0,
|
||||
"modified": "2015-11-16 06:29:45.429411",
|
||||
"modified": "2016-02-22 09:18:14.138259",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Core",
|
||||
"name": "DocPerm",
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
"fieldtype": "HTML",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Snapshot View",
|
||||
|
|
@ -40,6 +41,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 1,
|
||||
"in_list_view": 0,
|
||||
"label": "Seen",
|
||||
|
|
@ -61,9 +63,10 @@
|
|||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"fieldname": "evalue",
|
||||
"fieldtype": "Small Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Friendly Title",
|
||||
|
|
@ -88,6 +91,7 @@
|
|||
"fieldtype": "Datetime",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Timestamp",
|
||||
|
|
@ -113,6 +117,7 @@
|
|||
"fieldtype": "Int",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Relapses",
|
||||
|
|
@ -137,6 +142,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Exception Type",
|
||||
|
|
@ -158,9 +164,10 @@
|
|||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"fieldname": "traceback",
|
||||
"fieldtype": "Small Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Traceback",
|
||||
|
|
@ -185,6 +192,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Parent Error Snapshot",
|
||||
|
|
@ -207,9 +215,10 @@
|
|||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"fieldname": "pyver",
|
||||
"fieldtype": "Small Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Pyver",
|
||||
|
|
@ -231,9 +240,10 @@
|
|||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"fieldname": "exception",
|
||||
"fieldtype": "Small Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Exception",
|
||||
|
|
@ -255,9 +265,10 @@
|
|||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"fieldname": "locals",
|
||||
"fieldtype": "Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Locals",
|
||||
|
|
@ -279,9 +290,10 @@
|
|||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"fieldname": "frames",
|
||||
"fieldtype": "Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Frames",
|
||||
|
|
@ -308,7 +320,7 @@
|
|||
"issingle": 0,
|
||||
"istable": 0,
|
||||
"max_attachments": 0,
|
||||
"modified": "2015-12-28 00:44:30.751680",
|
||||
"modified": "2016-02-22 09:23:46.208471",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Core",
|
||||
"name": "Error Snapshot",
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "File Name",
|
||||
|
|
@ -42,6 +43,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Is Private",
|
||||
|
|
@ -66,6 +68,7 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Preview",
|
||||
|
|
@ -90,6 +93,7 @@
|
|||
"fieldtype": "HTML",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Preview HTML",
|
||||
|
|
@ -114,6 +118,7 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -138,6 +143,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Is Home Folder",
|
||||
|
|
@ -162,6 +168,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Is Attachments Folder",
|
||||
|
|
@ -186,6 +193,7 @@
|
|||
"fieldtype": "Int",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "File Size",
|
||||
|
|
@ -209,6 +217,7 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -230,9 +239,10 @@
|
|||
"collapsible": 0,
|
||||
"depends_on": "eval:!doc.is_folder",
|
||||
"fieldname": "file_url",
|
||||
"fieldtype": "Small Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "File URL",
|
||||
|
|
@ -256,6 +266,7 @@
|
|||
"fieldtype": "Small Text",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Thumbnail URL",
|
||||
|
|
@ -280,6 +291,7 @@
|
|||
"fieldtype": "Link",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Folder",
|
||||
|
|
@ -305,6 +317,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Is Folder",
|
||||
|
|
@ -330,6 +343,7 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -353,6 +367,7 @@
|
|||
"fieldtype": "Link",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Attached To DocType",
|
||||
|
|
@ -377,6 +392,7 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -400,6 +416,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Attached To Name",
|
||||
|
|
@ -423,6 +440,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Content Hash",
|
||||
|
|
@ -446,6 +464,7 @@
|
|||
"fieldtype": "Int",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "lft",
|
||||
|
|
@ -470,6 +489,7 @@
|
|||
"fieldtype": "Int",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "rgt",
|
||||
|
|
@ -494,6 +514,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "old_parent",
|
||||
|
|
@ -522,7 +543,7 @@
|
|||
"istable": 0,
|
||||
"max_attachments": 0,
|
||||
"menu_index": 0,
|
||||
"modified": "2015-12-08 05:03:48.767257",
|
||||
"modified": "2016-02-22 09:23:59.892258",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Core",
|
||||
"name": "File",
|
||||
|
|
|
|||
8
frappe/core/doctype/patch_log/patch_log.js
Normal file
8
frappe/core/doctype/patch_log/patch_log.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Patch Log', {
|
||||
refresh: function(frm) {
|
||||
|
||||
}
|
||||
});
|
||||
|
|
@ -15,9 +15,10 @@
|
|||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"fieldname": "patch",
|
||||
"fieldtype": "Small Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Patch",
|
||||
|
|
@ -25,6 +26,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -43,7 +45,7 @@
|
|||
"issingle": 0,
|
||||
"istable": 0,
|
||||
"max_attachments": 0,
|
||||
"modified": "2015-11-16 06:29:51.487656",
|
||||
"modified": "2016-02-22 09:31:31.854246",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Core",
|
||||
"name": "Patch Log",
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Report Name",
|
||||
|
|
@ -24,6 +25,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 1,
|
||||
|
|
@ -39,6 +41,7 @@
|
|||
"fieldtype": "Link",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Ref DocType",
|
||||
|
|
@ -47,6 +50,7 @@
|
|||
"options": "DocType",
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 1,
|
||||
|
|
@ -62,6 +66,7 @@
|
|||
"fieldtype": "Select",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Is Standard",
|
||||
|
|
@ -70,6 +75,7 @@
|
|||
"options": "No\nYes",
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 1,
|
||||
|
|
@ -85,6 +91,7 @@
|
|||
"fieldtype": "Link",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Module",
|
||||
|
|
@ -93,6 +100,7 @@
|
|||
"options": "Module Def",
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -108,6 +116,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Add Total Row",
|
||||
|
|
@ -115,6 +124,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -130,12 +140,14 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -151,6 +163,7 @@
|
|||
"fieldtype": "Select",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Report Type",
|
||||
|
|
@ -159,6 +172,7 @@
|
|||
"options": "Report Builder\nQuery Report\nScript Report",
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 1,
|
||||
|
|
@ -174,6 +188,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Disabled",
|
||||
|
|
@ -181,6 +196,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -198,6 +214,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Apply User Permissions",
|
||||
|
|
@ -205,6 +222,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -220,12 +238,14 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -242,6 +262,7 @@
|
|||
"fieldtype": "Code",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Query",
|
||||
|
|
@ -249,6 +270,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -266,6 +288,7 @@
|
|||
"fieldtype": "Code",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Javascript",
|
||||
|
|
@ -273,6 +296,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -286,9 +310,10 @@
|
|||
"collapsible": 0,
|
||||
"depends_on": "eval:doc.report_type==\"Report Builder\"",
|
||||
"fieldname": "json",
|
||||
"fieldtype": "Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "JSON",
|
||||
|
|
@ -296,6 +321,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 1,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -314,7 +340,7 @@
|
|||
"issingle": 0,
|
||||
"istable": 0,
|
||||
"max_attachments": 0,
|
||||
"modified": "2015-11-16 06:29:55.357855",
|
||||
"modified": "2016-02-22 09:14:41.050580",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Core",
|
||||
"name": "Report",
|
||||
|
|
|
|||
8
frappe/core/doctype/scheduler_log/scheduler_log.js
Normal file
8
frappe/core/doctype/scheduler_log/scheduler_log.js
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
// Copyright (c) 2016, Frappe Technologies Pvt. Ltd. and contributors
|
||||
// For license information, please see license.txt
|
||||
|
||||
frappe.ui.form.on('Scheduler Log', {
|
||||
refresh: function(frm) {
|
||||
|
||||
}
|
||||
});
|
||||
|
|
@ -19,6 +19,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Seen",
|
||||
|
|
@ -27,6 +28,7 @@
|
|||
"permlevel": 0,
|
||||
"precision": "",
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -42,6 +44,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Method",
|
||||
|
|
@ -49,6 +52,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -61,9 +65,10 @@
|
|||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"fieldname": "error",
|
||||
"fieldtype": "Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Error",
|
||||
|
|
@ -71,6 +76,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
|
|
@ -89,7 +95,7 @@
|
|||
"issingle": 0,
|
||||
"istable": 0,
|
||||
"max_attachments": 0,
|
||||
"modified": "2015-11-16 06:29:57.440897",
|
||||
"modified": "2016-02-22 09:35:31.852571",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Core",
|
||||
"name": "Scheduler Log",
|
||||
|
|
|
|||
|
|
@ -17,6 +17,7 @@
|
|||
"fieldtype": "Link",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Ref DocType",
|
||||
|
|
@ -25,6 +26,7 @@
|
|||
"options": "DocType",
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 1,
|
||||
|
|
@ -40,6 +42,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Docname",
|
||||
|
|
@ -47,6 +50,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 1,
|
||||
|
|
@ -62,6 +66,7 @@
|
|||
"fieldtype": "Code",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Doclist JSON",
|
||||
|
|
@ -69,6 +74,7 @@
|
|||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 1,
|
||||
|
|
@ -87,7 +93,7 @@
|
|||
"issingle": 0,
|
||||
"istable": 0,
|
||||
"max_attachments": 0,
|
||||
"modified": "2015-11-16 06:30:00.036254",
|
||||
"modified": "2016-02-22 07:59:43.968145",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Core",
|
||||
"name": "Version",
|
||||
|
|
@ -115,5 +121,6 @@
|
|||
}
|
||||
],
|
||||
"read_only": 0,
|
||||
"read_only_onload": 0
|
||||
"read_only_onload": 0,
|
||||
"sort_order": "ASC"
|
||||
}
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
"description": "Adds a custom field to a DocType",
|
||||
"docstatus": 0,
|
||||
"doctype": "DocType",
|
||||
"document_type": "Setup",
|
||||
"fields": [
|
||||
{
|
||||
"allow_on_submit": 0,
|
||||
|
|
@ -16,6 +17,7 @@
|
|||
"fieldtype": "Link",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 1,
|
||||
"in_list_view": 1,
|
||||
"label": "Document",
|
||||
|
|
@ -42,6 +44,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 1,
|
||||
"in_list_view": 0,
|
||||
"label": "Label",
|
||||
|
|
@ -67,6 +70,7 @@
|
|||
"fieldtype": "HTML",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Label Help",
|
||||
|
|
@ -91,6 +95,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Fieldname",
|
||||
|
|
@ -118,6 +123,7 @@
|
|||
"fieldtype": "Select",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Insert After",
|
||||
|
|
@ -143,6 +149,7 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -167,6 +174,7 @@
|
|||
"fieldtype": "Select",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 1,
|
||||
"in_list_view": 1,
|
||||
"label": "Field Type",
|
||||
|
|
@ -195,6 +203,7 @@
|
|||
"fieldtype": "Select",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Precision",
|
||||
|
|
@ -220,6 +229,7 @@
|
|||
"fieldtype": "Text",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Options",
|
||||
|
|
@ -245,6 +255,7 @@
|
|||
"fieldtype": "HTML",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Options Help",
|
||||
|
|
@ -269,6 +280,7 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -293,6 +305,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Collapsible",
|
||||
|
|
@ -315,9 +328,10 @@
|
|||
"collapsible": 0,
|
||||
"depends_on": "eval:doc.fieldtype==\"Section Break\"",
|
||||
"fieldname": "collapsible_depends_on",
|
||||
"fieldtype": "Data",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Collapsible Depends On",
|
||||
|
|
@ -342,6 +356,7 @@
|
|||
"fieldtype": "Text",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Default Value",
|
||||
|
|
@ -364,9 +379,10 @@
|
|||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"fieldname": "depends_on",
|
||||
"fieldtype": "Small Text",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Depends On",
|
||||
|
|
@ -390,6 +406,7 @@
|
|||
"fieldtype": "Text",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Field Description",
|
||||
|
|
@ -418,6 +435,7 @@
|
|||
"fieldtype": "Int",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Permission Level",
|
||||
|
|
@ -443,6 +461,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Width",
|
||||
|
|
@ -468,6 +487,7 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "",
|
||||
|
|
@ -494,6 +514,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Is Mandatory Field",
|
||||
|
|
@ -519,6 +540,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Unique",
|
||||
|
|
@ -543,6 +565,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Read Only",
|
||||
|
|
@ -567,6 +590,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Ignore User Permissions",
|
||||
|
|
@ -590,6 +614,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Hidden",
|
||||
|
|
@ -613,6 +638,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Print Hide",
|
||||
|
|
@ -639,6 +665,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Print Hide If No Value",
|
||||
|
|
@ -663,6 +690,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Print Width",
|
||||
|
|
@ -686,6 +714,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "No Copy",
|
||||
|
|
@ -711,6 +740,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Allow on Submit",
|
||||
|
|
@ -736,6 +766,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "In Report Filter",
|
||||
|
|
@ -761,6 +792,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "In List View",
|
||||
|
|
@ -784,6 +816,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Report Hide",
|
||||
|
|
@ -809,6 +842,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Index",
|
||||
|
|
@ -823,6 +857,32 @@
|
|||
"search_index": 0,
|
||||
"set_only_once": 0,
|
||||
"unique": 0
|
||||
},
|
||||
{
|
||||
"allow_on_submit": 0,
|
||||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"description": "Don't HTML Encode HTML tags like <script> or just characters like < or >, as they could be intentionally used in this field",
|
||||
"fieldname": "ignore_xss_filter",
|
||||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Ignore XSS Filter",
|
||||
"length": 0,
|
||||
"no_copy": 0,
|
||||
"permlevel": 0,
|
||||
"precision": "",
|
||||
"print_hide": 0,
|
||||
"print_hide_if_no_value": 0,
|
||||
"read_only": 0,
|
||||
"report_hide": 0,
|
||||
"reqd": 0,
|
||||
"search_index": 0,
|
||||
"set_only_once": 0,
|
||||
"unique": 0
|
||||
}
|
||||
],
|
||||
"hide_heading": 0,
|
||||
|
|
@ -835,7 +895,7 @@
|
|||
"issingle": 0,
|
||||
"istable": 0,
|
||||
"max_attachments": 0,
|
||||
"modified": "2016-01-25 04:54:05.700031",
|
||||
"modified": "2016-02-22 09:11:06.796094",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Custom",
|
||||
"name": "Custom Field",
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
"custom": 0,
|
||||
"docstatus": 0,
|
||||
"doctype": "DocType",
|
||||
"document_type": "Setup",
|
||||
"fields": [
|
||||
{
|
||||
"allow_on_submit": 0,
|
||||
|
|
@ -16,6 +17,7 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Label and Type",
|
||||
|
|
@ -40,6 +42,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Label",
|
||||
|
|
@ -66,6 +69,7 @@
|
|||
"fieldtype": "Select",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Type",
|
||||
|
|
@ -92,6 +96,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Name",
|
||||
|
|
@ -117,6 +122,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Mandatory",
|
||||
|
|
@ -144,6 +150,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Unique",
|
||||
|
|
@ -168,6 +175,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "In List View",
|
||||
|
|
@ -191,6 +199,7 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -216,6 +225,7 @@
|
|||
"fieldtype": "Select",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Precision",
|
||||
|
|
@ -242,6 +252,7 @@
|
|||
"fieldtype": "Int",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Length",
|
||||
|
|
@ -267,6 +278,7 @@
|
|||
"fieldtype": "Text",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Options",
|
||||
|
|
@ -292,6 +304,7 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Permissions",
|
||||
|
|
@ -312,11 +325,12 @@
|
|||
"allow_on_submit": 0,
|
||||
"bold": 0,
|
||||
"collapsible": 0,
|
||||
"description": "This field will appear only if the fieldname defined here has value OR the rules are true (examples): \nmyfield\neval:doc.myfield=='My Value'\neval:doc.age>18",
|
||||
"description": "This field will appear only if the fieldname defined here has value OR the rules are true (examples): \nmyfield\neval:doc.myfield=='My Value'\neval:doc.age>18",
|
||||
"fieldname": "depends_on",
|
||||
"fieldtype": "Data",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Depends On",
|
||||
|
|
@ -343,6 +357,7 @@
|
|||
"fieldtype": "Int",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Perm Level",
|
||||
|
|
@ -368,6 +383,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Hidden",
|
||||
|
|
@ -395,6 +411,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Read Only",
|
||||
|
|
@ -420,6 +437,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Collapsible",
|
||||
|
|
@ -442,9 +460,10 @@
|
|||
"collapsible": 0,
|
||||
"depends_on": "eval:doc.fieldtype==\"Section Break\"",
|
||||
"fieldname": "collapsible_depends_on",
|
||||
"fieldtype": "Data",
|
||||
"fieldtype": "Code",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Collapsible Depends On",
|
||||
|
|
@ -469,6 +488,7 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -492,6 +512,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Ignore User Permissions",
|
||||
|
|
@ -515,6 +536,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Allow on Submit",
|
||||
|
|
@ -540,6 +562,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Report Hide",
|
||||
|
|
@ -565,6 +588,7 @@
|
|||
"fieldtype": "Section Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Display",
|
||||
|
|
@ -589,6 +613,7 @@
|
|||
"fieldtype": "Text",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Default",
|
||||
|
|
@ -614,6 +639,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "In Filter",
|
||||
|
|
@ -641,6 +667,7 @@
|
|||
"fieldtype": "Column Break",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"length": 0,
|
||||
|
|
@ -664,6 +691,7 @@
|
|||
"fieldtype": "Text",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Description",
|
||||
|
|
@ -691,6 +719,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Print Hide",
|
||||
|
|
@ -717,6 +746,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Print Hide If No Value",
|
||||
|
|
@ -742,6 +772,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Print Width",
|
||||
|
|
@ -767,6 +798,7 @@
|
|||
"fieldtype": "Data",
|
||||
"hidden": 0,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 1,
|
||||
"label": "Width",
|
||||
|
|
@ -794,6 +826,7 @@
|
|||
"fieldtype": "Check",
|
||||
"hidden": 1,
|
||||
"ignore_user_permissions": 0,
|
||||
"ignore_xss_filter": 0,
|
||||
"in_filter": 0,
|
||||
"in_list_view": 0,
|
||||
"label": "Is Custom Field",
|
||||
|
|
@ -820,7 +853,7 @@
|
|||
"issingle": 0,
|
||||
"istable": 1,
|
||||
"max_attachments": 0,
|
||||
"modified": "2015-11-24 02:27:50.426961",
|
||||
"modified": "2016-02-22 09:11:53.773635",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Custom",
|
||||
"name": "Customize Form Field",
|
||||
|
|
|
|||
|
|
@ -9,5 +9,6 @@
|
|||
"repo_url": "https://github.com/frappe/erpnext_shopify.git",
|
||||
"app_title": "ERPNext Shopify",
|
||||
"app_version": "1.0.0",
|
||||
"app_category": "Integrations"
|
||||
"app_category": "Integrations",
|
||||
"featured": 1
|
||||
}
|
||||
|
|
|
|||
14
frappe/data/app_listing/paypal_integration.json
Normal file
14
frappe/data/app_listing/paypal_integration.json
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"app_url": "https://frappe.github.io/paypal_integration",
|
||||
"app_name": "paypal_integration",
|
||||
"app_icon": "octicon octicon-credit-card",
|
||||
"app_color": "#179bd7",
|
||||
"app_description": "Accept Payment via PayPal",
|
||||
"app_publisher": "Frappe",
|
||||
"app_email": "hello@frappe.io",
|
||||
"repo_url": "https://github.com/frappe/paypal_integration.git",
|
||||
"app_title": "Paypal Integation",
|
||||
"app_version": "1.0.0",
|
||||
"app_category": "Integrations",
|
||||
"featured": 1
|
||||
}
|
||||
|
|
@ -147,6 +147,9 @@ def _get_communications(doctype, name, start=0, limit=20):
|
|||
"attached_to_name": c.name}
|
||||
))
|
||||
|
||||
elif c.communication_type=="Comment" and c.comment_type=="Comment":
|
||||
c.content = frappe.utils.markdown(c.content)
|
||||
|
||||
return communications
|
||||
|
||||
def get_assignments(dt, dn):
|
||||
|
|
|
|||
|
|
@ -68,7 +68,8 @@ def get_notifications_for(notification_type, config, notification_count):
|
|||
|
||||
frappe.cache().hset("notification_count:" + m, frappe.session.user, open_count[m])
|
||||
except frappe.PermissionError:
|
||||
frappe.msgprint("Permission Error in notifications for {0}".format(m))
|
||||
pass
|
||||
# frappe.msgprint("Permission Error in notifications for {0}".format(m))
|
||||
|
||||
return open_count
|
||||
|
||||
|
|
@ -92,7 +93,8 @@ def get_notifications_for_doctypes(config, notification_count):
|
|||
result = frappe.get_attr(condition)()
|
||||
|
||||
except frappe.PermissionError:
|
||||
frappe.msgprint("Permission Error in notifications for {0}".format(d))
|
||||
pass
|
||||
# frappe.msgprint("Permission Error in notifications for {0}".format(d))
|
||||
|
||||
except Exception, e:
|
||||
# OperationalError: (1412, 'Table definition has changed, please retry transaction')
|
||||
|
|
|
|||
|
|
@ -4,6 +4,7 @@ frappe.provide("frappe.wiz.events");
|
|||
frappe.wiz = {
|
||||
slides: [],
|
||||
events: {},
|
||||
remove_app_slides: [],
|
||||
on: function(event, fn) {
|
||||
if(!frappe.wiz.events[event]) {
|
||||
frappe.wiz.events[event] = [];
|
||||
|
|
@ -13,6 +14,7 @@ frappe.wiz = {
|
|||
add_slide: function(slide) {
|
||||
frappe.wiz.slides.push(slide);
|
||||
},
|
||||
|
||||
run_event: function(event) {
|
||||
$.each(frappe.wiz.events[event] || [], function(i, fn) {
|
||||
fn(frappe.wiz.wizard);
|
||||
|
|
@ -32,7 +34,7 @@ frappe.pages['setup-wizard'].on_page_load = function(wrapper) {
|
|||
});
|
||||
|
||||
frappe.wiz.run_event("before_load");
|
||||
|
||||
|
||||
var wizard_settings = {
|
||||
page_name: "setup-wizard",
|
||||
parent: wrapper,
|
||||
|
|
@ -237,6 +239,7 @@ function load_frappe_slides() {
|
|||
// language selection
|
||||
frappe.wiz.welcome = {
|
||||
name: "welcome",
|
||||
app_name: "frappe",
|
||||
title: __("Welcome"),
|
||||
icon: "icon-world",
|
||||
help: __("Let's prepare the system for first use."),
|
||||
|
|
@ -299,6 +302,18 @@ function load_frappe_slides() {
|
|||
// reset all slides so that labels are translated
|
||||
frappe.wiz.slides = [];
|
||||
frappe.wiz.run_event("before_load");
|
||||
|
||||
// remove slides listed in remove_app_slides
|
||||
for (var app in frappe.wiz.remove_app_slides) {
|
||||
var new_slides = []
|
||||
for (var i in frappe.wiz.slides) {
|
||||
if (frappe.wiz.slides[i].app_name != frappe.wiz.remove_app_slides[app]) {
|
||||
new_slides.push(frappe.wiz.slides[i]);
|
||||
}
|
||||
}
|
||||
frappe.wiz.slides = new_slides;
|
||||
}
|
||||
|
||||
frappe.wiz.wizard.slides = frappe.wiz.slides;
|
||||
frappe.wiz.run_event("after_load");
|
||||
|
||||
|
|
@ -315,10 +330,11 @@ function load_frappe_slides() {
|
|||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
// region selection
|
||||
frappe.wiz.region = {
|
||||
app_name: "frappe",
|
||||
title: __("Region"),
|
||||
icon: "icon-flag",
|
||||
help: __("Select your Country, Time Zone and Currency"),
|
||||
|
|
@ -404,6 +420,44 @@ function load_frappe_slides() {
|
|||
});
|
||||
});
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
frappe.wiz.user= {
|
||||
app_name: "frappe",
|
||||
title: __("The First User: You"),
|
||||
icon: "icon-user",
|
||||
fields: [
|
||||
{"fieldname": "first_name", "label": __("First Name"), "fieldtype": "Data",
|
||||
reqd:1},
|
||||
{"fieldname": "last_name", "label": __("Last Name"), "fieldtype": "Data"},
|
||||
{"fieldname": "email", "label": __("Email Address"), "fieldtype": "Data",
|
||||
reqd:1, "description": __("You will use it to Login"), "options":"Email"},
|
||||
{"fieldname": "password", "label": __("Password"), "fieldtype": "Password",
|
||||
reqd:1},
|
||||
{fieldtype:"Attach Image", fieldname:"attach_user",
|
||||
label: __("Attach Your Picture"), is_private: 0},
|
||||
],
|
||||
help: __('The first user will become the System Manager (you can change this later).'),
|
||||
onload: function(slide) {
|
||||
if(user!=="Administrator") {
|
||||
slide.form.fields_dict.password.$wrapper.toggle(false);
|
||||
slide.form.fields_dict.email.$wrapper.toggle(false);
|
||||
slide.form.fields_dict.first_name.set_input(frappe.boot.user.first_name);
|
||||
slide.form.fields_dict.last_name.set_input(frappe.boot.user.last_name);
|
||||
|
||||
var user_image = frappe.get_cookie("user_image");
|
||||
if(user_image) {
|
||||
var $attach_user = slide.form.fields_dict.attach_user.$wrapper;
|
||||
$attach_user.find(".missing-image").toggle(false);
|
||||
$attach_user.find("img").attr("src", decodeURIComponent(user_image)).toggle(true);
|
||||
}
|
||||
|
||||
delete slide.form.fields_dict.email;
|
||||
delete slide.form.fields_dict.password;
|
||||
}
|
||||
},
|
||||
css_class: "single-column"
|
||||
};
|
||||
};
|
||||
|
||||
|
|
@ -413,4 +467,5 @@ frappe.wiz.on("before_load", function() {
|
|||
// add welcome slide
|
||||
frappe.wiz.add_slide(frappe.wiz.welcome);
|
||||
frappe.wiz.add_slide(frappe.wiz.region);
|
||||
frappe.wiz.add_slide(frappe.wiz.user);
|
||||
});
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ from frappe.utils import strip
|
|||
from frappe.translate import (set_default_language, get_dict,
|
||||
get_lang_dict, send_translations, get_language_from_code)
|
||||
from frappe.geo.country_info import get_country_info
|
||||
from frappe.utils.file_manager import save_file
|
||||
|
||||
@frappe.whitelist()
|
||||
def setup_complete(args):
|
||||
|
|
@ -23,6 +24,7 @@ def setup_complete(args):
|
|||
|
||||
# update system settings
|
||||
update_system_settings(args)
|
||||
update_user_name(args)
|
||||
|
||||
for method in frappe.get_hooks("setup_wizard_complete"):
|
||||
frappe.get_attr(method)(args)
|
||||
|
|
@ -63,6 +65,41 @@ def update_system_settings(args):
|
|||
})
|
||||
system_settings.save()
|
||||
|
||||
def update_user_name(args):
|
||||
if args.get("email"):
|
||||
args['name'] = args.get("email")
|
||||
|
||||
_mute_emails, frappe.flags.mute_emails = frappe.flags.mute_emails, True
|
||||
doc = frappe.get_doc({
|
||||
"doctype":"User",
|
||||
"email": args.get("email"),
|
||||
"first_name": args.get("first_name"),
|
||||
"last_name": args.get("last_name")
|
||||
})
|
||||
doc.flags.no_welcome_mail = True
|
||||
doc.insert()
|
||||
frappe.flags.mute_emails = _mute_emails
|
||||
from frappe.auth import _update_password
|
||||
_update_password(args.get("email"), args.get("password"))
|
||||
|
||||
else:
|
||||
args['name'] = frappe.session.user
|
||||
|
||||
# Update User
|
||||
if not args.get('last_name') or args.get('last_name')=='None':
|
||||
args['last_name'] = None
|
||||
frappe.db.sql("""update `tabUser` SET first_name=%(first_name)s,
|
||||
last_name=%(last_name)s WHERE name=%(name)s""", args)
|
||||
|
||||
if args.get("attach_user"):
|
||||
attach_user = args.get("attach_user").split(",")
|
||||
if len(attach_user)==3:
|
||||
filename, filetype, content = attach_user
|
||||
fileurl = save_file(filename, content, "User", args.get("name"), decode=True).file_url
|
||||
frappe.db.set_value("User", args.get("name"), "user_image", fileurl)
|
||||
|
||||
add_all_roles_to(args.get("name"))
|
||||
|
||||
def process_args(args):
|
||||
if not args:
|
||||
args = frappe.local.form_dict
|
||||
|
|
@ -78,6 +115,14 @@ def process_args(args):
|
|||
|
||||
return args
|
||||
|
||||
def add_all_roles_to(name):
|
||||
user = frappe.get_doc("User", name)
|
||||
for role in frappe.db.sql("""select name from tabRole"""):
|
||||
if role[0] not in ["Administrator", "Guest", "All", "Customer", "Supplier", "Partner", "Employee"]:
|
||||
d = user.append("user_roles")
|
||||
d.role = role[0]
|
||||
user.save()
|
||||
|
||||
@frappe.whitelist()
|
||||
def load_messages(language):
|
||||
"""Load translation messages for given langauge from all `setup_wizard_requires`
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import os, json
|
|||
|
||||
from frappe import _
|
||||
from frappe.modules import scrub, get_module_path
|
||||
from frappe.utils import flt, cint, get_html_format
|
||||
from frappe.utils import flt, cint, get_html_format, cstr
|
||||
from frappe.translate import send_translations
|
||||
import frappe.desk.reportview
|
||||
from frappe.permissions import get_role_permissions
|
||||
|
|
@ -80,7 +80,7 @@ def run(report_name, filters=()):
|
|||
frappe.msgprint(_("Query must be a SELECT"), raise_exception=True)
|
||||
|
||||
result = [list(t) for t in frappe.db.sql(report.query, filters)]
|
||||
columns = [c[0] for c in frappe.db.get_description()]
|
||||
columns = [cstr(c[0]) for c in frappe.db.get_description()]
|
||||
else:
|
||||
module = report.module or frappe.db.get_value("DocType", report.ref_doctype, "module")
|
||||
if report.is_standard=="Yes":
|
||||
|
|
@ -242,11 +242,11 @@ def get_linked_doctypes(columns, data):
|
|||
row = enumerate(row)
|
||||
elif isinstance(row, dict):
|
||||
row = row.items()
|
||||
|
||||
|
||||
for col, val in row:
|
||||
if val and col not in columns_with_value:
|
||||
columns_with_value.append(col)
|
||||
|
||||
|
||||
for doctype, key in linked_doctypes.items():
|
||||
if key not in columns_with_value:
|
||||
del linked_doctypes[doctype]
|
||||
|
|
|
|||
0
frappe/docs/user/guides/.txt → frappe/docs/user/en/guides/.txt
Normal file → Executable file
0
frappe/docs/user/guides/.txt → frappe/docs/user/en/guides/.txt
Normal file → Executable file
0
frappe/docs/user/guides/app-development/custom-module-icon.md → frappe/docs/user/en/guides/app-development/custom-module-icon.md
Normal file → Executable file
0
frappe/docs/user/guides/app-development/custom-module-icon.md → frappe/docs/user/en/guides/app-development/custom-module-icon.md
Normal file → Executable file
0
frappe/docs/user/guides/app-development/dialogs-types.md → frappe/docs/user/en/guides/app-development/dialogs-types.md
Normal file → Executable file
0
frappe/docs/user/guides/app-development/dialogs-types.md → frappe/docs/user/en/guides/app-development/dialogs-types.md
Normal file → Executable file
0
frappe/docs/user/guides/app-development/generating-docs.md → frappe/docs/user/en/guides/app-development/generating-docs.md
Normal file → Executable file
0
frappe/docs/user/guides/app-development/generating-docs.md → frappe/docs/user/en/guides/app-development/generating-docs.md
Normal file → Executable file
0
frappe/docs/user/guides/app-development/index.md → frappe/docs/user/en/guides/app-development/index.md
Normal file → Executable file
0
frappe/docs/user/guides/app-development/index.md → frappe/docs/user/en/guides/app-development/index.md
Normal file → Executable file
2
frappe/docs/user/guides/app-development/index.txt → frappe/docs/user/en/guides/app-development/index.txt
Normal file → Executable file
2
frappe/docs/user/guides/app-development/index.txt → frappe/docs/user/en/guides/app-development/index.txt
Normal file → Executable file
|
|
@ -4,7 +4,7 @@ generating-docs
|
|||
how-enable-developer-mode-in-frappe
|
||||
fetch-custom-field-value-from-master-to-all-related-transactions
|
||||
executing-code-on-doctype-events
|
||||
how-to-add-customizations-to-app
|
||||
how-to-create-custom-fields-during-app-installation
|
||||
insert-a-document-via-api
|
||||
how-to-improve-a-standard-control
|
||||
overriding-link-query-by-custom-script
|
||||
0
frappe/docs/user/guides/basics/apps.md → frappe/docs/user/en/guides/basics/apps.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/apps.md → frappe/docs/user/en/guides/basics/apps.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/hooks.md → frappe/docs/user/en/guides/basics/hooks.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/hooks.md → frappe/docs/user/en/guides/basics/hooks.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/index.md → frappe/docs/user/en/guides/basics/index.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/index.md → frappe/docs/user/en/guides/basics/index.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/index.txt → frappe/docs/user/en/guides/basics/index.txt
Normal file → Executable file
0
frappe/docs/user/guides/basics/index.txt → frappe/docs/user/en/guides/basics/index.txt
Normal file → Executable file
0
frappe/docs/user/guides/basics/install.md → frappe/docs/user/en/guides/basics/install.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/install.md → frappe/docs/user/en/guides/basics/install.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/site_config.md → frappe/docs/user/en/guides/basics/site_config.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/site_config.md → frappe/docs/user/en/guides/basics/site_config.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/sites.md → frappe/docs/user/en/guides/basics/sites.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/sites.md → frappe/docs/user/en/guides/basics/sites.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/translations.md → frappe/docs/user/en/guides/basics/translations.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/translations.md → frappe/docs/user/en/guides/basics/translations.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/writing-tests.md → frappe/docs/user/en/guides/basics/writing-tests.md
Normal file → Executable file
0
frappe/docs/user/guides/basics/writing-tests.md → frappe/docs/user/en/guides/basics/writing-tests.md
Normal file → Executable file
0
frappe/docs/user/guides/data/import-large-csv-file.md → frappe/docs/user/en/guides/data/import-large-csv-file.md
Normal file → Executable file
0
frappe/docs/user/guides/data/import-large-csv-file.md → frappe/docs/user/en/guides/data/import-large-csv-file.md
Normal file → Executable file
0
frappe/docs/user/guides/data/index.md → frappe/docs/user/en/guides/data/index.md
Normal file → Executable file
0
frappe/docs/user/guides/data/index.md → frappe/docs/user/en/guides/data/index.md
Normal file → Executable file
0
frappe/docs/user/guides/data/index.txt → frappe/docs/user/en/guides/data/index.txt
Normal file → Executable file
0
frappe/docs/user/guides/data/index.txt → frappe/docs/user/en/guides/data/index.txt
Normal file → Executable file
0
frappe/docs/user/guides/deployment/configuring-https.md → frappe/docs/user/en/guides/deployment/configuring-https.md
Normal file → Executable file
0
frappe/docs/user/guides/deployment/configuring-https.md → frappe/docs/user/en/guides/deployment/configuring-https.md
Normal file → Executable file
0
frappe/docs/user/guides/deployment/index.md → frappe/docs/user/en/guides/deployment/index.md
Normal file → Executable file
0
frappe/docs/user/guides/deployment/index.md → frappe/docs/user/en/guides/deployment/index.md
Normal file → Executable file
0
frappe/docs/user/guides/deployment/index.txt → frappe/docs/user/en/guides/deployment/index.txt
Normal file → Executable file
0
frappe/docs/user/guides/deployment/index.txt → frappe/docs/user/en/guides/deployment/index.txt
Normal file → Executable file
0
frappe/docs/user/guides/deployment/migrations.md → frappe/docs/user/en/guides/deployment/migrations.md
Normal file → Executable file
0
frappe/docs/user/guides/deployment/migrations.md → frappe/docs/user/en/guides/deployment/migrations.md
Normal file → Executable file
0
frappe/docs/user/guides/index.md → frappe/docs/user/en/guides/index.md
Normal file → Executable file
0
frappe/docs/user/guides/index.md → frappe/docs/user/en/guides/index.md
Normal file → Executable file
0
frappe/docs/user/guides/index.txt → frappe/docs/user/en/guides/index.txt
Normal file → Executable file
0
frappe/docs/user/guides/index.txt → frappe/docs/user/en/guides/index.txt
Normal file → Executable file
0
frappe/docs/user/guides/integration/index.md → frappe/docs/user/en/guides/integration/index.md
Normal file → Executable file
0
frappe/docs/user/guides/integration/index.md → frappe/docs/user/en/guides/integration/index.md
Normal file → Executable file
0
frappe/docs/user/guides/integration/index.txt → frappe/docs/user/en/guides/integration/index.txt
Normal file → Executable file
0
frappe/docs/user/guides/integration/index.txt → frappe/docs/user/en/guides/integration/index.txt
Normal file → Executable file
0
frappe/docs/user/guides/integration/rest_api.md → frappe/docs/user/en/guides/integration/rest_api.md
Normal file → Executable file
0
frappe/docs/user/guides/integration/rest_api.md → frappe/docs/user/en/guides/integration/rest_api.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/.md → frappe/docs/user/en/guides/portal-development/.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/.md → frappe/docs/user/en/guides/portal-development/.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/adding-pages.md → frappe/docs/user/en/guides/portal-development/adding-pages.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/adding-pages.md → frappe/docs/user/en/guides/portal-development/adding-pages.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/building.md → frappe/docs/user/en/guides/portal-development/building.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/building.md → frappe/docs/user/en/guides/portal-development/building.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/contents.md → frappe/docs/user/en/guides/portal-development/contents.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/contents.md → frappe/docs/user/en/guides/portal-development/contents.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/context.md → frappe/docs/user/en/guides/portal-development/context.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/context.md → frappe/docs/user/en/guides/portal-development/context.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/index.md → frappe/docs/user/en/guides/portal-development/index.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/index.md → frappe/docs/user/en/guides/portal-development/index.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/index.txt → frappe/docs/user/en/guides/portal-development/index.txt
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/index.txt → frappe/docs/user/en/guides/portal-development/index.txt
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/ordering.md → frappe/docs/user/en/guides/portal-development/ordering.md
Normal file → Executable file
0
frappe/docs/user/guides/portal-development/ordering.md → frappe/docs/user/en/guides/portal-development/ordering.md
Normal file → Executable file
0
frappe/docs/user/guides/reports-and-printing/index.md → frappe/docs/user/en/guides/reports-and-printing/index.md
Normal file → Executable file
0
frappe/docs/user/guides/reports-and-printing/index.md → frappe/docs/user/en/guides/reports-and-printing/index.md
Normal file → Executable file
0
frappe/docs/user/guides/reports-and-printing/index.txt → frappe/docs/user/en/guides/reports-and-printing/index.txt
Normal file → Executable file
0
frappe/docs/user/guides/reports-and-printing/index.txt → frappe/docs/user/en/guides/reports-and-printing/index.txt
Normal file → Executable file
0
frappe/docs/user/index.md → frappe/docs/user/en/index.md
Normal file → Executable file
0
frappe/docs/user/index.md → frappe/docs/user/en/index.md
Normal file → Executable file
0
frappe/docs/user/index.txt → frappe/docs/user/en/index.txt
Normal file → Executable file
0
frappe/docs/user/index.txt → frappe/docs/user/en/index.txt
Normal file → Executable file
0
frappe/docs/user/tutorial/app.md → frappe/docs/user/en/tutorial/app.md
Normal file → Executable file
0
frappe/docs/user/tutorial/app.md → frappe/docs/user/en/tutorial/app.md
Normal file → Executable file
2
frappe/docs/user/tutorial/before.md → frappe/docs/user/en/tutorial/before.md
Normal file → Executable file
2
frappe/docs/user/tutorial/before.md → frappe/docs/user/en/tutorial/before.md
Normal file → Executable file
|
|
@ -44,5 +44,5 @@ If you are customizing Print templates, you need to learn the [Jinja Templating
|
|||
|
||||
---
|
||||
|
||||
When you are ready, [try building a sample application on Frappe]({{ docs_base_url }}/user/tutorial/app)
|
||||
When you are ready, [try building a sample application on Frappe]({{ docs_base_url }}/user/en/tutorial/app)
|
||||
|
||||
0
frappe/docs/user/tutorial/bench.md → frappe/docs/user/en/tutorial/bench.md
Normal file → Executable file
0
frappe/docs/user/tutorial/bench.md → frappe/docs/user/en/tutorial/bench.md
Normal file → Executable file
0
frappe/docs/user/tutorial/conclusion.md → frappe/docs/user/en/tutorial/conclusion.md
Normal file → Executable file
0
frappe/docs/user/tutorial/conclusion.md → frappe/docs/user/en/tutorial/conclusion.md
Normal file → Executable file
0
frappe/docs/user/tutorial/controllers.md → frappe/docs/user/en/tutorial/controllers.md
Normal file → Executable file
0
frappe/docs/user/tutorial/controllers.md → frappe/docs/user/en/tutorial/controllers.md
Normal file → Executable file
0
frappe/docs/user/tutorial/doctype-directory-structure.md → frappe/docs/user/en/tutorial/doctype-directory-structure.md
Normal file → Executable file
0
frappe/docs/user/tutorial/doctype-directory-structure.md → frappe/docs/user/en/tutorial/doctype-directory-structure.md
Normal file → Executable file
0
frappe/docs/user/tutorial/doctypes.md → frappe/docs/user/en/tutorial/doctypes.md
Normal file → Executable file
0
frappe/docs/user/tutorial/doctypes.md → frappe/docs/user/en/tutorial/doctypes.md
Normal file → Executable file
2
frappe/docs/user/tutorial/form-client-scripting.md → frappe/docs/user/en/tutorial/form-client-scripting.md
Normal file → Executable file
2
frappe/docs/user/tutorial/form-client-scripting.md → frappe/docs/user/en/tutorial/form-client-scripting.md
Normal file → Executable file
|
|
@ -29,7 +29,7 @@ To start the script, in the `library_management/doctype/library_transaction` fol
|
|||
});
|
||||
|
||||
1. **frappe.ui.form.on(*doctype*, *fieldname*, *handler*)** is used to bind a handler to the event when the property library_member is set.
|
||||
1. In the handler, we trigger an AJAX call to `frappe.client.get`. In response we get the requested object as JSON. [Learn more about the API](/frappe/user/guides/integration/rest_api).
|
||||
1. In the handler, we trigger an AJAX call to `frappe.client.get`. In response we get the requested object as JSON. [Learn more about the API](/frappe/user/en/guides/integration/rest_api).
|
||||
1. Using **frappe.model.set_value(*doctype*, *name*, *fieldname*, *value*)** we set the value in the form.
|
||||
|
||||
**Note:** To check if your script works, remember to 'reload' the page before testing your script. Client script changes are not automatically picked up when you are in developer mode.
|
||||
0
frappe/docs/user/tutorial/index.md → frappe/docs/user/en/tutorial/index.md
Normal file → Executable file
0
frappe/docs/user/tutorial/index.md → frappe/docs/user/en/tutorial/index.md
Normal file → Executable file
0
frappe/docs/user/tutorial/index.txt → frappe/docs/user/en/tutorial/index.txt
Normal file → Executable file
0
frappe/docs/user/tutorial/index.txt → frappe/docs/user/en/tutorial/index.txt
Normal file → Executable file
0
frappe/docs/user/tutorial/models.md → frappe/docs/user/en/tutorial/models.md
Normal file → Executable file
0
frappe/docs/user/tutorial/models.md → frappe/docs/user/en/tutorial/models.md
Normal file → Executable file
0
frappe/docs/user/tutorial/naming-and-linking.md → frappe/docs/user/en/tutorial/naming-and-linking.md
Normal file → Executable file
0
frappe/docs/user/tutorial/naming-and-linking.md → frappe/docs/user/en/tutorial/naming-and-linking.md
Normal file → Executable file
0
frappe/docs/user/tutorial/new-app.md → frappe/docs/user/en/tutorial/new-app.md
Normal file → Executable file
0
frappe/docs/user/tutorial/new-app.md → frappe/docs/user/en/tutorial/new-app.md
Normal file → Executable file
0
frappe/docs/user/tutorial/reports.md → frappe/docs/user/en/tutorial/reports.md
Normal file → Executable file
0
frappe/docs/user/tutorial/reports.md → frappe/docs/user/en/tutorial/reports.md
Normal file → Executable file
0
frappe/docs/user/tutorial/roles.md → frappe/docs/user/en/tutorial/roles.md
Normal file → Executable file
0
frappe/docs/user/tutorial/roles.md → frappe/docs/user/en/tutorial/roles.md
Normal file → Executable file
0
frappe/docs/user/tutorial/setting-up-the-site.md → frappe/docs/user/en/tutorial/setting-up-the-site.md
Normal file → Executable file
0
frappe/docs/user/tutorial/setting-up-the-site.md → frappe/docs/user/en/tutorial/setting-up-the-site.md
Normal file → Executable file
0
frappe/docs/user/tutorial/single-doctypes.md → frappe/docs/user/en/tutorial/single-doctypes.md
Normal file → Executable file
0
frappe/docs/user/tutorial/single-doctypes.md → frappe/docs/user/en/tutorial/single-doctypes.md
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue