diff --git a/.gitignore b/.gitignore index a45a03de15..75bee9a091 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ locale *.egg-info dist/ build/ +frappe/docs/current diff --git a/frappe/docs/current/api/config/frappe.config.core.html b/frappe/docs/current/api/config/frappe.config.core.html deleted file mode 100644 index 076ab88375..0000000000 --- a/frappe/docs/current/api/config/frappe.config.core.html +++ /dev/null @@ -1,34 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.config.core.get_data - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/config/frappe.config.desk.html b/frappe/docs/current/api/config/frappe.config.desk.html deleted file mode 100644 index 9cbb6f3e57..0000000000 --- a/frappe/docs/current/api/config/frappe.config.desk.html +++ /dev/null @@ -1,34 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.config.desk.get_data - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/config/frappe.config.desktop.html b/frappe/docs/current/api/config/frappe.config.desktop.html deleted file mode 100644 index 364501f7f4..0000000000 --- a/frappe/docs/current/api/config/frappe.config.desktop.html +++ /dev/null @@ -1,34 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.config.desktop.get_data - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/config/frappe.config.docs.html b/frappe/docs/current/api/config/frappe.config.docs.html deleted file mode 100644 index 3d994edfbf..0000000000 --- a/frappe/docs/current/api/config/frappe.config.docs.html +++ /dev/null @@ -1,34 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.config.docs.get_context - (context) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/config/frappe.config.html b/frappe/docs/current/api/config/frappe.config.html deleted file mode 100644 index 3a07c741a2..0000000000 --- a/frappe/docs/current/api/config/frappe.config.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/config/frappe.config.setup.html b/frappe/docs/current/api/config/frappe.config.setup.html deleted file mode 100644 index cc86a04b13..0000000000 --- a/frappe/docs/current/api/config/frappe.config.setup.html +++ /dev/null @@ -1,34 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.config.setup.get_data - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/config/frappe.config.website.html b/frappe/docs/current/api/config/frappe.config.website.html deleted file mode 100644 index a21900075c..0000000000 --- a/frappe/docs/current/api/config/frappe.config.website.html +++ /dev/null @@ -1,34 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.config.website.get_data - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/config/index.html b/frappe/docs/current/api/config/index.html deleted file mode 100644 index 41bede51b9..0000000000 --- a/frappe/docs/current/api/config/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/config/index.txt b/frappe/docs/current/api/config/index.txt deleted file mode 100644 index bedd42f359..0000000000 --- a/frappe/docs/current/api/config/index.txt +++ /dev/null @@ -1,7 +0,0 @@ -frappe.config.core -frappe.config.desk -frappe.config.desktop -frappe.config.docs -frappe.config -frappe.config.setup -frappe.config.website \ No newline at end of file diff --git a/frappe/docs/current/api/core/frappe.core.html b/frappe/docs/current/api/core/frappe.core.html deleted file mode 100644 index 75283a7e66..0000000000 --- a/frappe/docs/current/api/core/frappe.core.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/core/frappe.core.notifications.html b/frappe/docs/current/api/core/frappe.core.notifications.html deleted file mode 100644 index a8fe2071e3..0000000000 --- a/frappe/docs/current/api/core/frappe.core.notifications.html +++ /dev/null @@ -1,98 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.core.notifications.get_notification_config - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.core.notifications.get_things_todo - () -

-

Returns a count of incomplete todos

-
-
- - - - - - - -

- - - frappe.core.notifications.get_todays_events - () -

-

Returns a count of todays events in calendar

-
-
- - - - - - - -

- - - frappe.core.notifications.get_unread_messages - () -

-

returns unread (docstatus-0 messages for a user)

-
-
- - - - - - - -

- - - frappe.core.notifications.get_unseen_likes - () -

-

Returns count of unseen likes

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/core/index.html b/frappe/docs/current/api/core/index.html deleted file mode 100644 index 6f60981f39..0000000000 --- a/frappe/docs/current/api/core/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/core/index.txt b/frappe/docs/current/api/core/index.txt deleted file mode 100644 index 7bf21e3723..0000000000 --- a/frappe/docs/current/api/core/index.txt +++ /dev/null @@ -1,2 +0,0 @@ -frappe.core -frappe.core.notifications \ No newline at end of file diff --git a/frappe/docs/current/api/custom/frappe.custom.html b/frappe/docs/current/api/custom/frappe.custom.html deleted file mode 100644 index e40cbe0098..0000000000 --- a/frappe/docs/current/api/custom/frappe.custom.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/custom/index.html b/frappe/docs/current/api/custom/index.html deleted file mode 100644 index 4d659752b2..0000000000 --- a/frappe/docs/current/api/custom/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/custom/index.txt b/frappe/docs/current/api/custom/index.txt deleted file mode 100644 index adeae6e90d..0000000000 --- a/frappe/docs/current/api/custom/index.txt +++ /dev/null @@ -1 +0,0 @@ -frappe.custom \ No newline at end of file diff --git a/frappe/docs/current/api/desk/form/frappe.desk.form.assign_to.html b/frappe/docs/current/api/desk/form/frappe.desk.form.assign_to.html deleted file mode 100644 index 6821c8018b..0000000000 --- a/frappe/docs/current/api/desk/form/frappe.desk.form.assign_to.html +++ /dev/null @@ -1,157 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class DuplicateToDoError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.assign_to.add -

-

- - - frappe.desk.form.assign_to.add - (args=None) -

-

add in someone's to do list -args = { - "assign_to": , - "doctype": , - "name": , - "description": -}

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.assign_to.add_multiple -

-

- - - frappe.desk.form.assign_to.add_multiple - (args=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.form.assign_to.clear - (doctype, name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.form.assign_to.get - (args=None) -

-

get assigned to

-
-
- - - - - - - -

- - - frappe.desk.form.assign_to.notify_assignment - (assigned_by, owner, doc_type, doc_name, action=CLOSE, description=None, notify=0) -

-

Notify assignee that there is a change in assignment

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.assign_to.remove -

-

- - - frappe.desk.form.assign_to.remove - (doctype, name, assign_to) -

-

remove from todo

-
-
- - - - - - - -

- - - frappe.desk.form.assign_to.remove_from_todo_if_already_assigned - (doctype, docname) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/form/frappe.desk.form.html b/frappe/docs/current/api/desk/form/frappe.desk.form.html deleted file mode 100644 index 6324e42c50..0000000000 --- a/frappe/docs/current/api/desk/form/frappe.desk.form.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/form/frappe.desk.form.linked_with.html b/frappe/docs/current/api/desk/form/frappe.desk.form.linked_with.html deleted file mode 100644 index c4beb0c7bf..0000000000 --- a/frappe/docs/current/api/desk/form/frappe.desk.form.linked_with.html +++ /dev/null @@ -1,107 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.desk.form.linked_with._get_linked_doctypes - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.form.linked_with.get_dynamic_linked_fields - (doctype) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.linked_with.get_linked_docs -

-

- - - frappe.desk.form.linked_with.get_linked_docs - (doctype, name, linkinfo=None) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.linked_with.get_linked_doctypes -

-

- - - frappe.desk.form.linked_with.get_linked_doctypes - (doctype) -

-

add list of doctypes this doctype is 'linked' with.

- -

Example, for Customer:

- -
{"Address": {"fieldname": "customer"}..}
-
-
-
- - - - - - - -

- - - frappe.desk.form.linked_with.get_linked_fields - (doctype) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/form/frappe.desk.form.load.html b/frappe/docs/current/api/desk/form/frappe.desk.form.load.html deleted file mode 100644 index 2a324d6acb..0000000000 --- a/frappe/docs/current/api/desk/form/frappe.desk.form.load.html +++ /dev/null @@ -1,188 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.desk.form.load.get_assignments - (dt, dn) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.form.load.get_attachments - (dt, dn) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.load.get_badge_info -

-

- - - frappe.desk.form.load.get_badge_info - (doctypes, filters) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.form.load.get_comments - (dt, dn, limit=100) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.load.get_docinfo -

-

- - - frappe.desk.form.load.get_docinfo - (doc=None, doctype=None, name=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.form.load.get_meta_bundle - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.form.load.get_user_permissions - (meta) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.load.getdoc -

-

- - - frappe.desk.form.load.getdoc - (doctype, name, user=None) -

-

Loads a doclist for a given document. This method is called directly from the client. -Requries "doctype", "name" as form variables. -Will also call the "onload" method on the document.

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.load.getdoctype -

-

- - - frappe.desk.form.load.getdoctype - (doctype, with_parent=False, cached_timestamp=None) -

-

load doctype

-
-
- - - - - - - -

- - - frappe.desk.form.load.run_onload - (doc) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/form/frappe.desk.form.meta.html b/frappe/docs/current/api/desk/form/frappe.desk.form.meta.html deleted file mode 100644 index 028cb9249a..0000000000 --- a/frappe/docs/current/api/desk/form/frappe.desk.form.meta.html +++ /dev/null @@ -1,277 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class FormMeta

- -

Inherits from frappe.model.meta.Meta - -

-
-
- - - - -

- - - __init__ - (self, doctype) -

-

No docs

-
-
- - - - - -

- - - _add_code - (self, path, fieldname) -

-

No docs

-
-
- - - - - -

- - - add_code - (self) -

-

No docs

-
-
- - - - - -

- - - add_code_via_hook - (self, hook, fieldname) -

-

No docs

-
-
- - - - - -

- - - add_custom_script - (self) -

-

embed all require files

-
-
- - - - - -

- - - add_html_templates - (self, path) -

-

No docs

-
-
- - - - - -

- - - add_linked_document_type - (self) -

-

No docs

-
-
- - - - - -

- - - add_search_fields - (self) -

-

add search fields found in the doctypes indicated by link fields' options

-
-
- - - - - -

- - - as_dict - (self, no_nulls=False) -

-

No docs

-
-
- - - - - -

- - - load_assets - (self) -

-

No docs

-
-
- - - - - -

- - - load_print_formats - (self) -

-

No docs

-
-
- - - - - -

- - - load_templates - (self) -

-

No docs

-
-
- - - - - -

- - - load_workflows - (self) -

-

No docs

-
-
- - - - - -

- - - set_translations - (self, lang) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.desk.form.meta.get_code_files_via_hooks - (hook, name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.form.meta.get_js - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.form.meta.get_meta - (doctype, cached=True) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/form/frappe.desk.form.run_method.html b/frappe/docs/current/api/desk/form/frappe.desk.form.run_method.html deleted file mode 100644 index e42c55176b..0000000000 --- a/frappe/docs/current/api/desk/form/frappe.desk.form.run_method.html +++ /dev/null @@ -1,52 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.desk.form.run_method.make_csv_output - (res, dt) -

-

send method response as downloadable CSV file

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.run_method.runserverobj -

-

- - - frappe.desk.form.run_method.runserverobj - (method, docs=None, dt=None, dn=None, arg=None, args=None) -

-

run controller method - old style

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/form/frappe.desk.form.save.html b/frappe/docs/current/api/desk/form/frappe.desk.form.save.html deleted file mode 100644 index 419a6dbf7d..0000000000 --- a/frappe/docs/current/api/desk/form/frappe.desk.form.save.html +++ /dev/null @@ -1,86 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - -

Public API -
/api/method/frappe.desk.form.save.cancel -

-

- - - frappe.desk.form.save.cancel - (doctype=None, name=None, workflow_state_fieldname=None, workflow_state=None) -

-

cancel a doclist

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.save.savedocs -

-

- - - frappe.desk.form.save.savedocs - () -

-

save / submit / update doclist

-
-
- - - - - - - -

- - - frappe.desk.form.save.send_updated_docs - (doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.form.save.set_local_name - (doc) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/form/frappe.desk.form.test_form.html b/frappe/docs/current/api/desk/form/frappe.desk.form.test_form.html deleted file mode 100644 index 6b2a1689e7..0000000000 --- a/frappe/docs/current/api/desk/form/frappe.desk.form.test_form.html +++ /dev/null @@ -1,47 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class TestForm

- -

Inherits from unittest.case.TestCase - -

-
-
- - - - -

- - - test_linked_with - (self) -

-

No docs

-
-
- - -
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/form/frappe.desk.form.utils.html b/frappe/docs/current/api/desk/form/frappe.desk.form.utils.html deleted file mode 100644 index 563ac23b76..0000000000 --- a/frappe/docs/current/api/desk/form/frappe.desk.form.utils.html +++ /dev/null @@ -1,90 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - -

Public API -
/api/method/frappe.desk.form.utils.add_comment -

-

- - - frappe.desk.form.utils.add_comment - (doc) -

-

allow any logged user to post a comment

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.utils.get_next -

-

- - - frappe.desk.form.utils.get_next - (doctype, value, prev, filters=None, order_by=modified desc) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.utils.remove_attach -

-

- - - frappe.desk.form.utils.remove_attach - () -

-

remove attachment

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.form.utils.validate_link -

-

- - - frappe.desk.form.utils.validate_link - () -

-

validate link when updated by user

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/form/index.html b/frappe/docs/current/api/desk/form/index.html deleted file mode 100644 index 10817cf436..0000000000 --- a/frappe/docs/current/api/desk/form/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/form/index.txt b/frappe/docs/current/api/desk/form/index.txt deleted file mode 100644 index 1bcd9b9b51..0000000000 --- a/frappe/docs/current/api/desk/form/index.txt +++ /dev/null @@ -1,9 +0,0 @@ -frappe.desk.form.assign_to -frappe.desk.form -frappe.desk.form.linked_with -frappe.desk.form.load -frappe.desk.form.meta -frappe.desk.form.run_method -frappe.desk.form.save -frappe.desk.form.test_form -frappe.desk.form.utils \ No newline at end of file diff --git a/frappe/docs/current/api/desk/frappe.desk.calendar.html b/frappe/docs/current/api/desk/frappe.desk.calendar.html deleted file mode 100644 index 66cf7de769..0000000000 --- a/frappe/docs/current/api/desk/frappe.desk.calendar.html +++ /dev/null @@ -1,52 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.desk.calendar.get_event_conditions - (doctype, filters=None) -

-

Returns SQL conditions with user permissions and filters for event queries

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.calendar.update_event -

-

- - - frappe.desk.calendar.update_event - (args, field_map) -

-

Updates Event (called via calendar) based on passed field_map

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/frappe.desk.desk_page.html b/frappe/docs/current/api/desk/frappe.desk.desk_page.html deleted file mode 100644 index 634e08abeb..0000000000 --- a/frappe/docs/current/api/desk/frappe.desk.desk_page.html +++ /dev/null @@ -1,70 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - -

Public API -
/api/method/frappe.desk.desk_page.get -

-

- - - frappe.desk.desk_page.get - (name) -

-

Return the :term:doclist of the Page specified by name

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.desk_page.getpage -

-

- - - frappe.desk.desk_page.getpage - () -

-

Load the page from frappe.form and send it via frappe.response

-
-
- - - - - - - -

- - - frappe.desk.desk_page.has_permission - (page) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/frappe.desk.html b/frappe/docs/current/api/desk/frappe.desk.html deleted file mode 100644 index babfe9339b..0000000000 --- a/frappe/docs/current/api/desk/frappe.desk.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/frappe.desk.like.html b/frappe/docs/current/api/desk/frappe.desk.like.html deleted file mode 100644 index d1b364d46a..0000000000 --- a/frappe/docs/current/api/desk/frappe.desk.like.html +++ /dev/null @@ -1,96 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.desk.like._toggle_like - (doctype, name, add, user=None) -

-

Same as toggle_like but hides param user from API

-
-
- - - - - - - -

- - - frappe.desk.like.add_comment - (doctype, name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.like.remove_like - (doctype, name) -

-

Remove previous Like

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.like.toggle_like -

-

- - - frappe.desk.like.toggle_like - (doctype, name, add=False) -

-

Adds / removes the current user in the __liked_by property of the given document. -If column does not exist, will add it in the database.

- -

The _liked_by property is always set from this function and is ignored if set via -Document API

- -

Parameters:

- - -
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/frappe.desk.moduleview.html b/frappe/docs/current/api/desk/frappe.desk.moduleview.html deleted file mode 100644 index 06f057431b..0000000000 --- a/frappe/docs/current/api/desk/frappe.desk.moduleview.html +++ /dev/null @@ -1,261 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.desk.moduleview.add_custom_doctypes - (data, doctype_info) -

-

Adds Custom DocTypes to modules setup via config/desktop.py.

-
-
- - - - - - - -

- - - frappe.desk.moduleview.add_section - (data, label, icon, items) -

-

Adds a section to the module data.

-
-
- - - - - - - -

- - - frappe.desk.moduleview.add_setup_section - (config, app, module, label, icon) -

-

Add common sections to /desk#Module/Setup

-
-
- - - - - - - -

- - - frappe.desk.moduleview.apply_permissions - (data) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.moduleview.build_config_from_file - (module) -

-

Build module info from app/config/desktop.py files.

-
-
- - - - - - - -

- - - frappe.desk.moduleview.build_standard_config - (module, doctype_info) -

-

Build standard module data from DocTypes.

-
-
- - - - - - - -

- - - frappe.desk.moduleview.combine_common_sections - (data) -

-

Combine sections declared in separate apps.

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.moduleview.get -

-

- - - frappe.desk.moduleview.get - (module) -

-

Returns data (sections, list of reports, counts) to render module view in desk: -/desk/#Module/[name].

-
-
- - - - - - - -

- - - frappe.desk.moduleview.get_config - (app, module) -

-

Load module info from [app].config.[module].

-
-
- - - - - - - -

- - - frappe.desk.moduleview.get_data - (module) -

-

Get module data for the module view desk/#Module/[name]

-
-
- - - - - - - -

- - - frappe.desk.moduleview.get_doctype_info - (module) -

-

Returns list of non child DocTypes for given module.

-
-
- - - - - - - -

- - - frappe.desk.moduleview.get_last_modified - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.moduleview.get_report_list - (module, is_standard=No) -

-

Returns list on new style reports for modules.

-
-
- - - - - - - -

- - - frappe.desk.moduleview.get_setup_section - (app, module, label, icon) -

-

Get the setup section from each module (for global Setup page).

-
-
- - - - - - - -

- - - frappe.desk.moduleview.set_last_modified - (data) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/frappe.desk.notifications.html b/frappe/docs/current/api/desk/frappe.desk.notifications.html deleted file mode 100644 index 81727789f3..0000000000 --- a/frappe/docs/current/api/desk/frappe.desk.notifications.html +++ /dev/null @@ -1,196 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.desk.notifications.clear_doctype_notifications - (doc, method=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.notifications.clear_notifications - (user=*) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.notifications.delete_notification_count_for - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.notifications.get_new_messages - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.notifications.get_notification_config - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.notifications.get_notification_info_for_boot - () -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.notifications.get_notifications -

-

- - - frappe.desk.notifications.get_notifications - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.notifications.get_notifications_for - (notification_type, config, notification_count) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.notifications.get_notifications_for_doctypes - (config, notification_count) -

-

Notifications for DocTypes

-
-
- - - - - - - -

- - - frappe.desk.notifications.get_notifications_for_modules - (config, notification_count) -

-

Notifications for modules

-
-
- - - - - - - -

- - - frappe.desk.notifications.get_notifications_for_other - (config, notification_count) -

-

Notifications for other items

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/frappe.desk.query_builder.html b/frappe/docs/current/api/desk/frappe.desk.query_builder.html deleted file mode 100644 index 922de50440..0000000000 --- a/frappe/docs/current/api/desk/frappe.desk.query_builder.html +++ /dev/null @@ -1,183 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.desk.query_builder.add_limit_to_query - (query, args) -

-

Add limit condition to query -can be used by methods called in listing to add limit condition

-
-
- - - - - - - -

- - - frappe.desk.query_builder.add_match_conditions - (q, tl) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.query_builder.build_description_simple - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.query_builder.build_description_standard - (meta, tl) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.query_builder.get_parent_dt - (dt) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.query_builder.get_sql_meta - (tl) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.query_builder.get_sql_tables - (q) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.query_builder.guess_type - (m) -

-

Returns fieldtype depending on the MySQLdb Description

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.query_builder.runquery -

-

- - - frappe.desk.query_builder.runquery - (q=, ret=0, from_export=0) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.query_builder.runquery_csv -

-

- - - frappe.desk.query_builder.runquery_csv - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/frappe.desk.query_report.html b/frappe/docs/current/api/desk/frappe.desk.query_report.html deleted file mode 100644 index 2646288191..0000000000 --- a/frappe/docs/current/api/desk/frappe.desk.query_report.html +++ /dev/null @@ -1,193 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.desk.query_report.add_total_row - (result, columns) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.query_report.get_columns_dict - (columns) -

-

Returns a dict with column docfield values as dict -The keys for the dict are both idx and fieldname, -so either index or fieldname can be used to search for a column's docfield properties

-
-
- - - - - - - -

- - - frappe.desk.query_report.get_filtered_data - (ref_doctype, columns, data) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.query_report.get_linked_doctypes - (columns, data) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.query_report.get_report_doc - (report_name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.query_report.get_report_module_dotted_path - (module, report_name) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.query_report.get_script -

-

- - - frappe.desk.query_report.get_script - (report_name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.query_report.get_user_match_filters - (doctypes, ref_doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.query_report.has_match - (row, linked_doctypes, doctype_match_filters, ref_doctype, if_owner, columns_dict) -

-

Returns True if after evaluating permissions for each linked doctype -- There is an owner match for the ref_doctype -- and There is a user permission match for all linked doctypes

- -

Returns True if the row is empty

- -

Note: -Each doctype could have multiple conflicting user permission doctypes. -Hence even if one of the sets allows a match, it is true. -This behavior is equivalent to the trickling of user permissions of linked doctypes to the ref doctype.

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.query_report.run -

-

- - - frappe.desk.query_report.run - (report_name, filters=()) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/frappe.desk.report_dump.html b/frappe/docs/current/api/desk/frappe.desk.report_dump.html deleted file mode 100644 index f57cd7ca87..0000000000 --- a/frappe/docs/current/api/desk/frappe.desk.report_dump.html +++ /dev/null @@ -1,36 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - -

Public API -
/api/method/frappe.desk.report_dump.get_data -

-

- - - frappe.desk.report_dump.get_data - (doctypes, last_modified) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/frappe.desk.reportview.html b/frappe/docs/current/api/desk/frappe.desk.reportview.html deleted file mode 100644 index 2fab012752..0000000000 --- a/frappe/docs/current/api/desk/frappe.desk.reportview.html +++ /dev/null @@ -1,220 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.desk.reportview.build_match_conditions - (doctype, as_condition=True) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.reportview.compress - (data) -

-

separate keys and values

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.reportview.delete_items -

-

- - - frappe.desk.reportview.delete_items - () -

-

delete selected items

-
-
- - - - - - - -

- - - frappe.desk.reportview.execute - (doctype) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.reportview.export_query -

-

- - - frappe.desk.reportview.export_query - () -

-

export from report builder

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.reportview.get -

-

- - - frappe.desk.reportview.get - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.reportview.get_form_params - () -

-

Stringify GET request parameters.

-
-
- - - - - - - -

- - - frappe.desk.reportview.get_labels - (fields, doctype) -

-

get column labels based on column names

-
-
- - - - - - - -

- - - frappe.desk.reportview.get_match_cond - (doctype) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.reportview.get_stats -

-

- - - frappe.desk.reportview.get_stats - (stats, doctype) -

-

get tag info

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.reportview.save_report -

-

- - - frappe.desk.reportview.save_report - () -

-

save report

-
-
- - - - - - - -

- - - frappe.desk.reportview.scrub_user_tags - (tagcount) -

-

rebuild tag list for tags

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/frappe.desk.search.html b/frappe/docs/current/api/desk/frappe.desk.search.html deleted file mode 100644 index 2ae8c3e30b..0000000000 --- a/frappe/docs/current/api/desk/frappe.desk.search.html +++ /dev/null @@ -1,102 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.desk.search.build_for_autosuggest - (res) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.search.get_std_fields_list - (meta, key) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.search.scrub_custom_query - (query, key, txt) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.search.search_link -

-

- - - frappe.desk.search.search_link - (doctype, txt, query=None, filters=None, page_len=20, searchfield=None) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.search.search_widget -

-

- - - frappe.desk.search.search_widget - (doctype, txt, query=None, searchfield=None, start=0, page_len=50, filters=None) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/frappe.desk.tags.html b/frappe/docs/current/api/desk/frappe.desk.tags.html deleted file mode 100644 index 70efde766b..0000000000 --- a/frappe/docs/current/api/desk/frappe.desk.tags.html +++ /dev/null @@ -1,213 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class DocTags

- -

Tags for a particular doctype

-
-
- - - - -

- - - __init__ - (self, dt) -

-

No docs

-
-
- - - - - -

- - - add - (self, dn, tag) -

-

add a new user tag

-
-
- - - - - -

- - - get_tag_fields - (self) -

-

returns tag_fields property

-
-
- - - - - -

- - - get_tags - (self, dn) -

-

returns tag for a particular item

-
-
- - - - - -

- - - remove - (self, dn, tag) -

-

remove a user tag

-
-
- - - - - -

- - - remove_all - (self, dn) -

-

remove all user tags (call before delete)

-
-
- - - - - -

- - - setup - (self) -

-

adds the usertags column if not exists

-
-
- - - - - -

- - - update - (self, dn, tl) -

-

updates the usertag column in the table

-
-
- - -
-
- - - - - - -

Public API -
/api/method/frappe.desk.tags.add_tag -

-

- - - frappe.desk.tags.add_tag - () -

-

adds a new tag to a record, and creates the Tag master

-
-
- - - - - - - -

- - - frappe.desk.tags.check_user_tags - (dt) -

-

if the user does not have a tags column, then it creates one

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.tags.get_tags -

-

- - - frappe.desk.tags.get_tags - (doctype, txt) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.desk.tags.remove_tag -

-

- - - frappe.desk.tags.remove_tag - () -

-

removes tag from the record

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/index.html b/frappe/docs/current/api/desk/index.html deleted file mode 100644 index 1e332a5d66..0000000000 --- a/frappe/docs/current/api/desk/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/desk/index.txt b/frappe/docs/current/api/desk/index.txt deleted file mode 100644 index dba8734feb..0000000000 --- a/frappe/docs/current/api/desk/index.txt +++ /dev/null @@ -1,12 +0,0 @@ -frappe.desk.calendar -frappe.desk.desk_page -frappe.desk -frappe.desk.like -frappe.desk.moduleview -frappe.desk.notifications -frappe.desk.query_builder -frappe.desk.query_report -frappe.desk.report_dump -frappe.desk.reportview -frappe.desk.search -frappe.desk.tags \ No newline at end of file diff --git a/frappe/docs/current/api/email/frappe.email.bulk.html b/frappe/docs/current/api/email/frappe.email.bulk.html deleted file mode 100644 index d45563832b..0000000000 --- a/frappe/docs/current/api/email/frappe.email.bulk.html +++ /dev/null @@ -1,197 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class BulkLimitCrossedError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - - - -

- - - frappe.email.bulk.add - (email, sender, subject, formatted, text_content=None, reference_doctype=None, reference_name=None, attachments=None, reply_to=None, cc=(), message_id=None, send_after=None, bulk_priority=1) -

-

add to bulk mail queue

-
-
- - - - - - - -

- - - frappe.email.bulk.check_bulk_limit - (recipients) -

-

No docs

-
-
- - - - - - - -

- - - frappe.email.bulk.clear_outbox - () -

-

Remove mails older than 31 days in Outbox. Called daily via scheduler.

-
-
- - - - - - - -

- - - frappe.email.bulk.flush - (from_test=False) -

-

flush email queue, every time: called from scheduler

-
-
- - - - - - - -

- - - frappe.email.bulk.get_unsubcribed_url - (reference_doctype, reference_name, email, unsubscribe_method, unsubscribe_params) -

-

No docs

-
-
- - - - - - - -

- - - frappe.email.bulk.get_unsubscribe_link - (reference_doctype, reference_name, email, recipients, expose_recipients, show_as_cc, unsubscribe_method, unsubscribe_params, unsubscribe_message) -

-

No docs

-
-
- - - - - - - -

- - - frappe.email.bulk.return_unsubscribed_page - (email, doctype, name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.email.bulk.send - (recipients=None, sender=None, subject=None, message=None, reference_doctype=None, reference_name=None, unsubscribe_method=None, unsubscribe_params=None, unsubscribe_message=None, attachments=None, reply_to=None, cc=(), show_as_cc=(), message_id=None, send_after=None, expose_recipients=False, bulk_priority=1) -

-

Add email to sending queue (Bulk Email)

- -

Parameters:

- - -
-
- - - - - - -

Public API -
/api/method/frappe.email.bulk.unsubscribe -

-

- - - frappe.email.bulk.unsubscribe - (doctype, name, email) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/email/frappe.email.email_body.html b/frappe/docs/current/api/email/frappe.email.email_body.html deleted file mode 100644 index 5d0c374191..0000000000 --- a/frappe/docs/current/api/email/frappe.email.email_body.html +++ /dev/null @@ -1,293 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class EMail

- -

Wrapper on the email module. Email object represents emails to be sent to the client. -Also provides a clean way to add binary FileData attachments -Also sets all messages as multipart/alternative for cleaner reading in text-only clients

-
-
- - - - -

- - - __init__ - (self, sender=, recipients=(), subject=, alternative=0, reply_to=None, cc=()) -

-

No docs

-
-
- - - - - -

- - - add_attachment - (self, fname, fcontent, content_type=None) -

-

add attachment

-
-
- - - - - -

- - - add_pdf_attachment - (self, name, html, options=None) -

-

No docs

-
-
- - - - - -

- - - as_string - (self) -

-

validate, build message and convert to string

-
-
- - - - - -

- - - attach_file - (self, n) -

-

attach a file from the FileData table

-
-
- - - - - -

- - - get_default_sender - (self) -

-

No docs

-
-
- - - - - -

- - - make - (self) -

-

build into msg_root

-
-
- - - - - -

- - - set_html - (self, message, text_content=None, footer=None, print_html=None, formatted=None) -

-

Attach message in the html portion of multipart/alternative

-
-
- - - - - -

- - - set_html_as_text - (self, html) -

-

return html2text

-
-
- - - - - -

- - - set_message - (self, message, mime_type=text/html, as_attachment=0, filename=attachment.html) -

-

Append the message with MIME content to the root node (as attachment)

-
-
- - - - - -

- - - set_message_id - (self, message_id) -

-

No docs

-
-
- - - - - -

- - - set_part_html - (self, message) -

-

No docs

-
-
- - - - - -

- - - set_text - (self, message) -

-

Attach message in the text portion of multipart/alternative

-
-
- - - - - -

- - - validate - (self) -

-

validate the email ids

-
-
- - -
-
- - - - - - - -

- - - frappe.email.email_body.get_email - (recipients, sender=, msg=, subject=[No Subject], text_content=None, footer=None, print_html=None, formatted=None, attachments=None, content=None, reply_to=None, cc=()) -

-

send an html email as multipart with attachments and all

-
-
- - - - - - - -

- - - frappe.email.email_body.get_footer - (email_account, footer=None) -

-

append a footer (signature)

-
-
- - - - - - - -

- - - frappe.email.email_body.get_formatted_html - (subject, message, footer=None, print_html=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.email.email_body.get_signature - (email_account) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/email/frappe.email.html b/frappe/docs/current/api/email/frappe.email.html deleted file mode 100644 index df731820b5..0000000000 --- a/frappe/docs/current/api/email/frappe.email.html +++ /dev/null @@ -1,100 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - -

Public API -
/api/method/frappe.email.get_contact_list -

-

- - - frappe.email.get_contact_list - () -

-

Returns contacts (from autosuggest)

-
-
- - - - - - - -

- - - frappe.email.get_system_managers - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.email.sendmail - (recipients, sender=, msg=, subject=[No Subject], attachments=None, content=None, reply_to=None, cc=(), message_id=None) -

-

send an html email as multipart with attachments and all

-
-
- - - - - - - -

- - - frappe.email.sendmail_md - (recipients, sender=None, msg=None, subject=None, attachments=None, content=None, reply_to=None, cc=(), message_id=None) -

-

send markdown email

-
-
- - - - - - - -

- - - frappe.email.sendmail_to_system_managers - (subject, content) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/email/frappe.email.receive.html b/frappe/docs/current/api/email/frappe.email.receive.html deleted file mode 100644 index 92efdd8ea8..0000000000 --- a/frappe/docs/current/api/email/frappe.email.receive.html +++ /dev/null @@ -1,731 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class Email

- -

Wrapper for an email.

-
-
- - - - -

- - - __init__ - (self, content) -

-

Parses headers, content, attachments from given raw message.

- -

Parameters:

- - -
-
- - - - - -

- - - get_attachment - (self, part, charset) -

-

No docs

-
-
- - - - - -

- - - get_charset - (self, part) -

-

Detect chartset.

-
-
- - - - - -

- - - get_payload - (self, part, charset) -

-

No docs

-
-
- - - - - -

- - - get_thread_id - (self) -

-

Extract thread ID from []

-
-
- - - - - -

- - - parse - (self) -

-

Walk and process multi-part email.

-
-
- - - - - -

- - - process_part - (self, part) -

-

Parse email part and set it to text_content, html_content or attachments.

-
-
- - - - - -

- - - save_attachments_in_doc - (self, doc) -

-

Save email attachments in given document.

-
-
- - - - - -

- - - set_content_and_type - (self) -

-

No docs

-
-
- - - - - -

- - - set_subject - (self) -

-

Parse and decode Subject header.

-
-
- - -
-
- - - - - -

Class EmailServer

- -

Wrapper for POP server to pull emails.

-
-
- - - - -

- - - __init__ - (self, args=None) -

-

No docs

-
-
- - - - - -

- - - check_mails - (self) -

-

No docs

-
-
- - - - - -

- - - connect - (self) -

-

Connect to Email Account.

-
-
- - - - - -

- - - connect_imap - (self) -

-

Connect to IMAP

-
-
- - - - - -

- - - connect_pop - (self) -

-

No docs

-
-
- - - - - -

- - - get_messages - (self) -

-

Returns new email messages in a list.

-
-
- - - - - -

- - - get_new_mails - (self) -

-

Return list of new mails

-
-
- - - - - -

- - - has_login_limit_exceeded - (self, e) -

-

No docs

-
-
- - - - - -

- - - is_temporary_system_problem - (self, e) -

-

No docs

-
-
- - - - - -

- - - make_error_msg - (self, msg_num, incoming_mail) -

-

No docs

-
-
- - - - - -

- - - process_message - (self, mail) -

-

No docs

-
-
- - - - - -

- - - retrieve_message - (self, message_meta, msg_num=None) -

-

No docs

-
-
- - - - - -

- - - setup - (self, args=None) -

-

No docs

-
-
- - - - - -

- - - validate_message_limits - (self, message_meta) -

-

No docs

-
-
- - -
-
- - - - - -

Class EmailSizeExceededError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class EmailTimeoutError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class LoginLimitExceeded

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class Timed_IMAP4

- -

Inherits from frappe.email.receive.TimerMixin, imaplib.IMAP4 - -

-
-
- - - - -

- - - __init__ - (self) -

-

No docs

-
-
- - - - - -

- - - _getline - (self) -

-

No docs

-
-
- - - - - -

- - - quit - (self) -

-

No docs

-
-
- - -
-
- - - - - -

Class Timed_IMAP4_SSL

- -

Inherits from frappe.email.receive.TimerMixin, imaplib.IMAP4_SSL - -

-
-
- - - - -

- - - __init__ - (self) -

-

No docs

-
-
- - - - - -

- - - _getline - (self) -

-

No docs

-
-
- - - - - -

- - - quit - (self) -

-

No docs

-
-
- - -
-
- - - - - -

Class Timed_POP3

- -

Inherits from frappe.email.receive.TimerMixin, poplib.POP3 - -

-
-
- - - - -

- - - __init__ - (self) -

-

No docs

-
-
- - - - - -

- - - _getline - (self) -

-

No docs

-
-
- - - - - -

- - - quit - (self) -

-

No docs

-
-
- - -
-
- - - - - -

Class Timed_POP3_SSL

- -

Inherits from frappe.email.receive.TimerMixin, poplib.POP3_SSL - -

-
-
- - - - -

- - - __init__ - (self) -

-

No docs

-
-
- - - - - -

- - - _getline - (self) -

-

No docs

-
-
- - - - - -

- - - quit - (self) -

-

No docs

-
-
- - -
-
- - - - - -

Class TimerMixin

- -

Inherits from __builtin__.object - -

-
-
- - - - -

- - - __init__ - (self) -

-

No docs

-
-
- - - - - -

- - - _getline - (self) -

-

No docs

-
-
- - - - - -

- - - quit - (self) -

-

No docs

-
-
- - -
-
- - - - - -

Class TotalSizeExceededError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/email/frappe.email.smtp.html b/frappe/docs/current/api/email/frappe.email.smtp.html deleted file mode 100644 index 52190b073f..0000000000 --- a/frappe/docs/current/api/email/frappe.email.smtp.html +++ /dev/null @@ -1,139 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class SMTPServer

- -

-
-
- - - - -

- - - __init__ - (self, login=None, password=None, server=None, port=None, use_ssl=None, append_to=None) -

-

No docs

-
-
- - - - - -

- - - replace_sender_in_email - (self, email) -

-

No docs

-
-
- - - - - -

- - - setup_email_account - (self, append_to=None) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.email.smtp._get_email_account - (filters) -

-

No docs

-
-
- - - - - - - -

- - - frappe.email.smtp.get_default_outgoing_email_account - (raise_exception_not_set=True) -

-

No docs

-
-
- - - - - - - -

- - - frappe.email.smtp.get_outgoing_email_account - (raise_exception_not_set=True, append_to=None) -

-

Returns outgoing email account based on append_to or the default -outgoing account. If default outgoing account is not found, it will -try getting settings from site_config.json.

-
-
- - - - - - - -

- - - frappe.email.smtp.send - (email, append_to=None) -

-

send the message or add it to Outbox Email

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/email/index.html b/frappe/docs/current/api/email/index.html deleted file mode 100644 index 66d5d339d3..0000000000 --- a/frappe/docs/current/api/email/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/email/index.txt b/frappe/docs/current/api/email/index.txt deleted file mode 100644 index cf44b156d7..0000000000 --- a/frappe/docs/current/api/email/index.txt +++ /dev/null @@ -1,5 +0,0 @@ -frappe.email.bulk -frappe.email.email_body -frappe.email -frappe.email.receive -frappe.email.smtp \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.__init__.html b/frappe/docs/current/api/frappe.__init__.html deleted file mode 100644 index 3de94c9a09..0000000000 --- a/frappe/docs/current/api/frappe.__init__.html +++ /dev/null @@ -1,1682 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - -

Introduction


globals attached to frappe module -+ some utility functions that should probably be moved

-

- - - - - -

- - - frappe._ - (msg, lang=None) -

-

Returns translated string in current lang, if exists.

-
-
- - - - - -

Class _dict

- -

Inherits from __builtin__.dict - -

dict like object that exposes keys as attributes

-
-
- - - - -

- - - __getattr__ - (self, key) -

-

No docs

-
-
- - - - - -

- - - __getstate__ - (self) -

-

No docs

-
-
- - - - - -

- - - __setattr__ - (self, key, value) -

-

No docs

-
-
- - - - - -

- - - __setstate__ - (self, d) -

-

No docs

-
-
- - - - - -

- - - copy - (self) -

-

No docs

-
-
- - - - - -

- - - update - (self, d) -

-

update and return self -- the missing dict feature in python

-
-
- - -
-
- - - - - - - -

- - - frappe.add_version - (doc) -

-

Insert a new Version of the given document. -A Version is a JSON dump of the current document state.

-
-
- - - - - - - -

- - - frappe.are_emails_muted - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.as_json - (obj, indent=1) -

-

No docs

-
-
- - - - - - - -

- - - frappe.attach_print - (doctype, name, file_name=None, print_format=None, style=None, html=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.build_match_conditions - (doctype, as_condition=True) -

-

Return match (User permissions) for given doctype as list or SQL.

-
-
- - - - - - - -

- - - frappe.cache - () -

-

Returns memcache connection.

-
-
- - - - - - - -

- - - frappe.call - (fn) -

-

Call a function and match arguments.

-
-
- - - - - - - -

- - - frappe.clear_cache - (user=None, doctype=None) -

-

Clear User, DocType or global cache.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.compare - (val1, condition, val2) -

-

Compare two values using frappe.utils.compare

- -

condition could be: -- "^" -- "in" -- "not in" -- "=" -- "!=" -- ">" -- "<" -- ">=" -- "<=" -- "not None" -- "None"

-
-
- - - - - - - -

- - - frappe.connect - (site=None, db_name=None) -

-

Connect to site database instance.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.copy_doc - (doc, ignore_no_copy=True) -

-

No_copy fields also get copied.

-
-
- - - - - - - -

- - - frappe.create_folder - (path, with_init=False) -

-

Create a folder in the given path and add an __init__.py file (optional).

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.delete_doc - (doctype=None, name=None, force=0, ignore_doctypes=None, for_reload=False, ignore_permissions=False, flags=None) -

-

Delete a document. Calls frappe.model.delete_doc.delete_doc.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.delete_doc_if_exists - (doctype, name, force=0) -

-

Delete document if exists.

-
-
- - - - - - - -

- - - frappe.destroy - () -

-

Closes connection and releases werkzeug local.

-
-
- - - - - - - -

- - - frappe.errprint - (msg) -

-

Log error. This is sent back as exc in response.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.format_value - (value, df, doc=None, currency=None) -

-

Format value with given field properties.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.generate_hash - (txt=None, length=None) -

-

Generates random hash for given text + current timestamp + random string.

-
-
- - - - - - - -

- - - frappe.get_all - (doctype) -

-

List database query via frappe.model.db_query. Will not check for conditions. -Parameters are same as frappe.get_list

- -

Parameters:

- - - -

Example usage:

- -
# simple dict filter
-frappe.get_all("ToDo", fields=["name", "description"], filters = {"owner":"test@example.com"})
-
-# filter as a list of lists
-frappe.get_all("ToDo", fields=["*"], filters = [["modified", ">", "2014-01-01"]])
-
-# filter as a list of dicts
-frappe.get_all("ToDo", fields=["*"], filters = {"description": ("like", "test%")})
-
-
-
- - - - - - - -

- - - frappe.get_all_apps - (with_frappe=False, with_internal_apps=True, sites_path=None) -

-

Get list of all apps via sites/apps.txt.

-
-
- - - - - - - -

- - - frappe.get_app_path - (app_name) -

-

Return path of given app.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.get_attr - (method_string) -

-

Get python method object from its name.

-
-
- - - - - - - -

- - - frappe.get_doc - (arg1, arg2=None) -

-

Return a frappe.model.document.Document object of the given type and name.

- -

Parameters:

- - - -

Examples:

- -
# insert a new document
-todo = frappe.get_doc({"doctype":"ToDo", "description": "test"})
-tood.insert()
-
-# open an existing document
-todo = frappe.get_doc("ToDo", "TD0001")
-
-
-
- - - - - - - -

- - - frappe.get_doctype_app - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.get_file_items - (path, raise_not_found=False, ignore_empty_lines=True) -

-

Returns items from text file as a list. Ignores empty lines.

-
-
- - - - - - - -

- - - frappe.get_file_json - (path) -

-

Read a file and return parsed JSON object.

-
-
- - - - - - - -

- - - frappe.get_hooks - (hook=None, default=None, app_name=None) -

-

Get hooks via app/hooks.py

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.get_installed_apps - (sort=False, frappe_last=False) -

-

Get list of installed apps in current site.

-
-
- - - - - - - -

- - - frappe.get_lang_dict - (fortype, name=None) -

-

Returns the translated language dict for the given type and name.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.get_last_doc - (doctype) -

-

Get last created document of this type.

-
-
- - - - - - - -

- - - frappe.get_list - (doctype) -

-

List database query via frappe.model.db_query. Will also check for permissions.

- -

Parameters:

- - - -

Example usage:

- -
# simple dict filter
-frappe.get_list("ToDo", fields=["name", "description"], filters = {"owner":"test@example.com"})
-
-# filter as a list of lists
-frappe.get_list("ToDo", fields="*", filters = [["modified", ">", "2014-01-01"]])
-
-# filter as a list of dicts
-frappe.get_list("ToDo", fields="*", filters = {"description": ("like", "test%")})
-
-
-
- - - - - - - -

- - - frappe.get_logger - (module=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.get_meta - (doctype, cached=True) -

-

Get frappe.model.meta.Meta instance of given doctype name.

-
-
- - - - - - - -

- - - frappe.get_meta_module - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.get_module - (modulename) -

-

Returns a module object for given Python module name using importlib.import_module.

-
-
- - - - - - - -

- - - frappe.get_module_list - (app_name) -

-

Get list of modules for given all via app/modules.txt.

-
-
- - - - - - - -

- - - frappe.get_module_path - (module) -

-

Get the path of the given module name.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.get_precision - (doctype, fieldname, currency=None, doc=None) -

-

Get precision for a given field

-
-
- - - - - - - -

- - - frappe.get_print - (doctype, name, print_format=None, style=None, html=None, as_pdf=False) -

-

Get Print Format for given document.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.get_pymodule_path - (modulename) -

-

Return path of given Python module name.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.get_request_header - (key, default=None) -

-

Return HTTP request header.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.get_roles - (username=None) -

-

Returns roles of current user.

-
-
- - - - - - - -

- - - frappe.get_single - (doctype) -

-

Return a frappe.model.document.Document object of the given Single doctype.

-
-
- - - - - - - -

- - - frappe.get_site_config - (sites_path=None, site_path=None) -

-

Returns site_config.json combined with sites/common_site_config.json. -site_config is a set of site wide settings like database name, password, email etc.

-
-
- - - - - - - -

- - - frappe.get_site_path - () -

-

Return path of current site.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.get_test_records - (doctype) -

-

Returns list of objects from test_records.json in the given doctype's folder.

-
-
- - - - - - - -

- - - frappe.get_traceback - () -

-

Returns error traceback.

-
-
- - - - - - - -

- - - frappe.get_user - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.get_value - () -

-

Returns a document property or list of properties.

- -

Alias for frappe.db.get_value

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.has_permission - (doctype, ptype=read, doc=None, user=None, verbose=False, throw=False) -

-

Raises frappe.PermissionError if not permitted.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.has_website_permission - (doctype, ptype=read, doc=None, user=None, verbose=False) -

-

Raises frappe.PermissionError if not permitted.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.import_doc - (path, ignore_links=False, ignore_insert=False, insert=False) -

-

Import a file using Data Import Tool.

-
-
- - - - - - - -

- - - frappe.init - (site, sites_path=None, new_site=False) -

-

Initialize frappe for the current site. Reset thread locals frappe.local

-
-
- - - - - - - -

- - - frappe.is_table - (doctype) -

-

Returns True if istable property (indicating child Table) is set for given DocType.

-
-
- - - - - - - -

- - - frappe.local_cache - (namespace, key, generator, regenerate_if_none=False) -

-

A key value store for caching within a request

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.log - (msg) -

-

Add to debug_log.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.make_property_setter - (args, ignore_validate=False, validate_fields_for_doctype=True) -

-

Create a new Property Setter (for overriding DocType and DocField properties).

-
-
- - - - - - - -

- - - frappe.msgprint - (msg, small=0, raise_exception=0, as_table=False) -

-

Print a message to the user (via HTTP response). -Messages are sent in the __server_messages property in the -response JSON and shown in a pop-up / modal.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.new_doc - (doctype, parent_doc=None, parentfield=None, as_dict=False) -

-

Returns a new document of the given DocType with defaults set.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.only_for - (roles) -

-

Raise frappe.PermissionError if the user does not have any of the given Roles.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.publish_realtime - () -

-

Publish real-time updates

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.read_file - (path, raise_not_found=False) -

-

Open a file and return its content as Unicode.

-
-
- - - - - - - -

- - - frappe.reload_doc - (module, dt=None, dn=None, force=False) -

-

Reload Document from model ([module]/[doctype]/[name]/[name].json) files.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.reload_doctype - (doctype, force=False) -

-

Reload DocType from model ([module]/[doctype]/[name]/[name].json) files.

-
-
- - - - - - - -

- - - frappe.rename_doc - (doctype, old, new, debug=0, force=False, merge=False, ignore_permissions=False) -

-

Rename a document. Calls frappe.model.rename_doc.rename_doc

-
-
- - - - - - - -

- - - frappe.reset_metadata_version - () -

-

Reset metadata_version (Client (Javascript) build ID) hash.

-
-
- - - - - - - -

- - - frappe.respond_as_web_page - (title, html, success=None, http_status_code=None) -

-

Send response as a web page with a message rather than JSON. Used to show permission errors etc.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.scrub - (txt) -

-

Returns sluggified string. e.g. Sales Order becomes sales_order.

-
-
- - - - - - - -

- - - frappe.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, bulk_priority=1) -

-

Send email using user's default Email Account or global default Email Account.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.set_user - (username) -

-

Set current user.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.set_user_lang - (user, user_language=None) -

-

Guess and set user language for the session. frappe.local.lang

-
-
- - - - - - - -

- - - frappe.set_value - (doctype, docname, fieldname, value) -

-

Set document value. Calls frappe.client.set_value

-
-
- - - - - - - -

- - - frappe.setup_module_map - () -

-

Rebuild map of all modules (internal).

-
-
- - - - - - - -

- - - frappe.throw - (msg, exc=) -

-

Throw execption and show message (msgprint).

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.unscrub - (txt) -

-

Returns titlified string. e.g. sales_order becomes Sales Order.

-
-
- - - - - - - -

- - - frappe.whitelist - (allow_guest=False, xss_safe=False) -

-

Decorator for whitelisting a function and making it accessible via HTTP. -Standard request will be /api/method/[path.to.method]

- -

Parameters:

- - - -

Use as:

- -
@frappe.whitelist()
-def myfunc(param1, param2):
-    pass
-
-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.__version__.html b/frappe/docs/current/api/frappe.__version__.html deleted file mode 100644 index 372f353ff5..0000000000 --- a/frappe/docs/current/api/frappe.__version__.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.api.html b/frappe/docs/current/api/frappe.api.html deleted file mode 100644 index 15dd21de86..0000000000 --- a/frappe/docs/current/api/frappe.api.html +++ /dev/null @@ -1,53 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.api.handle - () -

-

Handler for /api methods

- -

Examples:

- -

/api/method/{methodname} will call a whitelisted method

- -

/api/resource/{doctype} will query a table - examples: - - ?fields=["name", "owner"] - - ?filters=[["Task", "name", "like", "%005"]] - - ?limit_start=0 - - ?limit_page_length=20

- -

/api/resource/{doctype}/{name} will point to a resource - GET will return doclist - POST will insert - PUT will update - DELETE will delete

- -

/api/resource/{doctype}/{name}?run_method={method} will run a whitelisted controller method

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.app.html b/frappe/docs/current/api/frappe.app.html deleted file mode 100644 index 7f5911b2ff..0000000000 --- a/frappe/docs/current/api/frappe.app.html +++ /dev/null @@ -1,123 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class RequestContext

- -

Inherits from __builtin__.object - -

-
-
- - - - -

- - - __enter__ - (self) -

-

No docs

-
-
- - - - - -

- - - __exit__ - (self, type, value, traceback) -

-

No docs

-
-
- - - - - -

- - - __init__ - (self, environ) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.app.init_site - (request) -

-

No docs

-
-
- - - - - - - -

- - - frappe.app.make_form_dict - (request) -

-

No docs

-
-
- - - - - - - -

- - - frappe.app.serve - (port=8000, profile=False, site=None, sites_path=.) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.async.html b/frappe/docs/current/api/frappe.async.html deleted file mode 100644 index 1c7adf680f..0000000000 --- a/frappe/docs/current/api/frappe.async.html +++ /dev/null @@ -1,395 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class FileAndRedisStream

- -

Inherits from __builtin__.file - -

-
-
- - - - -

- - - __init__ - (self) -

-

No docs

-
-
- - - - - -

- - - write - (self, data) -

-

No docs

-
-
- - -
-
- - - - - - -

Public API -
/api/method/frappe.async.can_subscribe_doc -

-

- - - frappe.async.can_subscribe_doc - (doctype, docname, sid) -

-

No docs

-
-
- - - - - - - -

- - - frappe.async.emit_via_redis - (event, message, room) -

-

Publish real-time updates via redis

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.async.get_doc_room - (doctype, docname) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.async.get_pending_tasks_for_doc -

-

- - - frappe.async.get_pending_tasks_for_doc - (doctype, docname) -

-

No docs

-
-
- - - - - - - -

- - - frappe.async.get_redis_server - () -

-

Returns memcache connection.

-
-
- - - - - - - -

- - - frappe.async.get_site_room - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.async.get_std_streams - (task_id) -

-

No docs

-
-
- - - - - - - -

- - - frappe.async.get_task_log_file_path - (task_id, stream_type) -

-

No docs

-
-
- - - - - - - -

- - - frappe.async.get_task_progress_room - () -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.async.get_task_status -

-

- - - frappe.async.get_task_status - (task_id) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.async.get_user_info -

-

- - - frappe.async.get_user_info - (sid) -

-

No docs

-
-
- - - - - - - -

- - - frappe.async.get_user_room - (user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.async.handler - (f) -

-

No docs

-
-
- - - - - - - -

- - - frappe.async.is_file_old - (file_path) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.async.ping -

-

- - - frappe.async.ping - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.async.publish_realtime - (event=None, message=None, room=None, user=None, doctype=None, docname=None, after_commit=False) -

-

Publish real-time updates

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.async.put_log - (line_no, line, task_id=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.async.remove_old_task_logs - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.async.set_task_status - (task_id, status, response=None) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.auth.html b/frappe/docs/current/api/frappe.auth.html deleted file mode 100644 index 8d31cd897b..0000000000 --- a/frappe/docs/current/api/frappe.auth.html +++ /dev/null @@ -1,501 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class CookieManager

- -

-
-
- - - - -

- - - __init__ - (self) -

-

No docs

-
-
- - - - - -

- - - delete_cookie - (self, to_delete) -

-

No docs

-
-
- - - - - -

- - - flush_cookies - (self, response) -

-

No docs

-
-
- - - - - -

- - - init_cookies - (self) -

-

No docs

-
-
- - - - - -

- - - set_cookie - (self, key, value, expires=None) -

-

No docs

-
-
- - -
-
- - - - - -

Class HTTPRequest

- -

-
-
- - - - -

- - - __init__ - (self) -

-

No docs

-
-
- - - - - -

- - - connect - (self, ac_name=None) -

-

connect to db, from acname or dbname

-
-
- - - - - -

- - - get_db_name - (self) -

-

get database name from conf

-
-
- - - - - -

- - - set_lang - (self) -

-

No docs

-
-
- - - - - -

- - - validate_csrf_token - (self) -

-

No docs

-
-
- - -
-
- - - - - -

Class LoginManager

- -

-
-
- - - - -

- - - __init__ - (self) -

-

No docs

-
-
- - - - - -

- - - authenticate - (self, user=None, pwd=None) -

-

No docs

-
-
- - - - - -

- - - check_if_enabled - (self, user) -

-

raise exception if user not enabled

-
-
- - - - - -

- - - check_password - (self, user, pwd) -

-

check password

-
-
- - - - - -

- - - clear_active_sessions - (self) -

-

No docs

-
-
- - - - - -

- - - clear_cookies - (self) -

-

No docs

-
-
- - - - - -

- - - fail - (self, message) -

-

No docs

-
-
- - - - - -

- - - login - (self) -

-

No docs

-
-
- - - - - -

- - - login_as - (self, user) -

-

No docs

-
-
- - - - - -

- - - login_as_guest - (self) -

-

login as guest

-
-
- - - - - -

- - - logout - (self, arg=, user=None) -

-

No docs

-
-
- - - - - -

- - - make_session - (self, resume=False) -

-

No docs

-
-
- - - - - -

- - - post_login - (self) -

-

No docs

-
-
- - - - - -

- - - run_trigger - (self, event=on_login) -

-

No docs

-
-
- - - - - -

- - - set_user_info - (self, resume=False) -

-

No docs

-
-
- - - - - -

- - - validate_hour - (self) -

-

check if user is logging in during restricted hours

-
-
- - - - - -

- - - validate_ip_address - (self) -

-

check if IP Address is valid

-
-
- - -
-
- - - - - - - -

- - - frappe.auth._update_password - (user, password) -

-

No docs

-
-
- - - - - - - -

- - - frappe.auth.clear_cookies - () -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.auth.get_logged_user -

-

- - - frappe.auth.get_logged_user - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.auth.get_website_user_home_page - (user) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.boot.html b/frappe/docs/current/api/frappe.boot.html deleted file mode 100644 index 9dcd1661d0..0000000000 --- a/frappe/docs/current/api/frappe.boot.html +++ /dev/null @@ -1,178 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.boot.add_home_page - (bootinfo, docs) -

-

load home page

-
-
- - - - - - - -

- - - frappe.boot.add_timezone_info - (bootinfo) -

-

No docs

-
-
- - - - - - - -

- - - frappe.boot.get_allowed_pages - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.boot.get_bootinfo - () -

-

build and return boot info

-
-
- - - - - - - -

- - - frappe.boot.get_fullnames - () -

-

map of user fullnames

-
-
- - - - - - - -

- - - frappe.boot.get_user - (bootinfo) -

-

get user info

-
-
- - - - - - - -

- - - frappe.boot.load_conf_settings - (bootinfo) -

-

No docs

-
-
- - - - - - - -

- - - frappe.boot.load_print - (bootinfo, doclist) -

-

No docs

-
-
- - - - - - - -

- - - frappe.boot.load_print_css - (bootinfo, print_settings) -

-

No docs

-
-
- - - - - - - -

- - - frappe.boot.load_translations - (bootinfo) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.build.html b/frappe/docs/current/api/frappe.build.html deleted file mode 100644 index f77d3c7cd2..0000000000 --- a/frappe/docs/current/api/frappe.build.html +++ /dev/null @@ -1,178 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.build.build - (no_compress=False, verbose=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.build.bundle - (no_compress, make_copy=False, verbose=False) -

-

concat / minify js files

-
-
- - - - - - - -

- - - frappe.build.compile_less - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.build.files_dirty - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.build.get_build_maps - () -

-

get all build.jsons with absolute paths

-
-
- - - - - - - -

- - - frappe.build.html_to_js_template - (path, content) -

-

No docs

-
-
- - - - - - - -

- - - frappe.build.make_asset_dirs - (make_copy=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.build.pack - (target, sources, no_compress, verbose) -

-

No docs

-
-
- - - - - - - -

- - - frappe.build.setup - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.build.watch - (no_compress) -

-

watch and rebuild if necessary

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.celery_app.html b/frappe/docs/current/api/frappe.celery_app.html deleted file mode 100644 index c1b605d4fc..0000000000 --- a/frappe/docs/current/api/frappe.celery_app.html +++ /dev/null @@ -1,261 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class AsyncTaskRouter

- -

Inherits from __builtin__.object - -

-
-
- - - - -

- - - route_for_task - (self, task, args=None, kwargs=None) -

-

No docs

-
-
- - -
-
- - - - - -

Class MonitorThread

- -

Inherits from __builtin__.object - -

Thread manager for monitoring celery events

-
-
- - - - -

- - - __init__ - (self, celery_app, interval=1) -

-

No docs

-
-
- - - - - -

- - - catchall - (self, event) -

-

No docs

-
-
- - - - - -

- - - run - (self) -

-

No docs

-
-
- - -
-
- - - - - -

Class SiteRouter

- -

Inherits from __builtin__.object - -

-
-
- - - - -

- - - route_for_task - (self, task, args=None, kwargs=None) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.celery_app.celery_task - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.celery_app.get_beat_schedule - (conf) -

-

No docs

-
-
- - - - - - - -

- - - frappe.celery_app.get_celery - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.celery_app.get_celery_app - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.celery_app.get_queue - (site, prefix=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.celery_app.get_site_config - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.celery_app.make_async_task - (args) -

-

No docs

-
-
- - - - - - - -

- - - frappe.celery_app.run_test - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.client.html b/frappe/docs/current/api/frappe.client.html deleted file mode 100644 index 43248c3576..0000000000 --- a/frappe/docs/current/api/frappe.client.html +++ /dev/null @@ -1,288 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - -

Public API -
/api/method/frappe.client.bulk_update -

-

- - - frappe.client.bulk_update - (docs) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.client.cancel -

-

- - - frappe.client.cancel - (doctype, name) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.client.delete -

-

- - - frappe.client.delete - (doctype, name) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.client.get -

-

- - - frappe.client.get - (doctype, name=None, filters=None) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.client.get_js -

-

- - - frappe.client.get_js - (src) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.client.get_list -

-

- - - frappe.client.get_list - (doctype, fields=None, filters=None, order_by=None, limit_start=None, limit_page_length=20) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.client.get_value -

-

- - - frappe.client.get_value - (doctype, fieldname, filters=None, as_dict=True, debug=False) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.client.has_permission -

-

- - - frappe.client.has_permission - (doctype, docname, perm_type=read) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.client.insert -

-

- - - frappe.client.insert - (doc=None) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.client.make_width_property_setter -

-

- - - frappe.client.make_width_property_setter - (doc) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.client.rename_doc -

-

- - - frappe.client.rename_doc - (doctype, old_name, new_name, merge=False) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.client.save -

-

- - - frappe.client.save - (doc) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.client.set_default -

-

- - - frappe.client.set_default - (key, value, parent=None) -

-

set a user default value

-
-
- - - - - - -

Public API -
/api/method/frappe.client.set_value -

-

- - - frappe.client.set_value - (doctype, name, fieldname, value) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.client.submit -

-

- - - frappe.client.submit - (doc) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.commands.html b/frappe/docs/current/api/frappe.commands.html deleted file mode 100644 index 2795b95594..0000000000 --- a/frappe/docs/current/api/frappe.commands.html +++ /dev/null @@ -1,162 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.commands._build_docs_once - (site, app, docs_version, target, local, only_content_updated=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.commands._is_scheduler_enabled - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.commands._new_site - (db_name, site, mariadb_root_username=None, mariadb_root_password=None, admin_password=None, verbose=False, install_apps=None, source_sql=None, force=False, reinstall=False) -

-

Install a new Frappe site

-
-
- - - - - - - -

- - - frappe.commands.call_command - (cmd, context) -

-

No docs

-
-
- - - - - - - -

- - - frappe.commands.get_single_site - (context) -

-

No docs

-
-
- - - - - - - -

- - - frappe.commands.move - (dest_dir, site) -

-

No docs

-
-
- - - - - - - -

- - - frappe.commands.pass_context - (f) -

-

No docs

-
-
- - - - - - - -

- - - frappe.commands.prepare_for_update - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.commands.use - (site, sites_path=.) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.database.html b/frappe/docs/current/api/frappe.database.html deleted file mode 100644 index ee777df3e3..0000000000 --- a/frappe/docs/current/api/frappe.database.html +++ /dev/null @@ -1,938 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class Database

- -

Open a database connection with the given parmeters, if use_default is True, use the -login details from conf.py. This is called by the request handler and is accessible using -the db global variable. the sql method is also global to run queries

-
-
- - - - -

- - - __init__ - (self, host=None, user=None, password=None, ac_name=None, use_default=0) -

-

No docs

-
-
- - - - - -

- - - _get_value_for_many_names - (self, doctype, names, field, debug=False) -

-

No docs

-
-
- - - - - -

- - - _get_values_from_table - (self, fields, filters, doctype, as_dict, debug, order_by=None, update=None) -

-

No docs

-
-
- - - - - -

- - - a_row_exists - (self, doctype) -

-

Returns True if atleast one row exists.

-
-
- - - - - -

- - - add_default - (self, key, val, parent=__default, parenttype=None) -

-

Append a default value for a key, there can be multiple default values for a particular key.

-
-
- - - - - -

- - - add_index - (self, doctype, fields, index_name=None) -

-

Creates an index with given fields if not already created. -Index name will be fieldname1_fieldname2_index

-
-
- - - - - -

- - - add_unique - (self, doctype, fields, constraint_name=None) -

-

No docs

-
-
- - - - - -

- - - begin - (self) -

-

No docs

-
-
- - - - - -

- - - build_conditions - (self, filters) -

-

Convert filters sent as dict, lists to SQL conditions. filter's key -is passed by map function, build conditions like:

- - -
-
- - - - - -

- - - check_transaction_status - (self, query) -

-

Raises exception if more than 20,000 INSERT, UPDATE queries are -executed in one transaction. This is to ensure that writes are always flushed otherwise this -could cause the system to hang.

-
-
- - - - - -

- - - close - (self) -

-

Close database connection.

-
-
- - - - - -

- - - commit - (self) -

-

Commit current transaction. Calls SQL COMMIT.

-
-
- - - - - -

- - - connect - (self) -

-

Connects to a database as set in site_config.json.

-
-
- - - - - -

- - - convert_to_lists - (self, res, formatted=0, as_utf8=0) -

-

Convert tuple output to lists (internal).

-
-
- - - - - -

- - - convert_to_simple_type - (self, v, formatted=0) -

-

Format date, time, longint values.

-
-
- - - - - -

- - - convert_to_utf8 - (self, res, formatted=0) -

-

Encode result as UTF-8.

-
-
- - - - - -

- - - count - (self, dt, filters=None, debug=False) -

-

Returns COUNT(*) for given DocType and filters.

-
-
- - - - - -

- - - escape - (self, s, percent=True) -

-

Excape quotes and percent in given string.

-
-
- - - - - -

- - - exists - (self, dt, dn=None) -

-

Returns true if document exists.

- -

Parameters:

- - -
-
- - - - - -

- - - explain_query - (self, query, values=None) -

-

Print EXPLAIN in error log.

-
-
- - - - - -

- - - fetch_as_dict - (self, formatted=0, as_utf8=0) -

-

Internal. Converts results to dict.

-
-
- - - - - -

- - - field_exists - (self, dt, fn) -

-

Return true of field exists.

-
-
- - - - - -

- - - get - (self, doctype, filters=None, as_dict=True, cache=False) -

-

Returns get_value with fieldname='*'

-
-
- - - - - -

- - - get_all - (self) -

-

No docs

-
-
- - - - - -

- - - get_creation_count - (self, doctype, minutes) -

-

Get count of records created in the last x minutes

-
-
- - - - - -

- - - get_db_login - (self, ac_name) -

-

No docs

-
-
- - - - - -

- - - get_default - (self, key, parent=__default) -

-

Returns default value as a list if multiple or single

-
-
- - - - - -

- - - get_defaults - (self, key=None, parent=__default) -

-

Get all defaults

-
-
- - - - - -

- - - get_description - (self) -

-

Returns result metadata.

-
-
- - - - - -

- - - get_global - (self, key, user=__global) -

-

Returns a global key value.

-
-
- - - - - -

- - - get_list - (self) -

-

No docs

-
-
- - - - - -

- - - get_single_value - (self, doctype, fieldname, cache=False) -

-

Get property of Single DocType. Cache locally by default

-
-
- - - - - -

- - - get_singles_dict - (self, doctype) -

-

Get Single DocType as dict.

-
-
- - - - - -

- - - get_singles_value - (self) -

-

Alias for getsinglevalue

-
-
- - - - - -

- - - get_table_columns - (self, doctype) -

-

Returns list of column names from given doctype.

-
-
- - - - - -

- - - get_tables - (self) -

-

No docs

-
-
- - - - - -

- - - get_temp - (self, key) -

-

Return the temperory value and delete it.

-
-
- - - - - -

- - - get_value - (self, doctype, filters=None, fieldname=name, ignore=None, as_dict=False, debug=False, cache=False) -

-

Returns a document property or list of properties.

- -

Parameters:

- - - -

Example:

- -
# return first customer starting with a
-frappe.db.get_value("Customer", {"name": ("like a%")})
-
-# return last login of **User** `test@example.com`
-frappe.db.get_value("User", "test@example.com", "last_login")
-
-last_login, last_ip = frappe.db.get_value("User", "test@example.com",
-    ["last_login", "last_ip"])
-
-# returns default date_format
-frappe.db.get_value("System Settings", None, "date_format")
-
-
-
- - - - - -

- - - get_values - (self, doctype, filters=None, fieldname=name, ignore=None, as_dict=False, debug=False, order_by=None, update=None, cache=False) -

-

Returns multiple document properties.

- -

Parameters:

- - - -

Example:

- -
# return first customer starting with a
-customers = frappe.db.get_values("Customer", {"name": ("like a%")})
-
-# return last login of **User** `test@example.com`
-user = frappe.db.get_values("User", "test@example.com", "*")[0]
-
-
-
- - - - - -

- - - get_values_from_single - (self, fields, filters, doctype, as_dict=False, debug=False, update=None) -

-

Get values from tabSingles (Single DocTypes) (internal).

- -

Parameters:

- - -
-
- - - - - -

- - - has_column - (self, doctype, column) -

-

Returns True if column exists in database.

-
-
- - - - - -

- - - needs_formatting - (self, result, formatted) -

-

Returns true if the first row in the result has a Date, Datetime, Long Int.

-
-
- - - - - -

- - - rollback - (self) -

-

ROLLBACK current transaction.

-
-
- - - - - -

- - - set - (self, doc, field, val) -

-

Set value in document. Avoid

-
-
- - - - - -

- - - set_default - (self, key, val, parent=__default, parenttype=None) -

-

Sets a global / user default value.

-
-
- - - - - -

- - - set_global - (self, key, val, user=__global) -

-

Save a global key value. Global values will be automatically set if they match fieldname.

-
-
- - - - - -

- - - set_temp - (self, value) -

-

Set a temperory value and return a key.

-
-
- - - - - -

- - - set_value - (self, dt, dn, field, val, modified=None, modified_by=None, update_modified=True, debug=False) -

-

Set a single value in the database, do not call the ORM triggers -but update the modified timestamp (unless specified not to).

- -

Warning: this function will not call Document events and should be avoided in normal cases.

- -

Parameters:

- - -
-
- - - - - -

- - - sql - (self, query, values=(), as_dict=0, as_list=0, formatted=0, debug=0, ignore_ddl=0, as_utf8=0, auto_commit=0, update=None) -

-

Execute a SQL query and fetch all rows.

- -

Parameters:

- - - -

Examples:

- -
# return customer names as dicts
-frappe.db.sql("select name from tabCustomer", as_dict=True)
-
-# return names beginning with a
-frappe.db.sql("select name from tabCustomer where name like %s", "a%")
-
-# values as dict
-frappe.db.sql("select name from tabCustomer where name like %(name)s and owner=%(owner)s",
-    {"name": "a%", "owner":"test@example.com"})
-
-
-
- - - - - -

- - - sql_ddl - (self, query, values=(), debug=False) -

-

Commit and execute a query. DDL (Data Definition Language) queries that alter schema -autocommit in MariaDB.

-
-
- - - - - -

- - - sql_list - (self, query, values=(), debug=False) -

-

Return data as list of single elements (first column).

- -

Example:

- -
# doctypes = ["DocType", "DocField", "User", ...]
-doctypes = frappe.db.sql_list("select name from DocType")
-
-
-
- - - - - -

- - - table_exists - (self, tablename) -

-

Returns True if table exists.

-
-
- - - - - -

- - - touch - (self, doctype, docname) -

-

Update the modified timestamp of this document.

-
-
- - - - - -

- - - update - (self) -

-

Update multiple values. Alias for set_value.

-
-
- - - - - -

- - - use - (self, db_name) -

-

USE db_name.

-
-
- - - - - -

- - - validate_query - (self, q) -

-

Throw exception for dangerous queries: ALTER, DROP, TRUNCATE if not Administrator.

-
-
- - -
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.defaults.html b/frappe/docs/current/api/frappe.defaults.html deleted file mode 100644 index fab995b0c4..0000000000 --- a/frappe/docs/current/api/frappe.defaults.html +++ /dev/null @@ -1,326 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.defaults._clear_cache - (parent) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.add_default - (key, value, parent, parenttype=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.add_global_default - (key, value) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.add_user_default - (key, value, user=None, parenttype=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.build_user_permissions - (user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.clear_cache - (user=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.clear_default - (key=None, value=None, parent=None, name=None, parenttype=None) -

-

Clear a default value by any of the given parameters and delete caches.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.defaults.clear_user_default - (key, user=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.get_defaults - (user=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.get_defaults_for - (parent=__default) -

-

get all defaults

-
-
- - - - - - - -

- - - frappe.defaults.get_global_default - (key) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.get_user_default - (key, user=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.get_user_default_as_list - (key, user=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.get_user_permissions - (user=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.is_a_user_permission_key - (key) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.set_default - (key, value, parent, parenttype=__default) -

-

Override or add a default value. -Adds default value in table tabDefaultValue.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.defaults.set_global_default - (key, value) -

-

No docs

-
-
- - - - - - - -

- - - frappe.defaults.set_user_default - (key, value, user=None, parenttype=None) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.exceptions.html b/frappe/docs/current/api/frappe.exceptions.html deleted file mode 100644 index 444f54be7a..0000000000 --- a/frappe/docs/current/api/frappe.exceptions.html +++ /dev/null @@ -1,498 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class AppNotInstalledError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class AuthenticationError

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - -

Class CSRFTokenError

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - -

Class CancelledLinkError

- -

Inherits from frappe.exceptions.LinkValidationError - -

-
-
- -
-
- - - - - -

Class CannotChangeConstantError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class CharacterLengthExceededError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class DataError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class DocstatusTransitionError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class DoesNotExistError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class DuplicateEntryError

- -

Inherits from frappe.exceptions.NameError - -

-
-
- -
-
- - - - - -

Class EmptyTableError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class IncorrectSitePath

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class InvalidEmailAddressError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class InvalidSignatureError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class InvalidStatusError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class LinkExistsError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class LinkValidationError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class MandatoryError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class MappingMismatchError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class NameError

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - -

Class OutgoingEmailError

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - -

Class PermissionError

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - -

Class RateLimitExceededError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class Redirect

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - -

Class SessionStopped

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - -

Class TemplateNotFoundError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class TimestampMismatchError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class UniqueValidationError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class UnknownDomainError

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - -

Class UnsupportedMediaType

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - -

Class UpdateAfterSubmitError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class ValidationError

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.frappeclient.html b/frappe/docs/current/api/frappe.frappeclient.html deleted file mode 100644 index 69073740be..0000000000 --- a/frappe/docs/current/api/frappe.frappeclient.html +++ /dev/null @@ -1,399 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class AuthError

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - -

Class FrappeClient

- -

Inherits from __builtin__.object - -

-
-
- - - - -

- - - __enter__ - (self) -

-

No docs

-
-
- - - - - -

- - - __exit__ - (self) -

-

No docs

-
-
- - - - - -

- - - __init__ - (self, url, username, password, verify=True) -

-

No docs

-
-
- - - - - -

- - - bulk_update - (self, docs) -

-

No docs

-
-
- - - - - -

- - - cancel - (self, doctype, name) -

-

No docs

-
-
- - - - - -

- - - delete - (self, doctype, name) -

-

No docs

-
-
- - - - - -

- - - get_api - (self, method, params={}) -

-

No docs

-
-
- - - - - -

- - - get_doc - (self, doctype, name=, filters=None, fields=None) -

-

No docs

-
-
- - - - - -

- - - get_list - (self, doctype, fields="*", filters=None, limit_start=0, limit_page_length=0) -

-

Returns list of records of a particular type

-
-
- - - - - -

- - - get_request - (self, params) -

-

No docs

-
-
- - - - - -

- - - get_value - (self, doctype, fieldname=None, filters=None) -

-

No docs

-
-
- - - - - -

- - - insert - (self, doc) -

-

No docs

-
-
- - - - - -

- - - login - (self, username, password) -

-

No docs

-
-
- - - - - -

- - - logout - (self) -

-

No docs

-
-
- - - - - -

- - - migrate_doctype - (self, doctype, filters=None, update=None, verbose=1, exclude=None, preprocess=None) -

-

Migrate records from another doctype

-
-
- - - - - -

- - - migrate_single - (self, doctype) -

-

No docs

-
-
- - - - - -

- - - post_api - (self, method, params={}) -

-

No docs

-
-
- - - - - -

- - - post_process - (self, response) -

-

No docs

-
-
- - - - - -

- - - post_request - (self, data) -

-

No docs

-
-
- - - - - -

- - - preprocess - (self, params) -

-

convert dicts, lists to json

-
-
- - - - - -

- - - rename_doc - (self, doctype, old_name, new_name) -

-

No docs

-
-
- - - - - -

- - - set_value - (self, doctype, docname, fieldname, value) -

-

No docs

-
-
- - - - - -

- - - submit - (self, doclist) -

-

No docs

-
-
- - - - - -

- - - update - (self, doc) -

-

No docs

-
-
- - -
-
- - - - - -

Class FrappeException

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.handler.html b/frappe/docs/current/api/frappe.handler.html deleted file mode 100644 index 041644794a..0000000000 --- a/frappe/docs/current/api/frappe.handler.html +++ /dev/null @@ -1,244 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - -

Public API -
/api/method/frappe.handler.async_ping -

-

- - - frappe.handler.async_ping - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.handler.execute_cmd - (cmd, from_async=False) -

-

execute a request as python module

-
-
- - - - - - -

Public API -
/api/method/frappe.handler.get_async_task_status -

-

- - - frappe.handler.get_async_task_status - (task_id) -

-

No docs

-
-
- - - - - - - -

- - - frappe.handler.get_attr - (cmd) -

-

get method object from cmd

-
-
- - - - - - - -

- - - frappe.handler.handle - () -

-

handle request

-
-
- - - - - - - -

- - - frappe.handler.is_whitelisted - (method) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.handler.logout -

-

- - - frappe.handler.logout - () -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.handler.ping -

-

- - - frappe.handler.ping - () -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.handler.run_custom_method -

-

- - - frappe.handler.run_custom_method - (doctype, name, custom_method) -

-

cmd=runcustommethod&doctype={doctype}&name={name}&custommethod={custommethod}

-
-
- - - - - - -

Public API -
/api/method/frappe.handler.runserverobj -

-

- - - frappe.handler.runserverobj - (method, docs=None, dt=None, dn=None, arg=None, args=None) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.handler.uploadfile -

-

- - - frappe.handler.uploadfile - () -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.handler.version -

-

- - - frappe.handler.version - () -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.handler.web_logout -

-

- - - frappe.handler.web_logout - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.hooks.html b/frappe/docs/current/api/frappe.hooks.html deleted file mode 100644 index b895aa923e..0000000000 --- a/frappe/docs/current/api/frappe.hooks.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.installer.html b/frappe/docs/current/api/frappe.installer.html deleted file mode 100644 index 777b67487e..0000000000 --- a/frappe/docs/current/api/frappe.installer.html +++ /dev/null @@ -1,370 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.installer.add_module_defs - (app) -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.add_to_installed_apps - (app_name, rebuild_website=True) -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.check_if_ready_for_barracuda - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.create_auth_table - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.create_database_and_user - (force, verbose) -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.get_conf_params - (db_name=None, db_password=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.get_current_host - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.get_site_config_path - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.import_db_from_sql - (source_sql, verbose) -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.init_singles - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.install_app - (name, verbose=False, set_as_patched=True) -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.install_db - (root_login=root, root_password=None, db_name=None, source_sql=None, admin_password=None, verbose=True, force=0, site_config=None, reinstall=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.make_conf - (db_name=None, db_password=None, site_config=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.make_connection - (root_login, root_password) -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.make_site_config - (db_name=None, db_password=None, site_config=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.make_site_dirs - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.post_install - (rebuild_website=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.remove_app - (app_name, dry_run=False) -

-

Delete app and all linked to the app's module with the app.

-
-
- - - - - - - -

- - - frappe.installer.remove_from_installed_apps - (app_name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.remove_missing_apps - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.set_all_patches_as_completed - (app) -

-

No docs

-
-
- - - - - - - -

- - - frappe.installer.update_site_config - (key, value) -

-

Update a value in site_config

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.middlewares.html b/frappe/docs/current/api/frappe.middlewares.html deleted file mode 100644 index d45f840e47..0000000000 --- a/frappe/docs/current/api/frappe.middlewares.html +++ /dev/null @@ -1,61 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class StaticDataMiddleware

- -

Inherits from werkzeug.wsgi.SharedDataMiddleware - -

-
-
- - - - -

- - - __call__ - (self, environ, start_response) -

-

No docs

-
-
- - - - - -

- - - get_directory_loader - (self, directory) -

-

No docs

-
-
- - -
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.permissions.html b/frappe/docs/current/api/frappe.permissions.html deleted file mode 100644 index 092754c084..0000000000 --- a/frappe/docs/current/api/frappe.permissions.html +++ /dev/null @@ -1,332 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.permissions.add_user_permission - (doctype, name, user, with_message=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.permissions.apply_user_permissions - (doctype, ptype, user=None) -

-

Check if applyuserpermissions is checked for a doctype, perm type, user combination

-
-
- - - - - - - -

- - - frappe.permissions.can_export - (doctype, raise_exception=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.permissions.can_import - (doctype, raise_exception=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.permissions.can_set_user_permissions - (doctype, docname=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.permissions.check_admin_or_system_manager - (user=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.permissions.clear_user_permissions_for_doctype - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.permissions.get_doc_permissions - (doc, verbose=False, user=None) -

-

Returns a dict of evaluated permissions for given doc like {"read":1, "write":1}

-
-
- - - - - - - -

- - - frappe.permissions.get_linked_doctypes - (dt) -

-

No docs

-
-
- - - - - - - -

- - - frappe.permissions.get_role_permissions - (meta, user=None, verbose=False) -

-

Returns dict of evaluated role permissions like {"read": True, "write":False}

- -

If user permissions are applicable, it adds a dict of user permissions like

- -
{
-    // user permissions will apply on these rights
-    "apply_user_permissions": {"read": 1, "write": 1},
-
-    // doctypes that will be applicable for each right
-    "user_permission_doctypes": {
-        "read": [
-            // AND between "DocType 1" and "DocType 2"
-            ["DocType 1", "DocType 2"],
-
-            // OR
-
-            ["DocType 3"]
-
-        ]
-    }
-
-    "if_owner": {"read": 1, "write": 1}
-}
-
-
-
- - - - - - - -

- - - frappe.permissions.get_user_permission_doctypes - (user_permission_doctypes, user_permissions) -

-

returns a list of list like [["User", "Blog Post"], ["User"]]

-
-
- - - - - - - -

- - - frappe.permissions.has_controller_permissions - (doc, ptype, user=None) -

-

Returns controller permissions if defined. None if not defined

-
-
- - - - - - - -

- - - frappe.permissions.has_permission - (doctype, ptype=read, doc=None, verbose=False, user=None) -

-

Returns True if user has permission ptype for given doctype. -If doc is passed, it also checks user, share and owner permissions.

- -

Note: if Table DocType is passed, it always returns True.

-
-
- - - - - - - -

- - - frappe.permissions.remove_user_permission - (doctype, name, user, default_value_name=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.permissions.reset_perms - (doctype) -

-

Reset permissions for given doctype.

-
-
- - - - - - - -

- - - frappe.permissions.set_user_permission_if_allowed - (doctype, name, user, with_message=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.permissions.update_share_permissions - (role_permissions, doc, user) -

-

Updates share permissions on role_permissions for given doc, if shared

-
-
- - - - - - - -

- - - frappe.permissions.user_has_permission - (doc, verbose=True, user=None, user_permission_doctypes=None) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.pythonrc.html b/frappe/docs/current/api/frappe.pythonrc.html deleted file mode 100644 index 57ab827cc7..0000000000 --- a/frappe/docs/current/api/frappe.pythonrc.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.sessions.html b/frappe/docs/current/api/frappe.sessions.html deleted file mode 100644 index 21f51c17c9..0000000000 --- a/frappe/docs/current/api/frappe.sessions.html +++ /dev/null @@ -1,409 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class Session

- -

-
-
- - - - -

- - - __init__ - (self, user, resume=False, full_name=None, user_type=None) -

-

No docs

-
-
- - - - - -

- - - delete_session - (self) -

-

No docs

-
-
- - - - - -

- - - get_expiry_in_seconds - (self, expiry) -

-

No docs

-
-
- - - - - -

- - - get_session_data - (self) -

-

No docs

-
-
- - - - - -

- - - get_session_data_from_cache - (self) -

-

No docs

-
-
- - - - - -

- - - get_session_data_from_db - (self) -

-

No docs

-
-
- - - - - -

- - - get_session_record - (self) -

-

get session record, or return the standard Guest Record

-
-
- - - - - -

- - - insert_session_record - (self) -

-

No docs

-
-
- - - - - -

- - - resume - (self) -

-

non-login request: load a session

-
-
- - - - - -

- - - start - (self) -

-

start a new session

-
-
- - - - - -

- - - start_as_guest - (self) -

-

all guests share the same 'Guest' session

-
-
- - - - - -

- - - update - (self, force=False) -

-

extend session expiry

-
-
- - -
-
- - - - - - -

Public API -
/api/method/frappe.sessions.clear -

-

- - - frappe.sessions.clear - (user=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.sessions.clear_all_sessions - () -

-

This effectively logs out all users

-
-
- - - - - - - -

- - - frappe.sessions.clear_cache - (user=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.sessions.clear_expired_sessions - () -

-

This function is meant to be called from scheduler

-
-
- - - - - - - -

- - - frappe.sessions.clear_global_cache - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.sessions.clear_sessions - (user=None, keep_current=False, device=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.sessions.delete_session - (sid=None, user=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.sessions.generate_csrf_token - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.sessions.get - () -

-

get session boot info

-
-
- - - - - - - -

- - - frappe.sessions.get_csrf_token - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.sessions.get_expiry_period - (device=desktop) -

-

No docs

-
-
- - - - - - - -

- - - frappe.sessions.get_geo_from_ip - (ip_addr) -

-

No docs

-
-
- - - - - - - -

- - - frappe.sessions.get_geo_ip_country - (ip_addr) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.setup_logging.html b/frappe/docs/current/api/frappe.setup_logging.html deleted file mode 100644 index 9e69171e9b..0000000000 --- a/frappe/docs/current/api/frappe.setup_logging.html +++ /dev/null @@ -1,63 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class ContextFilter

- -

Inherits from logging.Filter - -

This is a filter which injects request information (if available) into the log.

-
-
- - - - -

- - - filter - (self, record) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.setup_logging.setup_logging - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.share.html b/frappe/docs/current/api/frappe.share.html deleted file mode 100644 index 12702cf642..0000000000 --- a/frappe/docs/current/api/frappe.share.html +++ /dev/null @@ -1,160 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - -

Public API -
/api/method/frappe.share.add -

-

- - - frappe.share.add - (doctype, name, user=None, read=1, write=0, share=0, everyone=0, flags=None) -

-

Share the given document with a user.

-
-
- - - - - - - -

- - - frappe.share.check_share_permission - (doctype, name) -

-

Check if the user can share with other users

-
-
- - - - - - - -

- - - frappe.share.get_share_name - (doctype, name, user, everyone) -

-

No docs

-
-
- - - - - - - -

- - - frappe.share.get_shared - (doctype, user=None, rights=None) -

-

Get list of shared document names for given user and DocType.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.share.get_shared_doctypes - (user=None) -

-

Return list of doctypes in which documents are shared for the given user.

-
-
- - - - - - -

Public API -
/api/method/frappe.share.get_users -

-

- - - frappe.share.get_users - (doctype, name, fields=*) -

-

Get list of users with which this document is shared

-
-
- - - - - - - -

- - - frappe.share.remove - (doctype, name, user, flags=None) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.share.set_permission -

-

- - - frappe.share.set_permission - (doctype, name, user, permission_to, value=1, everyone=0) -

-

Set share permission.

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.tasks.html b/frappe/docs/current/api/frappe.tasks.html deleted file mode 100644 index 2432891b27..0000000000 --- a/frappe/docs/current/api/frappe.tasks.html +++ /dev/null @@ -1,98 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.tasks.get_active_queues - (app, worker) -

-

No docs

-
-
- - - - - - - -

- - - frappe.tasks.get_required_queues - (app, prefix=) -

-

No docs

-
-
- - - - - - - -

- - - frappe.tasks.get_workers - (app) -

-

No docs

-
-
- - - - - - - -

- - - frappe.tasks.is_site_in_maintenance_mode - (queue, prefix) -

-

No docs

-
-
- - - - - - - -

- - - frappe.tasks.sync_worker - (app, worker, prefix=) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.test_runner.html b/frappe/docs/current/api/frappe.test_runner.html deleted file mode 100644 index 2836122651..0000000000 --- a/frappe/docs/current/api/frappe.test_runner.html +++ /dev/null @@ -1,226 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.test_runner._add_test - (path, filename, verbose, test_suite=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.test_runner._run_unittest - (module, verbose=False, tests=()) -

-

No docs

-
-
- - - - - - - -

- - - frappe.test_runner.get_dependencies - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.test_runner.get_modules - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.test_runner.main - (app=None, module=None, doctype=None, verbose=False, tests=(), force=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.test_runner.make_test_objects - (doctype, test_records, verbose=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.test_runner.make_test_records - (doctype, verbose=0, force=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.test_runner.make_test_records_for_doctype - (doctype, verbose=0, force=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.test_runner.print_mandatory_fields - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.test_runner.run_all_tests - (app=None, verbose=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.test_runner.run_tests_for_doctype - (doctype, verbose=False, tests=(), force=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.test_runner.run_tests_for_module - (module, verbose=False, tests=()) -

-

No docs

-
-
- - - - - - - -

- - - frappe.test_runner.set_test_email_config - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/frappe.translate.html b/frappe/docs/current/api/frappe.translate.html deleted file mode 100644 index 47629519d5..0000000000 --- a/frappe/docs/current/api/frappe.translate.html +++ /dev/null @@ -1,696 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.translate._get_messages_from_page_or_report - (doctype, name, module=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.translate.add_lang_dict - (code) -

-

Extracts messages and returns Javascript code snippet to be appened at the end -of the given script

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.translate.clear_cache - () -

-

Clear all translation assets from :meth:frappe.cache

-
-
- - - - - - - -

- - - frappe.translate.deduplicate_messages - (messages) -

-

No docs

-
-
- - - - - - - -

- - - frappe.translate.extract_messages_from_code - (code, is_py=False) -

-

Extracts translatable srings from a code file

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.translate.get_all_languages - () -

-

Returns all language codes ar, ch etc

-
-
- - - - - - - -

- - - frappe.translate.get_all_messages_from_js_files - (app_name=None) -

-

Extracts all translatable strings from app .js files

-
-
- - - - - - - -

- - - frappe.translate.get_bench_dir - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.translate.get_dict - (fortype, name=None) -

-

Returns translation dict for a type of object.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.translate.get_dict_from_hooks - (fortype, name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.translate.get_full_dict - (lang) -

-

Load and return the entire translations dictionary for a language from :meth:frape.cache

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.translate.get_lang_dict - () -

-

Returns all languages in dict format, full name is the key e.g. {"english":"en"}

-
-
- - - - - - - -

- - - frappe.translate.get_lang_info - () -

-

Returns a listified version of apps/languages.txt

-
-
- - - - - - - -

- - - frappe.translate.get_lang_js - (fortype, name) -

-

Returns code snippet to be appended at the end of a JS script.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.translate.get_language_from_code - (lang) -

-

No docs

-
-
- - - - - - - -

- - - frappe.translate.get_messages_for_app - (app) -

-

Returns all messages (list) for a specified app

-
-
- - - - - - - -

- - - frappe.translate.get_messages_from_doctype - (name) -

-

Extract all translatable messages for a doctype. Includes labels, Python code, -Javascript code, html templates

-
-
- - - - - - - -

- - - frappe.translate.get_messages_from_file - (path) -

-

Returns a list of transatable strings from a code file

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.translate.get_messages_from_include_files - (app_name=None) -

-

Returns messages from js files included at time of boot like desk.min.js for desk and web

-
-
- - - - - - - -

- - - frappe.translate.get_messages_from_page - (name) -

-

Returns all translatable strings from a :class:frappe.core.doctype.Page

-
-
- - - - - - - -

- - - frappe.translate.get_messages_from_report - (name) -

-

Returns all translatable strings from a :class:frappe.core.doctype.Report

-
-
- - - - - - - -

- - - frappe.translate.get_server_messages - (app) -

-

Extracts all translatable strings (tagged with :func:frappe._) from Python modules inside an app

-
-
- - - - - - - -

- - - frappe.translate.get_untranslated - (lang, untranslated_file, get_all=False) -

-

Returns all untranslated strings for a language and writes in a file

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.translate.get_user_lang - (user=None) -

-

Set frappe.local.lang from user preferences on session beginning or resumption

-
-
- - - - - - - -

- - - frappe.translate.guess_language - (lang_list=None) -

-

Set frappe.local.lang from HTTP headers at beginning of request

-
-
- - - - - - - -

- - - frappe.translate.is_translatable - (m) -

-

No docs

-
-
- - - - - - - -

- - - frappe.translate.load_lang - (lang, apps=None) -

-

Combine all translations from .csv files in all apps

-
-
- - - - - - - -

- - - frappe.translate.make_dict_from_messages - (messages, full_dict=None) -

-

Returns translated messages as a dict in Language specified in frappe.local.lang

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.translate.pos_to_line_no - (messages, code) -

-

No docs

-
-
- - - - - - - -

- - - frappe.translate.read_csv_file - (path) -

-

Read CSV file and return as list of list

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.translate.rebuild_all_translation_files - () -

-

Rebuild all translation files: [app]/translations/[lang].csv.

-
-
- - - - - - - -

- - - frappe.translate.rename_language - (old_name, new_name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.translate.send_translations - (translation_dict) -

-

Append translated dict in frappe.local.response

-
-
- - - - - - - -

- - - frappe.translate.set_default_language - (language) -

-

Set Global default language

-
-
- - - - - - - -

- - - frappe.translate.update_translations - (lang, untranslated_file, translated_file) -

-

Update translations from a source and target file for a given language.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.translate.write_csv_file - (path, app_messages, lang_dict) -

-

Write translation CSV file.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.translate.write_translations_file - (app, lang, full_dict=None, app_messages=None) -

-

Write a translation file for a given language.

- -

Parameters:

- - -
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/geo/frappe.geo.country_info.html b/frappe/docs/current/api/geo/frappe.geo.country_info.html deleted file mode 100644 index 79f39c8f85..0000000000 --- a/frappe/docs/current/api/geo/frappe.geo.country_info.html +++ /dev/null @@ -1,100 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.geo.country_info.get_all - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.geo.country_info.get_country_info - (country=None) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.geo.country_info.get_country_timezone_info -

-

- - - frappe.geo.country_info.get_country_timezone_info - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.geo.country_info.get_translated_dict - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.geo.country_info.update - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/geo/frappe.geo.html b/frappe/docs/current/api/geo/frappe.geo.html deleted file mode 100644 index b1d6615dd4..0000000000 --- a/frappe/docs/current/api/geo/frappe.geo.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/geo/index.html b/frappe/docs/current/api/geo/index.html deleted file mode 100644 index b12014263f..0000000000 --- a/frappe/docs/current/api/geo/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/geo/index.txt b/frappe/docs/current/api/geo/index.txt deleted file mode 100644 index 78635c807a..0000000000 --- a/frappe/docs/current/api/geo/index.txt +++ /dev/null @@ -1,2 +0,0 @@ -frappe.geo.country_info -frappe.geo \ No newline at end of file diff --git a/frappe/docs/current/api/index.html b/frappe/docs/current/api/index.html deleted file mode 100644 index 6264153df7..0000000000 --- a/frappe/docs/current/api/index.html +++ /dev/null @@ -1,20 +0,0 @@ - - - - -
- - - Version 6.x.x - - - Source - -
- -

Contents

- - - -{index} \ No newline at end of file diff --git a/frappe/docs/current/api/index.txt b/frappe/docs/current/api/index.txt deleted file mode 100644 index 9384b73ebe..0000000000 --- a/frappe/docs/current/api/index.txt +++ /dev/null @@ -1,27 +0,0 @@ -frappe.__init__ -frappe.__version__ -frappe.api -frappe.app -frappe.async -frappe.auth -frappe.boot -frappe.build -frappe.celery_app -frappe.client -frappe.commands -frappe.database -frappe.defaults -frappe.exceptions -frappe.frappeclient -frappe.handler -frappe.hooks -frappe.installer -frappe.middlewares -frappe.permissions -frappe.pythonrc -frappe.sessions -frappe.setup_logging -frappe.share -frappe.tasks -frappe.test_runner -frappe.translate \ No newline at end of file diff --git a/frappe/docs/current/api/integrations/frappe.integrations.html b/frappe/docs/current/api/integrations/frappe.integrations.html deleted file mode 100644 index e9fc3a23a4..0000000000 --- a/frappe/docs/current/api/integrations/frappe.integrations.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/integrations/index.html b/frappe/docs/current/api/integrations/index.html deleted file mode 100644 index 9fd8a01433..0000000000 --- a/frappe/docs/current/api/integrations/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/integrations/index.txt b/frappe/docs/current/api/integrations/index.txt deleted file mode 100644 index 1dce3c404d..0000000000 --- a/frappe/docs/current/api/integrations/index.txt +++ /dev/null @@ -1 +0,0 @@ -frappe.integrations \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.base_document.html b/frappe/docs/current/api/model/frappe.model.base_document.html deleted file mode 100644 index fb340532bc..0000000000 --- a/frappe/docs/current/api/model/frappe.model.base_document.html +++ /dev/null @@ -1,643 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class BaseDocument

- -

Inherits from __builtin__.object - -

-
-
- - - - -

- - - __init__ - (self, d) -

-

No docs

-
-
- - - - - -

- - - _extract_images_from_text_editor - (self) -

-

No docs

-
-
- - - - - -

- - - _fix_numeric_types - (self) -

-

No docs

-
-
- - - - - -

- - - _get_missing_mandatory_fields - (self) -

-

Get mandatory fields that do not have any values

-
-
- - - - - -

- - - _init_child - (self, value, key) -

-

No docs

-
-
- - - - - -

- - - _validate_constants - (self) -

-

No docs

-
-
- - - - - -

- - - _validate_length - (self) -

-

No docs

-
-
- - - - - -

- - - _validate_selects - (self) -

-

No docs

-
-
- - - - - -

- - - _validate_update_after_submit - (self) -

-

No docs

-
-
- - - - - -

- - - append - (self, key, value=None) -

-

No docs

-
-
- - - - - -

- - - as_dict - (self, no_nulls=False, no_default_fields=False) -

-

No docs

-
-
- - - - - -

- - - as_json - (self) -

-

No docs

-
-
- - - - - -

- - - cast - (self, val, df) -

-

No docs

-
-
- - - - - -

- - - db_insert - (self) -

-

INSERT the document (with valid columns) in the database.

-
-
- - - - - -

- - - db_set - (self, fieldname, value, update_modified=True) -

-

No docs

-
-
- - - - - -

- - - db_update - (self) -

-

No docs

-
-
- - - - - -

- - - delete_key - (self, key) -

-

No docs

-
-
- - - - - -

- - - extend - (self, key, value) -

-

No docs

-
-
- - - - - -

- - - get - (self, key=None, filters=None, limit=None, default=None) -

-

No docs

-
-
- - - - - -

- - - get_db_value - (self, key) -

-

No docs

-
-
- - - - - -

- - - get_formatted - (self, fieldname, doc=None, currency=None, absolute_value=False) -

-

No docs

-
-
- - - - - -

- - - get_invalid_links - (self, is_submittable=False) -

-

No docs

-
-
- - - - - -

- - - get_parentfield_of_doctype - (self, doctype) -

-

No docs

-
-
- - - - - -

- - - get_table_field_doctype - (self, fieldname) -

-

No docs

-
-
- - - - - -

- - - get_valid_columns - (self) -

-

No docs

-
-
- - - - - -

- - - get_valid_dict - (self, sanitize=True) -

-

No docs

-
-
- - - - - -

- - - get_value - (self, fieldname) -

-

No docs

-
-
- - - - - -

- - - getone - (self, key, filters=None) -

-

No docs

-
-
- - - - - -

- - - in_format_data - (self, fieldname) -

-

Returns True if shown via Print Format::format_data property. -Called from within standard print format.

-
-
- - - - - -

- - - init_valid_columns - (self) -

-

No docs

-
-
- - - - - -

- - - is_new - (self) -

-

No docs

-
-
- - - - - -

- - - is_print_hide - (self, fieldname, df=None, for_print=True) -

-

Returns true if fieldname is to be hidden for print.

- -

Print Hide can be set via the Print Format Builder or in the controller as a list -of hidden fields. Example

- -
class MyDoc(Document):
-    def __setup__(self):
-        self.print_hide = ["field1", "field2"]
-
- -

Parameters:

- - -
-
- - - - - -

- - - precision - (self, fieldname, parentfield=None) -

-

Returns float precision for a particular field (or get global default).

- -

Parameters:

- - -
-
- - - - - -

- - - remove - (self, doc) -

-

No docs

-
-
- - - - - -

- - - reset_values_if_no_permlevel_access - (self, has_access_to, high_permlevel_fields) -

-

If the user does not have permissions at permlevel > 0, then reset the values to original / default

-
-
- - - - - -

- - - set - (self, key, value, as_value=False) -

-

No docs

-
-
- - - - - -

- - - show_unique_validation_message - (self, e) -

-

No docs

-
-
- - - - - -

- - - update - (self, d) -

-

No docs

-
-
- - - - - -

- - - update_if_missing - (self, d) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.model.base_document._filter - (data, filters, limit=None) -

-

pass filters as: -{"key": "val", "key": ["!=", "val"], -"key": ["in", "val"], "key": ["not in", "val"], "key": "^val", -"key" : True (exists), "key": False (does not exist) }

-
-
- - - - - - - -

- - - frappe.model.base_document.get_controller - (doctype) -

-

Returns the class object of the given DocType. -For custom type, returns frappe.model.document.Document.

- -

Parameters:

- - -
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.create_new.html b/frappe/docs/current/api/model/frappe.model.create_new.html deleted file mode 100644 index dcf614f7b9..0000000000 --- a/frappe/docs/current/api/model/frappe.model.create_new.html +++ /dev/null @@ -1,146 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.model.create_new.get_default_based_on_another_field - (df, user_permissions, parent_doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.create_new.get_new_doc - (doctype, parent_doc=None, parentfield=None, as_dict=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.create_new.get_static_default_value - (df, user_permissions) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.create_new.get_user_default_value - (df, defaults, user_permissions) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.create_new.make_new_doc - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.create_new.set_dynamic_default_values - (doc, parent_doc, parentfield) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.create_new.set_user_and_static_default_values - (doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.create_new.user_permissions_exist - (df, user_permissions) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.db_query.html b/frappe/docs/current/api/model/frappe.model.db_query.html deleted file mode 100644 index f71e6a54c9..0000000000 --- a/frappe/docs/current/api/model/frappe.model.db_query.html +++ /dev/null @@ -1,350 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class DatabaseQuery

- -

Inherits from __builtin__.object - -

-
-
- - - - -

- - - __init__ - (self, doctype) -

-

No docs

-
-
- - - - - -

- - - add_comment_count - (self, result) -

-

No docs

-
-
- - - - - -

- - - add_limit - (self) -

-

No docs

-
-
- - - - - -

- - - add_user_permissions - (self, user_permissions, user_permission_doctypes=None) -

-

No docs

-
-
- - - - - -

- - - append_table - (self, table_name) -

-

No docs

-
-
- - - - - -

- - - build_and_run - (self) -

-

No docs

-
-
- - - - - -

- - - build_conditions - (self) -

-

No docs

-
-
- - - - - -

- - - build_filter_conditions - (self, filters, conditions) -

-

build conditions from user filters

-
-
- - - - - -

- - - build_match_conditions - (self, as_condition=True) -

-

add match conditions if applicable

-
-
- - - - - -

- - - check_sort_by_table - (self, order_by) -

-

No docs

-
-
- - - - - -

- - - execute - (self, query=None, fields=None, filters=None, or_filters=None, docstatus=None, group_by=None, order_by=None, limit_start=False, limit_page_length=None, as_list=False, with_childnames=False, debug=False, ignore_permissions=False, user=None, with_comment_count=False) -

-

No docs

-
-
- - - - - -

- - - extract_tables - (self) -

-

extract tables from fields

-
-
- - - - - -

- - - get_filter - (self, f) -

-

Returns a _dict like

- -

{ - "doctype": "DocType", - "fieldname": "fieldname", - "operator": "=", - "value": "value" -}

-
-
- - - - - -

- - - get_permission_query_conditions - (self) -

-

No docs

-
-
- - - - - -

- - - get_share_condition - (self) -

-

No docs

-
-
- - - - - -

- - - make_filter_tuple - (self, key, value) -

-

No docs

-
-
- - - - - -

- - - parse_args - (self) -

-

Convert fields and filters from strings to list, dicts

-
-
- - - - - -

- - - prepare_args - (self) -

-

No docs

-
-
- - - - - -

- - - prepare_filter_condition - (self, f) -

-

Returns a filter condition in the format:

- -

ifnull(tabDocType.fieldname, fallback) operator "value"

-
-
- - - - - -

- - - remove_user_tags - (self) -

-

Removes optional columns like _user_tags, _comments etc. if not in table

-
-
- - - - - -

- - - run_custom_query - (self, query) -

-

No docs

-
-
- - - - - -

- - - set_order_by - (self, args) -

-

No docs

-
-
- - -
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.db_schema.html b/frappe/docs/current/api/model/frappe.model.db_schema.html deleted file mode 100644 index 95b441b3e3..0000000000 --- a/frappe/docs/current/api/model/frappe.model.db_schema.html +++ /dev/null @@ -1,597 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class DbColumn

- -

-
-
- - - - -

- - - __init__ - (self, table, fieldname, fieldtype, length, default, set_index, options, unique, precision) -

-

No docs

-
-
- - - - - -

- - - build_for_alter_table - (self, current_def) -

-

No docs

-
-
- - - - - -

- - - default_changed - (self, current_def) -

-

No docs

-
-
- - - - - -

- - - default_changed_for_decimal - (self, current_def) -

-

No docs

-
-
- - - - - -

- - - get_definition - (self, with_default=1) -

-

No docs

-
-
- - -
-
- - - - - -

Class DbManager

- -

Basically, a wrapper for oft-used mysql commands. like show tables,databases, variables etc...

- -

TODO:

- -
0.  Simplify / create settings for the restore database source folder
-0a. Merge restore database and extract_sql(from frappe_server_tools).
-1. Setter and getter for different mysql variables.
-2. Setter and getter for mysql variables at global level??
-
-
-
- - - - -

- - - __init__ - (self, db) -

-

Pass root_conn here for access to all databases.

-
-
- - - - - -

- - - create_database - (self, target) -

-

No docs

-
-
- - - - - -

- - - create_user - (self, user, password, host) -

-

No docs

-
-
- - - - - -

- - - delete_user - (self, target, host) -

-

No docs

-
-
- - - - - -

- - - drop_database - (self, target) -

-

No docs

-
-
- - - - - -

- - - drop_table - (self, table_name) -

-

drop table if exists

-
-
- - - - - -

- - - flush_privileges - (self) -

-

No docs

-
-
- - - - - -

- - - get_database_list - (self) -

-

get list of databases

-
-
- - - - - -

- - - get_table_schema - (self, table) -

-

Just returns the output of Desc tables.

-
-
- - - - - -

- - - get_tables_list - (self, target=None) -

-

get list of tables

-
-
- - - - - -

- - - get_variables - (self, regex) -

-

Get variables that match the passed pattern regex

-
-
- - - - - -

- - - grant_all_privileges - (self, target, user, host) -

-

No docs

-
-
- - - - - -

- - - grant_select_privilges - (self, db, table, user, host) -

-

No docs

-
-
- - - - - -

- - - restore_database - (self, target, source, user, password) -

-

No docs

-
-
- - -
-
- - - - - -

Class DbTable

- -

-
-
- - - - -

- - - __init__ - (self, doctype, prefix=tab) -

-

No docs

-
-
- - - - - -

- - - alter - (self) -

-

No docs

-
-
- - - - - -

- - - create - (self) -

-

No docs

-
-
- - - - - -

- - - drop_foreign_keys - (self) -

-

No docs

-
-
- - - - - -

- - - get_column_definitions - (self) -

-

No docs

-
-
- - - - - -

- - - get_columns_from_db - (self) -

-

No docs

-
-
- - - - - -

- - - get_columns_from_docfields - (self) -

-

get columns from docfields and custom fields

-
-
- - - - - -

- - - get_foreign_keys - (self) -

-

No docs

-
-
- - - - - -

- - - get_index_definitions - (self) -

-

No docs

-
-
- - - - - -

- - - is_new - (self) -

-

No docs

-
-
- - - - - -

- - - sync - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

Check if change in varchar length isn't truncating the columns

-
-
- - -
-
- - - - - -

Class InvalidColumnName

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - - - -

- - - frappe.model.db_schema.add_column - (doctype, column_name, fieldtype, precision=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.db_schema.get_definition - (fieldtype, precision=None, length=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.db_schema.remove_all_foreign_keys - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.db_schema.updatedb - (dt) -

-

Syncs a DocType to the table - * creates if required - * updates columns - * updates indices

-
-
- - - - - - - -

- - - frappe.model.db_schema.validate_column_name - (n) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.delete_doc.html b/frappe/docs/current/api/model/frappe.model.delete_doc.html deleted file mode 100644 index 3b3028d9ce..0000000000 --- a/frappe/docs/current/api/model/frappe.model.delete_doc.html +++ /dev/null @@ -1,194 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.model.delete_doc.check_if_doc_is_dynamically_linked - (doc, method=Delete) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.delete_doc.check_if_doc_is_linked - (doc, method=Delete) -

-

Raises excption if the given doc(dt, dn) is linked in another record.

-
-
- - - - - - - -

- - - frappe.model.delete_doc.check_permission_and_not_submitted - (doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.delete_doc.delete_doc - (doctype=None, name=None, force=0, ignore_doctypes=None, for_reload=False, ignore_permissions=False, flags=None, ignore_on_trash=False) -

-

Deletes a doc(dt, dn) and validates if it is not submitted and not linked in a live record

-
-
- - - - - - - -

- - - frappe.model.delete_doc.delete_from_table - (doctype, name, ignore_doctypes, doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.delete_doc.delete_linked_comments - (doc) -

-

Delete comments from the document

-
-
- - - - - - - -

- - - frappe.model.delete_doc.delete_linked_communications - (doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.delete_doc.delete_linked_todos - (doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.delete_doc.delete_shared - (doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.delete_doc.insert_feed - (doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.delete_doc.update_naming_series - (doc) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.docfield.html b/frappe/docs/current/api/model/frappe.model.docfield.html deleted file mode 100644 index fa5a04b93c..0000000000 --- a/frappe/docs/current/api/model/frappe.model.docfield.html +++ /dev/null @@ -1,98 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.model.docfield.get_change_column_query - (f, new) -

-

generate change fieldname query

-
-
- - - - - - - -

- - - frappe.model.docfield.rename - (doctype, fieldname, newname) -

-

rename docfield

-
-
- - - - - - - -

- - - frappe.model.docfield.update_parent_field - (f, new) -

-

update 'parentfield' in tables

-
-
- - - - - - - -

- - - frappe.model.docfield.update_single - (f, new) -

-

update in tabSingles

-
-
- - - - - - - -

- - - frappe.model.docfield.update_table - (f, new) -

-

update table

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.document.html b/frappe/docs/current/api/model/frappe.model.document.html deleted file mode 100644 index 73bcd32ea0..0000000000 --- a/frappe/docs/current/api/model/frappe.model.document.html +++ /dev/null @@ -1,788 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class Document

- -

Inherits from frappe.model.base_document.BaseDocument - -

All controllers inherit from Document.

-
-
- - - - -

- - - __init__ - (self, arg1, arg2=None) -

-

Constructor.

- -

Parameters:

- - - -

If DocType name and document name are passed, the object will load -all values (including child documents) from the database.

-
-
- - - - - -

- - - _set_defaults - (self) -

-

No docs

-
-
- - - - - -

- - - _validate - (self) -

-

No docs

-
-
- - - - - -

- - - _validate_links - (self) -

-

No docs

-
-
- - - - - -

- - - _validate_mandatory - (self) -

-

No docs

-
-
- - - - - -

- - - add_comment - (self, comment_type, text=None, comment_by=None, reference_doctype=None, reference_name=None) -

-

Add a comment to this document.

- -

Parameters:

- - -
-
- - - - - -

- - - cancel - (self) -

-

Cancel the document. Sets docstatus = 2, then saves.

-
-
- - - - - -

- - - check_docstatus_transition - (self, docstatus) -

-

Ensures valid docstatus transition. -Valid transitions are (number in brackets is docstatus):

- - -
-
- - - - - -

- - - check_if_latest - (self) -

-

Checks if modified timestamp provided by document being updated is same as the -modified timestamp in the database. If there is a different, the document has been -updated in the database after the current copy was read. Will throw an error if -timestamps don't match.

- -

Will also validate document transitions (Save > Submit > Cancel) calling -self.check_docstatus_transition.

-
-
- - - - - -

- - - check_no_back_links_exist - (self) -

-

Check if document links to any active document before Cancel.

-
-
- - - - - -

- - - check_permission - (self, permtype, permlabel=None) -

-

Raise frappe.PermissionError if not permitted

-
-
- - - - - -

- - - clear_cache - (self) -

-

No docs

-
-
- - - - - -

- - - clear_linked_with_cache - (self) -

-

No docs

-
-
- - - - - -

- - - delete - (self) -

-

Delete document.

-
-
- - - - - -

- - - get_all_children - (self, parenttype=None) -

-

Returns all children documents from Table type field in a list.

-
-
- - - - - -

- - - get_latest - (self) -

-

No docs

-
-
- - - - - -

- - - get_liked_by - (self) -

-

No docs

-
-
- - - - - -

- - - get_permlevel_access - (self) -

-

No docs

-
-
- - - - - -

- - - get_signature - (self) -

-

Returns signature (hash) for private URL.

-
-
- - - - - -

- - - get_url - (self) -

-

Returns Desk URL for this document. /desk#Form/{doctype}/{name}

-
-
- - - - - -

- - - has_permission - (self, permtype=read, verbose=False) -

-

Call frappe.has_permission if self.flags.ignore_permissions -is not set.

- -

Parameters:

- - -
-
- - - - - -

- - - has_website_permission - (self, permtype=read, verbose=False) -

-

Call frappe.has_website_permission if self.flags.ignore_permissions -is not set.

- -

Parameters:

- - -
-
- - - - - -

- - - insert - (self, ignore_permissions=None) -

-

Insert the document in the database (as a new document). -This will check for user permissions and execute before_insert, -validate, on_update, after_insert methods if they are written.

- -

Parameters:

- - -
-
- - - - - -

- - - is_whitelisted - (self, method) -

-

No docs

-
-
- - - - - -

- - - load_from_db - (self) -

-

Load document and children from database and create properties -from fields

-
-
- - - - - -

- - - notify_update - (self) -

-

Publish realtime that the current document is modified

-
-
- - - - - -

- - - raise_no_permission_to - (self, perm_type) -

-

Raise frappe.PermissionError.

-
-
- - - - - -

- - - reload - (self) -

-

Reload document from database

-
-
- - - - - -

- - - round_floats_in - (self, doc, fieldnames=None) -

-

Round floats for all Currency, Float, Percent fields for the given doc.

- -

Parameters:

- - -
-
- - - - - -

- - - run_before_save_methods - (self) -

-

Run standard methods before INSERT or UPDATE. Standard Methods are:

- - - -

Will also update title_field if set

-
-
- - - - - -

- - - run_method - (self, method) -

-

run standard triggers, plus those in hooks

-
-
- - - - - -

- - - run_post_save_methods - (self) -

-

Run standard methods after INSERT or UPDATE. Standard Methods are:

- - -
-
- - - - - -

- - - save - (self, ignore_permissions=None) -

-

Save the current document in the database in the DocType's table or -tabSingles (for single types).

- -

This will check for user permissions and execute -validate before updating, on_update after updating triggers.

- -

Parameters:

- - -
-
- - - - - -

- - - set_docstatus_user_and_timestamp - (self) -

-

No docs

-
-
- - - - - -

- - - set_new_name - (self) -

-

Calls frappe.naming.se_new_name for parent and child docs.

-
-
- - - - - -

- - - set_onload - (self, key, value) -

-

No docs

-
-
- - - - - -

- - - set_parent_in_children - (self) -

-

Updates parent and parenttype property in all children.

-
-
- - - - - -

- - - set_title_field - (self) -

-

Set title field based on template

-
-
- - - - - -

- - - submit - (self) -

-

Submit the document. Sets docstatus = 1, then saves.

-
-
- - - - - -

- - - update_children - (self) -

-

No docs

-
-
- - - - - -

- - - update_single - (self, d) -

-

Updates values for Single type Document in tabSingles.

-
-
- - - - - -

- - - validate_higher_perm_levels - (self) -

-

If the user does not have permissions at permlevel > 0, then reset the values to original / default

-
-
- - - - - -

- - - validate_table_has_rows - (self, parentfield, raise_exception=None) -

-

Raise exception if Table field is empty.

-
-
- - - - - -

- - - validate_update_after_submit - (self) -

-

No docs

-
-
- - - - - -

- - - validate_value - (self, fieldname, condition, val2, doc=None, raise_exception=None) -

-

Check that value of fieldname should be 'condition' val2 -else throw Exception.

-
-
- - -
-
- - - - - - - -

- - - frappe.model.document.get_doc - (arg1, arg2=None) -

-

returns a frappe.model.Document object.

- -

Parameters:

- - - -

There are two ways to call get_doc

- -
# will fetch the latest user object (with child table) from the database
-user = get_doc("User", "test@example.com")
-
-# create a new object
-user = get_doc({
-    "doctype":"User"
-    "email_id": "test@example.com",
-    "user_roles: [
-        {"role": "System Manager"}
-    ]
-})
-
-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.html b/frappe/docs/current/api/model/frappe.model.html deleted file mode 100644 index c5376eab88..0000000000 --- a/frappe/docs/current/api/model/frappe.model.html +++ /dev/null @@ -1,87 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.model.copytables - (srctype, src, srcfield, tartype, tar, tarfield, srcfields, tarfields=[]) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.db_exists - (dt, dn) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.delete_fields - (args_dict, delete=0) -

-

Delete a field. -* Deletes record from tabDocField -* If not single doctype: Drops column from table -* If single, deletes record from tabSingles

- -

args_dict = { dt: [field names] }

-
-
- - - - - - - -

- - - frappe.model.rename - (doctype, old, new, debug=False) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.mapper.html b/frappe/docs/current/api/model/frappe.model.mapper.html deleted file mode 100644 index cbf7050179..0000000000 --- a/frappe/docs/current/api/model/frappe.model.mapper.html +++ /dev/null @@ -1,98 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.model.mapper.get_mapped_doc - (from_doctype, from_docname, table_maps, target_doc=None, postprocess=None, ignore_permissions=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.mapper.map_child_doc - (source_d, target_parent, table_map, source_parent=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.mapper.map_doc - (source_doc, target_doc, table_map, source_parent=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.mapper.map_fetch_fields - (target_doc, df, no_copy_fields) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.mapper.map_fields - (source_doc, target_doc, table_map, source_parent) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.meta.html b/frappe/docs/current/api/model/frappe.model.meta.html deleted file mode 100644 index f2a1911995..0000000000 --- a/frappe/docs/current/api/model/frappe.model.meta.html +++ /dev/null @@ -1,489 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class Meta

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - __init__ - (self, doctype) -

-

No docs

-
-
- - - - - -

- - - add_custom_fields - (self) -

-

No docs

-
-
- - - - - -

- - - apply_property_setters - (self) -

-

No docs

-
-
- - - - - -

- - - get_dynamic_link_fields - (self) -

-

No docs

-
-
- - - - - -

- - - get_field - (self, fieldname) -

-

No docs

-
-
- - - - - -

- - - get_fields_to_check_permissions - (self, user_permission_doctypes) -

-

No docs

-
-
- - - - - -

- - - get_high_permlevel_fields - (self) -

-

Build list of fields with high perm level and all the higher perm levels defined.

-
-
- - - - - -

- - - get_label - (self, fieldname) -

-

No docs

-
-
- - - - - -

- - - get_link_fields - (self) -

-

No docs

-
-
- - - - - -

- - - get_list_fields - (self) -

-

No docs

-
-
- - - - - -

- - - get_options - (self, fieldname) -

-

No docs

-
-
- - - - - -

- - - get_search_fields - (self) -

-

No docs

-
-
- - - - - -

- - - get_select_fields - (self) -

-

No docs

-
-
- - - - - -

- - - get_table_field_doctype - (self, fieldname) -

-

No docs

-
-
- - - - - -

- - - get_table_fields - (self) -

-

No docs

-
-
- - - - - -

- - - get_title_field - (self) -

-

No docs

-
-
- - - - - -

- - - get_valid_columns - (self) -

-

No docs

-
-
- - - - - -

- - - load_from_db - (self) -

-

No docs

-
-
- - - - - -

- - - process - (self) -

-

No docs

-
-
- - - - - -

- - - sort_fields - (self) -

-

sort on basis of previous_field

-
-
- - -
-
- - - - - - - -

- - - frappe.model.meta.clear_cache - (doctype=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.meta.get_default_df - (fieldname) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.meta.get_field_currency - (df, doc=None) -

-

get currency based on DocField options and fieldvalue in doc

-
-
- - - - - - - -

- - - frappe.model.meta.get_field_precision - (df, doc=None, currency=None) -

-

get precision based on DocField options and fieldvalue in doc

-
-
- - - - - - - -

- - - frappe.model.meta.get_meta - (doctype, cached=True) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.meta.get_parent_dt - (dt) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.meta.get_table_columns - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.meta.is_single - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.meta.load_doctype_from_file - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.meta.set_fieldname - (field_id, fieldname) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.meta.trim_tables - () -

-

Use this to remove columns that don't exist in meta

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.naming.html b/frappe/docs/current/api/model/frappe.model.naming.html deleted file mode 100644 index b0f83b811f..0000000000 --- a/frappe/docs/current/api/model/frappe.model.naming.html +++ /dev/null @@ -1,209 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.model.naming._set_amended_name - (doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.naming.append_number_if_name_exists - (doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.naming.de_duplicate - (doctype, name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.naming.get_default_naming_series - (doctype) -

-

get default value for naming_series property

-
-
- - - - - - - -

- - - frappe.model.naming.getseries - (key, digits, doctype=) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.naming.make_autoname - (key, doctype=) -

-

Creates an autoname from the given key:

- -

Autoname rules:

- -
  * The key is separated by '.'
-  * '####' represents a series. The string before this part becomes the prefix:
-     Example: ABC.#### creates a series ABC0001, ABC0002 etc
-  * 'MM' represents the current month
-  * 'YY' and 'YYYY' represent the current year
-
- -

Example:

- -
  * DE/./.YY./.MM./.##### will create a series like
-    DE/09/01/0001 where 09 is the year, 01 is the month and 0001 is the series
-
-
-
- - - - - - - -

- - - frappe.model.naming.revert_series_if_last - (key, name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.naming.set_name_by_naming_series - (doc) -

-

Sets name by the naming_series property

-
-
- - - - - - - -

- - - frappe.model.naming.set_new_name - (doc) -

-

Sets the `name`` property for the document based on various rules.

- -
    -
  1. If amened doc, set suffix.
  2. -
  3. If autoname method is declared, then call it.
  4. -
  5. If autoname property is set in the DocType (meta), then build it using the autoname property.
  6. -
  7. If name is already defined, use that name
  8. -
  9. If no rule defined, use hash.
  10. -
- -

Note:

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.model.naming.validate_name - (doctype, name, case=None, merge=False) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.rename_doc.html b/frappe/docs/current/api/model/frappe.model.rename_doc.html deleted file mode 100644 index 5839ba0432..0000000000 --- a/frappe/docs/current/api/model/frappe.model.rename_doc.html +++ /dev/null @@ -1,285 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.model.rename_doc.bulk_rename - (doctype, rows=None, via_console=False) -

-

Bulk rename documents

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.model.rename_doc.get_link_fields - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.rename_doc.get_select_fields - (old, new) -

-

get select type fields where doctype's name is hardcoded as -new line separated list

-
-
- - - - - - -

Public API -
/api/method/frappe.model.rename_doc.rename_doc -

-

- - - frappe.model.rename_doc.rename_doc - (doctype, old, new, force=False, merge=False, ignore_permissions=False) -

-

Renames a doc(dt, old) to doc(dt, new) and -updates all linked fields of type "Link"

-
-
- - - - - - - -

- - - frappe.model.rename_doc.rename_doctype - (doctype, old, new, force=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.rename_doc.rename_dynamic_links - (doctype, old, new) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.rename_doc.rename_parent_and_child - (doctype, old, new, meta) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.rename_doc.rename_versions - (doctype, old, new) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.rename_doc.update_attachments - (doctype, old, new) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.rename_doc.update_child_docs - (old, new, meta) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.rename_doc.update_comments - (doctype, old, new, force=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.rename_doc.update_link_field_values - (link_fields, old, new, doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.rename_doc.update_options_for_fieldtype - (fieldtype, old, new) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.rename_doc.update_parenttype_values - (old, new) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.rename_doc.update_select_field_values - (old, new) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.rename_doc.validate_rename - (doctype, new, meta, merge, force, ignore_permissions) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.sync.html b/frappe/docs/current/api/model/frappe.model.sync.html deleted file mode 100644 index f48a76638c..0000000000 --- a/frappe/docs/current/api/model/frappe.model.sync.html +++ /dev/null @@ -1,66 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.model.sync.get_doc_files - (files, start_path, force=0, sync_everything=False, verbose=False) -

-

walk and sync all doctypes and pages

-
-
- - - - - - - -

- - - frappe.model.sync.sync_all - (force=0, verbose=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.sync.sync_for - (app_name, force=0, sync_everything=False, verbose=False) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/frappe.model.workflow.html b/frappe/docs/current/api/model/frappe.model.workflow.html deleted file mode 100644 index d6edf08f22..0000000000 --- a/frappe/docs/current/api/model/frappe.model.workflow.html +++ /dev/null @@ -1,66 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.model.workflow.get_default_state - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.workflow.get_state_fieldname - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.workflow.get_workflow_name - (doctype) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/index.html b/frappe/docs/current/api/model/index.html deleted file mode 100644 index 52266ed572..0000000000 --- a/frappe/docs/current/api/model/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/index.txt b/frappe/docs/current/api/model/index.txt deleted file mode 100644 index 7dc8257c25..0000000000 --- a/frappe/docs/current/api/model/index.txt +++ /dev/null @@ -1,14 +0,0 @@ -frappe.model.base_document -frappe.model.create_new -frappe.model.db_query -frappe.model.db_schema -frappe.model.delete_doc -frappe.model.docfield -frappe.model.document -frappe.model -frappe.model.mapper -frappe.model.meta -frappe.model.naming -frappe.model.rename_doc -frappe.model.sync -frappe.model.workflow \ No newline at end of file diff --git a/frappe/docs/current/api/model/utils/frappe.model.utils.html b/frappe/docs/current/api/model/utils/frappe.model.utils.html deleted file mode 100644 index 6fa42fb528..0000000000 --- a/frappe/docs/current/api/model/utils/frappe.model.utils.html +++ /dev/null @@ -1,34 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.model.utils.set_default - (doc, key) -

-

Set is_default property of given doc and unset all others filtered by given key.

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/utils/frappe.model.utils.rename_field.html b/frappe/docs/current/api/model/utils/frappe.model.utils.rename_field.html deleted file mode 100644 index d8abc8cf4d..0000000000 --- a/frappe/docs/current/api/model/utils/frappe.model.utils.rename_field.html +++ /dev/null @@ -1,82 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.model.utils.rename_field.rename_field - (doctype, old_fieldname, new_fieldname) -

-

This functions assumes that doctype is already synced

-
-
- - - - - - - -

- - - frappe.model.utils.rename_field.update_property_setters - (doctype, old_fieldname, new_fieldname) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.utils.rename_field.update_reports - (doctype, old_fieldname, new_fieldname) -

-

No docs

-
-
- - - - - - - -

- - - frappe.model.utils.rename_field.update_users_report_view_settings - (doctype, ref_fieldname, new_fieldname) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/utils/index.html b/frappe/docs/current/api/model/utils/index.html deleted file mode 100644 index 285965fff4..0000000000 --- a/frappe/docs/current/api/model/utils/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/model/utils/index.txt b/frappe/docs/current/api/model/utils/index.txt deleted file mode 100644 index 3887301bf2..0000000000 --- a/frappe/docs/current/api/model/utils/index.txt +++ /dev/null @@ -1,2 +0,0 @@ -frappe.model.utils -frappe.model.utils.rename_field \ No newline at end of file diff --git a/frappe/docs/current/api/modules/frappe.modules.export_file.html b/frappe/docs/current/api/modules/frappe.modules.export_file.html deleted file mode 100644 index 1d8cf369a6..0000000000 --- a/frappe/docs/current/api/modules/frappe.modules.export_file.html +++ /dev/null @@ -1,114 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.modules.export_file.create_folder - (module, dt, dn, create_init) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.export_file.create_init_py - (module_path, dt, dn) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.export_file.export_doc - (doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.export_file.export_to_files - (record_list=None, record_module=None, verbose=0, create_init=None) -

-

Export recordlist to files. recordlist is a list of lists ([doctype],[docname] ) ,

-
-
- - - - - - - -

- - - frappe.modules.export_file.get_module_name - (doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.export_file.write_document_file - (doc, record_module=None, create_init=None) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/modules/frappe.modules.html b/frappe/docs/current/api/modules/frappe.modules.html deleted file mode 100644 index 1e1f7aaae4..0000000000 --- a/frappe/docs/current/api/modules/frappe.modules.html +++ /dev/null @@ -1,210 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.modules.export_doc - (doctype, name, module=None) -

-

Write a doc to standard path.

-
-
- - - - - - - -

- - - frappe.modules.get_app_publisher - (module) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.get_doc_path - (module, doctype, name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.get_doctype_module - (doctype) -

-

Returns Module Def name of given doctype.

-
-
- - - - - - - -

- - - frappe.modules.get_module_app - (module) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.get_module_name - (doctype, module, prefix=, app=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.get_module_path - (module) -

-

Returns path of the given module

-
-
- - - - - - - -

- - - frappe.modules.load_doctype_module - (doctype, module=None, prefix=) -

-

Returns the module object for given doctype.

-
-
- - - - - - - -

- - - frappe.modules.make_boilerplate - (template, doc, opts=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.reload_doc - (module, dt=None, dn=None, force=True) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.scrub - (txt) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.scrub_dt_dn - (dt, dn) -

-

Returns in lowercase and code friendly names of doctype and name for certain types

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/modules/frappe.modules.import_file.html b/frappe/docs/current/api/modules/frappe.modules.import_file.html deleted file mode 100644 index 88cbcdb83e..0000000000 --- a/frappe/docs/current/api/modules/frappe.modules.import_file.html +++ /dev/null @@ -1,114 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.modules.import_file.get_file_path - (module, dt, dn) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.import_file.import_doc - (docdict, force=False, data_import=False, pre_process=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.import_file.import_file - (module, dt, dn, force=False, pre_process=None) -

-

Sync a file from txt if modifed, return false if not updated

-
-
- - - - - - - -

- - - frappe.modules.import_file.import_file_by_path - (path, force=False, data_import=False, pre_process=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.import_file.import_files - (module, dt=None, dn=None, force=False, pre_process=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.import_file.read_doc_from_file - (path) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/modules/frappe.modules.patch_handler.html b/frappe/docs/current/api/modules/frappe.modules.patch_handler.html deleted file mode 100644 index 3dd0b30bf0..0000000000 --- a/frappe/docs/current/api/modules/frappe.modules.patch_handler.html +++ /dev/null @@ -1,193 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class PatchError

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - - - -

- - - frappe.modules.patch_handler.block_user - (block) -

-

stop/start execution till patch is run

-
-
- - - - - - - -

- - - frappe.modules.patch_handler.check_session_stopped - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.patch_handler.execute_patch - (patchmodule, method=None, methodargs=None) -

-

execute the patch

-
-
- - - - - - - -

- - - frappe.modules.patch_handler.executed - (patchmodule) -

-

return True if is executed

-
-
- - - - - - - -

- - - frappe.modules.patch_handler.get_all_patches - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.patch_handler.log - (msg) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.patch_handler.reload_doc - (args) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.patch_handler.run_all - () -

-

run all pending patches

-
-
- - - - - - - -

- - - frappe.modules.patch_handler.run_single - (patchmodule=None, method=None, methodargs=None, force=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.patch_handler.update_patch_log - (patchmodule) -

-

update patch_file in patch log

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/modules/frappe.modules.utils.html b/frappe/docs/current/api/modules/frappe.modules.utils.html deleted file mode 100644 index 90b9c7dc23..0000000000 --- a/frappe/docs/current/api/modules/frappe.modules.utils.html +++ /dev/null @@ -1,117 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.modules.utils.commonify_doclist - (doclist, with_comments=1) -

-

Makes a doclist more readable by extracting common properties. -This is used for printing Documents in files

-
-
- - - - - - - -

- - - frappe.modules.utils.listfolders - (path, only_name=0) -

-

Returns the list of folders (with paths) in the given path, -If only_name is set, it returns only the folder names

-
-
- - - - - - - -

- - - frappe.modules.utils.peval_doclist - (txt) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.utils.pprint_doclist - (doclist, with_comments=1) -

-

No docs

-
-
- - - - - - - -

- - - frappe.modules.utils.switch_module - (dt, dn, to, frm=None, export=None) -

-

Change the module of the given doctype, if export is true, then also export txt and copy -code files from src

-
-
- - - - - - - -

- - - frappe.modules.utils.uncommonify_doclist - (dl) -

-

Expands an commonified doclist

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/modules/index.html b/frappe/docs/current/api/modules/index.html deleted file mode 100644 index aa3ea6a3d5..0000000000 --- a/frappe/docs/current/api/modules/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/modules/index.txt b/frappe/docs/current/api/modules/index.txt deleted file mode 100644 index f5fd1cfdbc..0000000000 --- a/frappe/docs/current/api/modules/index.txt +++ /dev/null @@ -1,5 +0,0 @@ -frappe.modules.export_file -frappe.modules -frappe.modules.import_file -frappe.modules.patch_handler -frappe.modules.utils \ No newline at end of file diff --git a/frappe/docs/current/api/print/frappe.print.html b/frappe/docs/current/api/print/frappe.print.html deleted file mode 100644 index 6bfe08cc90..0000000000 --- a/frappe/docs/current/api/print/frappe.print.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/print/index.html b/frappe/docs/current/api/print/index.html deleted file mode 100644 index f3cf57299f..0000000000 --- a/frappe/docs/current/api/print/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/print/index.txt b/frappe/docs/current/api/print/index.txt deleted file mode 100644 index 1b90f60e66..0000000000 --- a/frappe/docs/current/api/print/index.txt +++ /dev/null @@ -1 +0,0 @@ -frappe.print \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.autodoc.html b/frappe/docs/current/api/utils/frappe.utils.autodoc.html deleted file mode 100644 index 741c76bf22..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.autodoc.html +++ /dev/null @@ -1,152 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - -

Introduction


frappe.utils.autodoc -~~~~~~~~~~~~~~~~~~~~

- -

Inspect elements of a given module and return its objects

-

- - - - - -

- - - frappe.utils.autodoc.automodel - (doctype) -

-

return doctype template

-
-
- - - - - - - -

- - - frappe.utils.autodoc.automodule - (name) -

-

Returns a list of attributes for given module string.

- -

Attribute Format:

- -
{
-    "name": [__name__],
-    "type": ["function" or "class"]
-    "args": [inspect.getargspec(value) (for function)]
-    "docs": [__doc__ as markdown]
-}
-
- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.utils.autodoc.get_class_info - (class_obj, module_name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.autodoc.get_function_info - (value) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.autodoc.get_version - (name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.autodoc.parse - (docs) -

-

Parameters:

- -

Parse docs text into markdown. Will parse directives like - **name** - etc

-
-
- - - - - - - -

- - - frappe.utils.autodoc.strip_leading_tabs - (docs) -

-

Strip leading tabs from doc text.

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.backups.html b/frappe/docs/current/api/utils/frappe.utils.backups.html deleted file mode 100644 index 1b05924bcf..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.backups.html +++ /dev/null @@ -1,254 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - -

Introduction


This module handles the On Demand Backup utility

-

- - - -

Class BackupGenerator

- -

This class contains methods to perform On Demand Backup

- -

To initialize, specify (dbname, user, password, dbfilename=None, dbhost="localhost") -If specifying dbfilename, also append ".sql.gz"

-
-
- - - - -

- - - __init__ - (self, db_name, user, password, backup_path_db=None, backup_path_files=None, backup_path_private_files=None, db_host=localhost) -

-

No docs

-
-
- - - - - -

- - - get_backup - (self, older_than=24, ignore_files=False, force=False) -

-

Takes a new dump if existing file is old -and sends the link to the file as email

-
-
- - - - - -

- - - get_recent_backup - (self, older_than) -

-

No docs

-
-
- - - - - -

- - - send_email - (self) -

-

Sends the link to backup file located at erpnext/backups

-
-
- - - - - -

- - - set_backup_file_name - (self) -

-

No docs

-
-
- - - - - -

- - - take_dump - (self) -

-

No docs

-
-
- - - - - -

- - - zip_files - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.utils.backups.backup - (with_files=False, backup_path_db=None, backup_path_files=None, quiet=False) -

-

Backup

-
-
- - - - - - - -

- - - frappe.utils.backups.delete_temp_backups - (older_than=24) -

-

Cleans up the backuplinkpath directory by deleting files older than 24 hours

-
-
- - - - - - -

Public API -
/api/method/frappe.utils.backups.get_backup -

-

- - - frappe.utils.backups.get_backup - () -

-

This function is executed when the user clicks on -Toos > Download Backup

-
-
- - - - - - - -

- - - frappe.utils.backups.get_backup_path - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.backups.is_file_old - (db_file_name, older_than=24) -

-

Checks if file exists and is older than specified hours -Returns -> -True: file does not exist or file is old -False: file is new

-
-
- - - - - - - -

- - - frappe.utils.backups.new_backup - (older_than=6, ignore_files=False, backup_path_db=None, backup_path_files=None, backup_path_private_files=None, force=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.backups.scheduled_backup - (older_than=6, ignore_files=False, backup_path_db=None, backup_path_files=None, backup_path_private_files=None, force=False) -

-

this function is called from scheduler -deletes backups older than 7 days -takes backup

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.bench_helper.html b/frappe/docs/current/api/utils/frappe.utils.bench_helper.html deleted file mode 100644 index c5a73083df..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.bench_helper.html +++ /dev/null @@ -1,130 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.bench_helper.app_group - (ctx, site=False, force=False, verbose=False, profile=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.bench_helper.get_app_commands - (app) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.bench_helper.get_app_group - (app) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.bench_helper.get_app_groups - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.bench_helper.get_apps - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.bench_helper.get_sites - (site_arg) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.bench_helper.main - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.boilerplate.html b/frappe/docs/current/api/utils/frappe.utils.boilerplate.html deleted file mode 100644 index 8cbb19817f..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.boilerplate.html +++ /dev/null @@ -1,34 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.boilerplate.make_boilerplate - (dest, app_name) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.change_log.html b/frappe/docs/current/api/utils/frappe.utils.change_log.html deleted file mode 100644 index 69630d3a4b..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.change_log.html +++ /dev/null @@ -1,96 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.change_log.get_change_log - (user=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.change_log.get_change_log_for_app - (app, from_version, to_version) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.utils.change_log.get_versions -

-

- - - frappe.utils.change_log.get_versions - () -

-

Get versions of all installed apps.

- -

Example:

- -
{
-    "frappe": {
-        "title": "Frappe Framework",
-        "version": "5.0.0"
-    }
-}
-
-
-
- - - - - - -

Public API -
/api/method/frappe.utils.change_log.update_last_known_versions -

-

- - - frappe.utils.change_log.update_last_known_versions - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.csvutils.html b/frappe/docs/current/api/utils/frappe.utils.csvutils.html deleted file mode 100644 index 7d6eb55572..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.csvutils.html +++ /dev/null @@ -1,203 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class UnicodeWriter

- -

-
-
- - - - -

- - - __init__ - (self, encoding=utf-8) -

-

No docs

-
-
- - - - - -

- - - getvalue - (self) -

-

No docs

-
-
- - - - - -

- - - writerow - (self, row) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.utils.csvutils.check_record - (d) -

-

check for mandatory, select options, dates. these should ideally be in doclist

-
-
- - - - - - - -

- - - frappe.utils.csvutils.getlink - (doctype, name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.csvutils.import_doc - (d, doctype, overwrite, row_idx, submit=False, ignore_links=False) -

-

import main (non child) document

-
-
- - - - - - - -

- - - frappe.utils.csvutils.read_csv_content - (fcontent, ignore_encoding=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.csvutils.read_csv_content_from_attached_file - (doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.csvutils.read_csv_content_from_uploaded_file - (ignore_encoding=False) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.utils.csvutils.send_csv_to_client -

-

- - - frappe.utils.csvutils.send_csv_to_client - (args) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.csvutils.to_csv - (data) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.data.html b/frappe/docs/current/api/utils/frappe.utils.data.html deleted file mode 100644 index 34ec8c1354..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.data.html +++ /dev/null @@ -1,1024 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.data._get_time_zone - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.add_days - (date, days) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.add_months - (date, months) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.add_to_date - (date, years=0, months=0, days=0) -

-

Adds days to the given date

-
-
- - - - - - - -

- - - frappe.utils.data.add_years - (date, years) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.cint - (s) -

-

Convert to integer

-
-
- - - - - - - -

- - - frappe.utils.data.comma_and - (some_list) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.comma_or - (some_list) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.comma_sep - (some_list, pattern) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.compare - (val1, condition, val2) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.convert_utc_to_user_timezone - (utc_timestamp) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.cstr - (s) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.date_diff - (string_ed_date, string_st_date) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.encode - (obj, encoding=utf-8) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.escape_html - (text) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.expand_relative_urls - (html) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.filter_strip_join - (some_list, sep) -

-

given a list, filter None values, strip spaces and join

-
-
- - - - - - - -

- - - frappe.utils.data.flt - (s, precision=None) -

-

Convert to float (ignore commas)

-
-
- - - - - - - -

- - - frappe.utils.data.fmt_money - (amount, precision=None, currency=None) -

-

Convert to string with commas for thousands, millions etc

-
-
- - - - - - - -

- - - frappe.utils.data.format_datetime - (datetime_string, format_string=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.format_time - (txt) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.formatdate - (string_date=None, format_string=None) -

-

Convers the given string date to :data:user_format -ser format specified in defaults

- -

Examples:

- - -
-
- - - - - - - -

- - - frappe.utils.data.get_datetime - (datetime_str=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.get_datetime_str - (datetime_obj) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.get_first_day - (dt, d_years=0, d_months=0) -

-

Returns the first day of the month for the date specified by date object -Also adds d_years and d_months if specified

-
-
- - - - - - - -

- - - frappe.utils.data.get_host_name - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.get_last_day - (dt) -

-

Returns last day of the month using: -get_first_day(dt, 0, 1) + datetime.timedelta(-1)

-
-
- - - - - - - -

- - - frappe.utils.data.get_link_to_form - (doctype, name, label=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.get_number_format_info - (format) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.get_time - (time_str) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.get_time_zone - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.get_url - (uri=None, full_address=False) -

-

get app url from request

-
-
- - - - - - - -

- - - frappe.utils.data.get_url_to_form - (doctype, name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.get_url_to_list - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.get_user_format - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.getdate - (string_date=None) -

-

Coverts string date (yyyy-mm-dd) to datetime.date object

-
-
- - - - - - - -

- - - frappe.utils.data.global_date_format - (date) -

-

returns date as 1 January 2012

-
-
- - - - - - - -

- - - frappe.utils.data.has_common - (l1, l2) -

-

Returns truthy value if there are common elements in lists l1 and l2

-
-
- - - - - - - -

- - - frappe.utils.data.in_words - (integer, in_million=True) -

-

Returns string in words for the given integer.

-
-
- - - - - - - -

- - - frappe.utils.data.is_html - (text) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.money_in_words - (number, main_currency=None, fraction_currency=None) -

-

Returns string in words with currency and fraction currency.

-
-
- - - - - - - -

- - - frappe.utils.data.now - () -

-

return current datetime as yyyy-mm-dd hh:mm:ss

-
-
- - - - - - - -

- - - frappe.utils.data.now_datetime - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.nowdate - () -

-

return current date as yyyy-mm-dd

-
-
- - - - - - - -

- - - frappe.utils.data.nowtime - () -

-

return current time in hh:mm

-
-
- - - - - - - -

- - - frappe.utils.data.parse_val - (v) -

-

Converts to simple datatypes from SQL query results

-
-
- - - - - - - -

- - - frappe.utils.data.pretty_date - (iso_datetime) -

-

Takes an ISO time and returns a string representing how -long ago the date represents. -Ported from PrettyDate by John Resig

-
-
- - - - - - - -

- - - frappe.utils.data.quote_urls - (html) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.quoted - (url) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.remainder - (numerator, denominator, precision=2) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.round_based_on_smallest_currency_fraction - (value, currency, precision=2) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.rounded - (num, precision=0) -

-

round method for round halfs to nearest even algorithm aka banker's rounding - compatible with python3

-
-
- - - - - - - -

- - - frappe.utils.data.scrub_urls - (html) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.strip - (val, chars=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.strip_html - (text) -

-

removes anything enclosed in and including <>

-
-
- - - - - - - -

- - - frappe.utils.data.time_diff - (string_ed_date, string_st_date) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.time_diff_in_hours - (string_ed_date, string_st_date) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.time_diff_in_seconds - (string_ed_date, string_st_date) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.to_markdown - (html) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.to_timedelta - (time_str) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.today - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.data.unique - (seq) -

-

use this instead of list(set()) to preserve order of the original list. -Thanks to Stackoverflow: http://stackoverflow.com/questions/480214/how-do-you-remove-duplicates-from-a-list-in-python-whilst-preserving-order

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.dateutils.html b/frappe/docs/current/api/utils/frappe.utils.dateutils.html deleted file mode 100644 index 6f62182159..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.dateutils.html +++ /dev/null @@ -1,82 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.dateutils.datetime_in_user_format - (date_time) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.dateutils.get_user_date_format - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.dateutils.parse_date - (date) -

-

tries to parse given date to system's format i.e. yyyy-mm-dd. returns a string

-
-
- - - - - - - -

- - - frappe.utils.dateutils.user_to_str - (date, date_format=None) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.doctor.html b/frappe/docs/current/api/utils/frappe.utils.doctor.html deleted file mode 100644 index 7994f6ef13..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.doctor.html +++ /dev/null @@ -1,229 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.doctor.celery_doctor - (site=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.doctor.check_if_workers_online - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.doctor.doctor - () -

-

Prints diagnostic information for the scheduler

-
-
- - - - - - - -

- - - frappe.utils.doctor.dump_queue_status - (site=None) -

-

Dumps pending events and tasks per queue

-
-
- - - - - - - -

- - - frappe.utils.doctor.get_pending_task_count - () -

-

Get count of pending tasks

-
-
- - - - - - - -

- - - frappe.utils.doctor.get_queues - (site=None) -

-

Returns the name of queues where frappe enqueues tasks as per the configuration

-
-
- - - - - - - -

- - - frappe.utils.doctor.get_redis_conn - () -

-

Returns the redis connection that celery would use

-
-
- - - - - - - -

- - - frappe.utils.doctor.get_running_tasks - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.doctor.get_task_body - (taskstr) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.doctor.get_task_count_for_queue - (queue) -

-

For a given queue, returns the count of every pending task and aggregate of -events pending

-
-
- - - - - - - -

- - - frappe.utils.doctor.get_timedout_locks - () -

-

Get list of stale locks from all sites

-
-
- - - - - - - -

- - - frappe.utils.doctor.inspect_queue - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.doctor.purge_pending_tasks - (event=None, site=None) -

-

Purge tasks of the event event type. Passing 'all' will not purge all -events but of the all event type, ie. the ones that are enqueued every five -mintues and would any leave daily, hourly and weekly tasks

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.error.html b/frappe/docs/current/api/utils/frappe.utils.error.html deleted file mode 100644 index 07d37337cc..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.error.html +++ /dev/null @@ -1,98 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.error.clear_old_snapshots - () -

-

Clear snapshots that are older than a month

-
-
- - - - - - - -

- - - frappe.utils.error.collect_error_snapshots - () -

-

Scheduled task to collect error snapshots from files and push into Error Snapshot table

-
-
- - - - - - - -

- - - frappe.utils.error.get_error_snapshot_path - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.error.get_snapshot - (exception, context=10) -

-

Return a dict describing a given traceback (based on cgitb.text)

-
-
- - - - - - - -

- - - frappe.utils.error.make_error_snapshot - (exception) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.file_lock.html b/frappe/docs/current/api/utils/frappe.utils.file_lock.html deleted file mode 100644 index e4c11f76da..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.file_lock.html +++ /dev/null @@ -1,97 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class LockTimeoutError

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - - - -

- - - frappe.utils.file_lock.check_lock - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_lock.create_lock - (name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_lock.delete_lock - (name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_lock.get_lock_path - (name) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.file_manager.html b/frappe/docs/current/api/utils/frappe.utils.file_manager.html deleted file mode 100644 index 5cce4577d6..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.file_manager.html +++ /dev/null @@ -1,401 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class MaxFileSizeReachedError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - - - -

- - - frappe.utils.file_manager.check_max_file_size - (content) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.delete_file - (path) -

-

Delete file from public folder

-
-
- - - - - - - -

- - - frappe.utils.file_manager.delete_file_data_content - (doc, only_thumbnail=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.delete_file_from_filesystem - (doc, only_thumbnail=False) -

-

Delete file, thumbnail from File document

-
-
- - - - - - - -

- - - frappe.utils.file_manager.extract_images_from_doc - (doc, fieldname) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.extract_images_from_html - (doc, content) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.get_content_hash - (content) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.get_file - (fname) -

-

Returns [file_name, content] for given file name fname

-
-
- - - - - - - -

- - - frappe.utils.file_manager.get_file_data_from_hash - (content_hash, is_private=0) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.get_file_name - (fname, optional_suffix) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.get_file_path - (file_name) -

-

Returns file path from given file name

-
-
- - - - - - - -

- - - frappe.utils.file_manager.get_file_url - (file_data_name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.get_random_filename - (extn=None, content_type=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.get_uploaded_content - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.remove_all - (dt, dn) -

-

remove all files in a transaction

-
-
- - - - - - - -

- - - frappe.utils.file_manager.remove_file - (fid, attached_to_doctype=None, attached_to_name=None) -

-

Remove file and File entry

-
-
- - - - - - - -

- - - frappe.utils.file_manager.remove_file_by_url - (file_url, doctype=None, name=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.save_file - (fname, content, dt, dn, folder=None, decode=False, is_private=0) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.save_file_on_filesystem - (fname, content, content_type=None, is_private=0) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.save_uploaded - (dt, dn, folder, is_private) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.save_url - (file_url, dt, dn, folder) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.upload - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.file_manager.write_file - (content, fname, is_private=0) -

-

write file to disk with a random name (to compare)

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.fixtures.html b/frappe/docs/current/api/utils/frappe.utils.fixtures.html deleted file mode 100644 index 66c633d4b5..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.fixtures.html +++ /dev/null @@ -1,66 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.fixtures.export_fixtures - () -

-

Export fixtures as JSON to [app]/fixtures

-
-
- - - - - - - -

- - - frappe.utils.fixtures.import_custom_scripts - (app) -

-

Import custom scripts from [app]/fixtures/custom_scripts

-
-
- - - - - - - -

- - - frappe.utils.fixtures.sync_fixtures - (app=None) -

-

Import, overwrite fixtures from [app]/fixtures

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.formatters.html b/frappe/docs/current/api/utils/frappe.utils.formatters.html deleted file mode 100644 index 746c4f5b1f..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.formatters.html +++ /dev/null @@ -1,34 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.formatters.format_value - (value, df, doc=None, currency=None) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.html b/frappe/docs/current/api/utils/frappe.utils.html deleted file mode 100644 index d8534b5f4e..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.html +++ /dev/null @@ -1,743 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.call_hook_method - (hook) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.decode_dict - (d, encoding=utf-8) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.dict_to_str - (args, sep=&) -

-

Converts a dictionary to URL

-
-
- - - - - - - -

- - - frappe.utils.encode_dict - (d, encoding=utf-8) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.esc - (s, esc_chars) -

-

Escape special characters

-
-
- - - - - - - -

- - - frappe.utils.execute_in_shell - (cmd, verbose=0) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.extract_email_id - (email) -

-

fetch only the email part of the email id

-
-
- - - - - - - -

- - - frappe.utils.getCSVelement - (v) -

-

Returns the CSV value of v, For example:

- - -
-
- - - - - - - -

- - - frappe.utils.get_backups_path - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_bench_path - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_common - (d1, d2) -

-

returns (list of keys) the common part of two dicts

-
-
- - - - - - - -

- - - frappe.utils.get_common_dict - (d1, d2) -

-

return common dictionary of d1 and d2

-
-
- - - - - - - -

- - - frappe.utils.get_defaults - (key=None) -

-

Get dictionary of default values from the defaults, or a value if key is passed

-
-
- - - - - - - -

- - - frappe.utils.get_diff_dict - (d1, d2) -

-

return common dictionary of d1 and d2

-
-
- - - - - - - -

- - - frappe.utils.get_disk_usage - () -

-

get disk usage of files folder

-
-
- - - - - - - -

- - - frappe.utils.get_file_timestamp - (fn) -

-

Returns timestamp of the given file

-
-
- - - - - - - -

- - - frappe.utils.get_files_path - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_formatted_email - (user) -

-

get email id of user formatted as: John Doe <johndoe@example.com>

-
-
- - - - - - - -

- - - frappe.utils.get_fullname - (user=None) -

-

get the full name (first name + last name) of the user from User

-
-
- - - - - - - -

- - - frappe.utils.get_gravatar - (email) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_hook_method - (hook_name, fallback=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_html_format - (print_path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_path - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_request_session - (max_retries=3) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_request_site_address - (full_address=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_site_base_path - (sites_dir=None, hostname=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_site_name - (hostname) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_site_path - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_sites - (sites_path=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_test_client - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.get_traceback - () -

-

Returns the traceback of the Exception

-
-
- - - - - - - -

- - - frappe.utils.is_markdown - (text) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.log - (event, details) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.make_esc - (esc_chars) -

-

Function generator for Escaping special characters

-
-
- - - - - - - -

- - - frappe.utils.pprint_dict - (d, level=1, no_blanks=True) -

-

Pretty print a dictionary with indents

-
-
- - - - - - - -

- - - frappe.utils.random_string - (length) -

-

generate a random string

-
-
- - - - - - - -

- - - frappe.utils.remove_blanks - (d) -

-

Returns d with empty ('' or None) values stripped

-
-
- - - - - - - -

- - - frappe.utils.set_default - (key, val) -

-

Set / add a default value to defaults`

-
-
- - - - - - - -

- - - frappe.utils.split_emails - (txt) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.strip_html_tags - (text) -

-

Remove html tags from text

-
-
- - - - - - - -

- - - frappe.utils.touch_file - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.unesc - (s, esc_chars) -

-

UnEscape special characters

-
-
- - - - - - - -

- - - frappe.utils.update_progress_bar - (txt, i, l) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.validate_email_add - (email_str, throw=False) -

-

Validates the email string

-
-
- - - - - - - -

- - - frappe.utils.watch - (path, handler=None, debug=True) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.image.html b/frappe/docs/current/api/utils/frappe.utils.image.html deleted file mode 100644 index 1c7e9a13db..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.image.html +++ /dev/null @@ -1,34 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.image.resize_images - (path, maxdim=700) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.install.html b/frappe/docs/current/api/utils/frappe.utils.install.html deleted file mode 100644 index 1b31421e10..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.install.html +++ /dev/null @@ -1,114 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.install.add_country_and_currency - (name, country) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.install.after_install - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.install.before_install - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.install.before_tests - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.install.get_admin_password - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.install.import_country_and_currency - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.jinja.html b/frappe/docs/current/api/utils/frappe.utils.jinja.html deleted file mode 100644 index c326e672bc..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.jinja.html +++ /dev/null @@ -1,130 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.jinja.get_allowed_functions_for_jenv - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.jinja.get_jenv - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.jinja.get_jloader - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.jinja.get_template - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.jinja.render_include - (content) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.jinja.render_template - (template, context, is_path=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.jinja.set_filters - (jenv) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.make_random.html b/frappe/docs/current/api/utils/frappe.utils.make_random.html deleted file mode 100644 index 1ccfd6e821..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.make_random.html +++ /dev/null @@ -1,82 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.make_random.add_random_children - (doc, fieldname, rows, randomize, unique=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.make_random.can_make - (doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.make_random.get_random - (doctype, filters=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.make_random.how_many - (doctype) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.minify.html b/frappe/docs/current/api/utils/frappe.utils.minify.html deleted file mode 100644 index 2c63fe202d..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.minify.html +++ /dev/null @@ -1,234 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class JavascriptMinify

- -

Inherits from __builtin__.object - -

-
-
- - - - -

- - - _action - (self, action) -

-

do something! What you do is determined by the argument: -1 Output A. Copy B to A. Get the next B. -2 Copy B to A. Get the next B. (Delete A). -3 Get the next B. (Delete B). -action treats a string as a single character. Wow! -action recognizes a regular expression if it is preceded by ( or , or =.

-
-
- - - - - -

- - - _get - (self) -

-

return the next character from stdin. Watch out for lookahead. If -the character is a control character, translate it to a space or -linefeed.

-
-
- - - - - -

- - - _jsmin - (self) -

-

Copy the input to the output, deleting the characters which are -insignificant to JavaScript. Comments will be removed. Tabs will be -replaced with spaces. Carriage returns will be replaced with linefeeds. -Most spaces and linefeeds will be removed.

-
-
- - - - - -

- - - _next - (self) -

-

get the next character, excluding comments. peek() is used to see -if an unescaped '/' is followed by a '/' or '*'.

-
-
- - - - - -

- - - _outA - (self) -

-

No docs

-
-
- - - - - -

- - - _outB - (self) -

-

No docs

-
-
- - - - - -

- - - _peek - (self) -

-

No docs

-
-
- - - - - -

- - - minify - (self, instream, outstream) -

-

No docs

-
-
- - -
-
- - - - - -

Class UnterminatedComment

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - -

Class UnterminatedRegularExpression

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - -

Class UnterminatedStringLiteral

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - - - -

- - - frappe.utils.minify.isAlphanum - (c) -

-

return true if the character is a letter, digit, underscore, -dollar sign, or non-ASCII character.

-
-
- - - - - - - -

- - - frappe.utils.minify.jsmin - (js) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.momentjs.html b/frappe/docs/current/api/utils/frappe.utils.momentjs.html deleted file mode 100644 index 6d81533478..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.momentjs.html +++ /dev/null @@ -1,50 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.momentjs.get_all_timezones - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.momentjs.update - (tz, out) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.nestedset.html b/frappe/docs/current/api/utils/frappe.utils.nestedset.html deleted file mode 100644 index 59f80caec6..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.nestedset.html +++ /dev/null @@ -1,319 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class NestedSet

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - after_rename - (self, olddn, newdn, merge=False) -

-

No docs

-
-
- - - - - -

- - - before_rename - (self, olddn, newdn, merge=False, group_fname=is_group) -

-

No docs

-
-
- - - - - -

- - - get_ancestors - (self) -

-

No docs

-
-
- - - - - -

- - - on_trash - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - validate_ledger - (self, group_identifier=is_group) -

-

No docs

-
-
- - - - - -

- - - validate_one_root - (self) -

-

No docs

-
-
- - -
-
- - - - - -

Class NestedSetChildExistsError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class NestedSetInvalidMergeError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class NestedSetMultipleRootsError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - -

Class NestedSetRecursionError

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - - - -

- - - frappe.utils.nestedset.get_ancestors_of - (doctype, name) -

-

Get ancestor elements of a DocType with a tree structure

-
-
- - - - - - - -

- - - frappe.utils.nestedset.get_root_of - (doctype) -

-

Get root element of a DocType with a tree structure

-
-
- - - - - - - -

- - - frappe.utils.nestedset.rebuild_node - (doctype, parent, left, parent_field) -

-

reset lft, rgt and recursive call for all children

-
-
- - - - - - - -

- - - frappe.utils.nestedset.rebuild_tree - (doctype, parent_field) -

-

call rebuild_node for all root nodes

-
-
- - - - - - - -

- - - frappe.utils.nestedset.update_add_node - (doc, parent, parent_field) -

-

insert a new node

-
-
- - - - - - - -

- - - frappe.utils.nestedset.update_move_node - (doc, parent_field) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.nestedset.update_nsm - (doc) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.nestedset.validate_loop - (doctype, name, lft, rgt) -

-

check if item not an ancestor (loop)

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.oauth.html b/frappe/docs/current/api/utils/frappe.utils.oauth.html deleted file mode 100644 index 0761329370..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.oauth.html +++ /dev/null @@ -1,225 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class SignupDisabledError

- -

Inherits from frappe.exceptions.PermissionError - -

-
-
- -
-
- - - - - - - -

- - - frappe.utils.oauth.get_first_name - (data) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.oauth.get_info_via_oauth - (provider, code, decoder=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.oauth.get_last_name - (data) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.oauth.get_oauth2_authorize_url - (provider) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.oauth.get_oauth2_flow - (provider) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.oauth.get_oauth2_providers - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.oauth.get_oauth_keys - (provider) -

-

get clientid and clientsecret from database or conf

-
-
- - - - - - - -

- - - frappe.utils.oauth.get_redirect_uri - (provider) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.oauth.login_oauth_user - (data=None, provider=None, state=None, email_id=None, key=None, generate_login_token=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.oauth.login_via_oauth2 - (provider, code, state, decoder=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.oauth.redirect_post_login - (desk_user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.oauth.update_oauth_user - (user, data, provider) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.pdf.html b/frappe/docs/current/api/utils/frappe.utils.pdf.html deleted file mode 100644 index 074b59675b..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.pdf.html +++ /dev/null @@ -1,114 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.pdf.cleanup - (fname, options) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.pdf.get_pdf - (html, options=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.pdf.prepare_header_footer - (soup) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.pdf.prepare_options - (html, options) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.pdf.read_options_from_html - (html) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.pdf.toggle_visible_pdf - (soup) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.redis_wrapper.html b/frappe/docs/current/api/utils/frappe.utils.redis_wrapper.html deleted file mode 100644 index 9348114612..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.redis_wrapper.html +++ /dev/null @@ -1,229 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class RedisWrapper

- -

Inherits from redis.client.Redis - -

Redis client that will automatically prefix conf.db_name

-
-
- - - - -

- - - delete_key - (self) -

-

No docs

-
-
- - - - - -

- - - delete_keys - (self, key) -

-

Delete keys with wildcard *.

-
-
- - - - - -

- - - delete_value - (self, keys, user=None, make_keys=True) -

-

Delete value, list of values.

-
-
- - - - - -

- - - get_all - (self, key) -

-

No docs

-
-
- - - - - -

- - - get_keys - (self, key) -

-

Return keys starting with key.

-
-
- - - - - -

- - - get_value - (self, key, generator=None, user=None, expires=False) -

-

Returns cache value. If not found and generator function is -given, it will call the generator.

- -

param key: Cache key. -param generator: Function to be called to generate a value if None is returned. -param expires: If the key is supposed to be with an expiry, don't store it in frappe.local

-
-
- - - - - -

- - - hdel - (self, name, key) -

-

No docs

-
-
- - - - - -

- - - hdel_keys - (self, name_starts_with, key) -

-

Delete hash names with wildcard * and key

-
-
- - - - - -

- - - hget - (self, name, key, generator=None) -

-

No docs

-
-
- - - - - -

- - - hkeys - (self, name) -

-

No docs

-
-
- - - - - -

- - - hset - (self, name, key, value) -

-

No docs

-
-
- - - - - -

- - - make_key - (self, key, user=None) -

-

No docs

-
-
- - - - - -

- - - set_value - (self, key, val, user=None, expires_in_sec=None) -

-

Sets cache value.

- -

Parameters:

- - -
-
- - -
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.response.html b/frappe/docs/current/api/utils/frappe.utils.response.html deleted file mode 100644 index ebf1652825..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.response.html +++ /dev/null @@ -1,226 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.response.as_csv - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.response.as_json - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.response.as_page - () -

-

print web page

-
-
- - - - - - - -

- - - frappe.utils.response.as_raw - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.response.build_response - (response_type=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.response.download_backup - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.response.download_private_file - (path) -

-

Checks permissions and sends back private file

-
-
- - - - - - - -

- - - frappe.utils.response.handle_session_stopped - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.response.json_handler - (obj) -

-

serialize non-serializable data for json

-
-
- - - - - - - -

- - - frappe.utils.response.make_logs - (response=None) -

-

make strings for msgprint and errprint

-
-
- - - - - - - -

- - - frappe.utils.response.redirect - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.response.report_error - (status_code) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.response.send_private_file - (path) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.scheduler.html b/frappe/docs/current/api/utils/frappe.utils.scheduler.html deleted file mode 100644 index c7fb5b8c65..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.scheduler.html +++ /dev/null @@ -1,199 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - -

Introduction


Events: - always - daily - monthly - weekly

-

- - - - - -

- - - frappe.utils.scheduler.disable_scheduler - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.scheduler.enable_scheduler - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.scheduler.enqueue_applicable_events - (site, nowtime, last) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.scheduler.enqueue_events - (site) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.scheduler.get_enabled_scheduler_events - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.scheduler.get_error_report - (from_date=None, to_date=None, limit=10) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.scheduler.get_errors - (from_date, to_date, limit) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.scheduler.is_scheduler_disabled - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.scheduler.log - (method, message=None) -

-

log error in patch_log

-
-
- - - - - - - -

- - - frappe.utils.scheduler.toggle_scheduler - (enable) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.scheduler.trigger - (site, event, now=False) -

-

trigger method in startup.schedule_handler

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.sel.html b/frappe/docs/current/api/utils/frappe.utils.sel.html deleted file mode 100644 index 4534a70c3c..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.sel.html +++ /dev/null @@ -1,418 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.sel.add_child - (fieldname) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.close - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.done_add_child - (fieldname) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.execute_script - (js) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.find - (selector, everywhere=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.get - (url) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.get_localhost - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.get_wait - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.go_to_module - (module_name, item=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.login - (wait_for_id=#page-desktop) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.new_doc - (module, doctype) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.primary_action - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.scroll_to - (selector) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.set_field - (fieldname, value, fieldtype=input) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.set_input - (selector, text, key=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.set_select - (fieldname, value) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.signal_handler - (signal, frame) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.start - (verbose=None, driver=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.start_test_server - (verbose) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.wait - (selector, everywhere=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.wait_for_ajax - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.wait_for_page - (name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.wait_for_state - (state) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.wait_till_clickable - (selector) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.sel.wait_till_visible - (selector) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.setup_docs.html b/frappe/docs/current/api/utils/frappe.utils.setup_docs.html deleted file mode 100644 index c58687e8a9..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.setup_docs.html +++ /dev/null @@ -1,239 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - -

Introduction


Automatically setup docs for a project

- -

Call from command line:

- -
bench setup-docs app path
-
-

- - - -

Class setup_docs

- -

Inherits from __builtin__.object - -

-
-
- - - - -

- - - __init__ - (self, app) -

-

Generate source templates for models reference and module API -and templates at templates/autodoc

-
-
- - - - - -

- - - build - (self, docs_version) -

-

Build templates for docs models and Python API

-
-
- - - - - -

- - - build_user_docs - (self) -

-

Build templates for user docs pages, if missing.

-
-
- - - - - -

- - - copy_assets - (self) -

-

Copy jquery, bootstrap and other assets to files

-
-
- - - - - -

- - - is_py_module - (self, basepath, folders, files) -

-

No docs

-
-
- - - - - -

- - - make_docs - (self, target, local=False) -

-

No docs

-
-
- - - - - -

- - - make_folder - (self, path, template=None, context=None) -

-

No docs

-
-
- - - - - -

- - - make_home_pages - (self) -

-

Make standard home pages for docs, developer docs, api and models -from templates

-
-
- - - - - -

- - - setup_app_context - (self) -

-

No docs

-
-
- - - - - -

- - - sync_docs - (self) -

-

Sync docs from /docs folder to Web Page.

- -

Called as bench --site [sitename] sync-docs [appname]

-
-
- - - - - -

- - - update_index_txt - (self, path) -

-

No docs

-
-
- - - - - -

- - - write_files - (self) -

-

render templates and write files to target folder

-
-
- - - - - -

- - - write_model_file - (self, basepath, module, doctype) -

-

No docs

-
-
- - - - - -

- - - write_modules - (self, basepath, folders, files) -

-

No docs

-
-
- - -
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.user.html b/frappe/docs/current/api/utils/frappe.utils.user.html deleted file mode 100644 index e2a711de74..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.user.html +++ /dev/null @@ -1,362 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class User

- -

A user permission object can be accessed as frappe.get_user()

-
-
- - - - -

- - - __init__ - (self, name=) -

-

No docs

-
-
- - - - - -

- - - _get - (self, key) -

-

No docs

-
-
- - - - - -

- - - build_doctype_map - (self) -

-

build map of special doctype properties

-
-
- - - - - -

- - - build_perm_map - (self) -

-

build map of permissions at level 0

-
-
- - - - - -

- - - build_permissions - (self) -

-

build lists of what the user can read / write / create -quirks: - readonly => Not in Search - increate => Not in create

-
-
- - - - - -

- - - get_block_modules - (self) -

-

Returns list of blocked modules

-
-
- - - - - -

- - - get_can_read - (self) -

-

return list of doctypes that the user can read

-
-
- - - - - -

- - - get_defaults - (self) -

-

No docs

-
-
- - - - - -

- - - get_roles - (self) -

-

get list of roles

-
-
- - - - - -

- - - load_user - (self) -

-

No docs

-
-
- - - - - -

- - - setup_user - (self) -

-

No docs

-
-
- - - - - -

- - - update_recent - (self, dt, dn) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.utils.user.add_role - (user, role) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.user.add_system_manager - (email, first_name=None, last_name=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.user.get_enabled_system_users - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.user.get_fullname_and_avatar - (user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.user.get_roles - (user=None, with_standard=True) -

-

get roles of current user

-
-
- - - - - - - -

- - - frappe.utils.user.get_system_managers - (only_name=False) -

-

returns all system manager's user details

-
-
- - - - - - - -

- - - frappe.utils.user.get_user_fullname - (user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.user.get_users - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.user.is_system_user - (username) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.user.is_website_user - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/frappe.utils.verified_command.html b/frappe/docs/current/api/utils/frappe.utils.verified_command.html deleted file mode 100644 index fe7e9f10fc..0000000000 --- a/frappe/docs/current/api/utils/frappe.utils.verified_command.html +++ /dev/null @@ -1,136 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.utils.verified_command.get_secret - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.verified_command.get_signature - (params, nonce, secret=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.verified_command.get_signed_params - (params) -

-

Sign a url by appending &_signature=xxxxx to given params (string or dict).

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.utils.verified_command.get_url - (cmd, params, nonce=None, secret=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.verified_command.get_url_using_doc - (doc, cmd) -

-

No docs

-
-
- - - - - - - -

- - - frappe.utils.verified_command.verify_request - () -

-

Verify if the incoming signed request if it is correct.

-
-
- - - - - - - -

- - - frappe.utils.verified_command.verify_using_doc - (doc, signature, cmd) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/index.html b/frappe/docs/current/api/utils/index.html deleted file mode 100644 index 285965fff4..0000000000 --- a/frappe/docs/current/api/utils/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/utils/index.txt b/frappe/docs/current/api/utils/index.txt deleted file mode 100644 index c174e90b9c..0000000000 --- a/frappe/docs/current/api/utils/index.txt +++ /dev/null @@ -1,31 +0,0 @@ -frappe.utils.autodoc -frappe.utils.backups -frappe.utils.bench_helper -frappe.utils.boilerplate -frappe.utils.change_log -frappe.utils.csvutils -frappe.utils.data -frappe.utils.dateutils -frappe.utils.doctor -frappe.utils.error -frappe.utils.file_lock -frappe.utils.file_manager -frappe.utils.fixtures -frappe.utils.formatters -frappe.utils -frappe.utils.image -frappe.utils.install -frappe.utils.jinja -frappe.utils.make_random -frappe.utils.minify -frappe.utils.momentjs -frappe.utils.nestedset -frappe.utils.oauth -frappe.utils.pdf -frappe.utils.redis_wrapper -frappe.utils.response -frappe.utils.scheduler -frappe.utils.sel -frappe.utils.setup_docs -frappe.utils.user -frappe.utils.verified_command \ No newline at end of file diff --git a/frappe/docs/current/api/website/frappe.website.context.html b/frappe/docs/current/api/website/frappe.website.context.html deleted file mode 100644 index 9ebe76b9be..0000000000 --- a/frappe/docs/current/api/website/frappe.website.context.html +++ /dev/null @@ -1,66 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.website.context.add_metatags - (context) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.context.build_context - (context) -

-

get_context method of doc or module is supposed to render content templates and push it into context

-
-
- - - - - - - -

- - - frappe.website.context.get_context - (path, args=None) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/website/frappe.website.html b/frappe/docs/current/api/website/frappe.website.html deleted file mode 100644 index faf44f38ad..0000000000 --- a/frappe/docs/current/api/website/frappe.website.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/website/frappe.website.render.html b/frappe/docs/current/api/website/frappe.website.render.html deleted file mode 100644 index acb3b6e9e3..0000000000 --- a/frappe/docs/current/api/website/frappe.website.render.html +++ /dev/null @@ -1,241 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class PageNotFoundError

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - - - -

- - - frappe.website.render.add_csrf_token - (data) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.render.build - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.render.build_page - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.render.build_response - (path, data, http_status_code, headers=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.render.clear_cache - (path=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.render.get_doctype_from_path - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.render.render - (path, http_status_code=None) -

-

render html page

-
-
- - - - - - - -

- - - frappe.website.render.render_403 - (e, pathname) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.render.render_page - (path) -

-

get page html

-
-
- - - - - - - -

- - - frappe.website.render.render_page_by_language - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.render.resolve_from_map - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.render.resolve_path - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.render.set_content_type - (response, data, path) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/website/frappe.website.router.html b/frappe/docs/current/api/website/frappe.website.router.html deleted file mode 100644 index e46b89d279..0000000000 --- a/frappe/docs/current/api/website/frappe.website.router.html +++ /dev/null @@ -1,166 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.website.router.build_route - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.router.clear_sitemap - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.router.get_generator_route - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.router.get_generator_routes - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.router.get_page_route - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.router.get_pages - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.router.get_route_info - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.router.process_generators - (func) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.router.resolve_route - (path) -

-

Returns the page route object based on searching in pages and generators. -The www folder is also a part of generator Web Page.

- -

The only exceptions are /about and /contact these will be searched in Web Pages -first before checking the standard pages.

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/website/frappe.website.statics.html b/frappe/docs/current/api/website/frappe.website.statics.html deleted file mode 100644 index ab37c5ce22..0000000000 --- a/frappe/docs/current/api/website/frappe.website.statics.html +++ /dev/null @@ -1,203 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class sync

- -

Inherits from __builtin__.object - -

-
-
- - - - -

- - - __init__ - (self, verbose=False, path=None) -

-

No docs

-
-
- - - - - -

- - - cleanup - (self) -

-

No docs

-
-
- - - - - -

- - - get_index_txt - (self, basepath, files) -

-

No docs

-
-
- - - - - -

- - - get_title - (self, fpath, content) -

-

No docs

-
-
- - - - - -

- - - start - (self, rebuild=False, path=www, apps=None) -

-

No docs

-
-
- - - - - -

- - - sync_alphabetically - (self, basepath, folders, files, app) -

-

No docs

-
-
- - - - - -

- - - sync_file - (self, fname, template_path, priority, app) -

-

No docs

-
-
- - - - - -

- - - sync_folder - (self, basepath, folders, files, app) -

-

No docs

-
-
- - - - - -

- - - sync_for_app - (self, app) -

-

No docs

-
-
- - - - - -

- - - sync_index_page - (self, basepath, files, app) -

-

No docs

-
-
- - - - - -

- - - sync_using_given_index - (self, basepath, folders, files, app) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.website.statics.sync_statics - (rebuild=False) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/website/frappe.website.utils.html b/frappe/docs/current/api/website/frappe.website.utils.html deleted file mode 100644 index 43bca203f3..0000000000 --- a/frappe/docs/current/api/website/frappe.website.utils.html +++ /dev/null @@ -1,242 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - -

- - - frappe.website.utils.abs_url - (path) -

-

Deconstructs and Reconstructs a URL into an absolute URL or a URL relative from root '/'

-
-
- - - - - - - -

- - - frappe.website.utils.can_cache - (no_cache=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.utils.cleanup_page_name - (title) -

-

make page name from title

-
-
- - - - - - - -

- - - frappe.website.utils.convert_to_hex - (channel_value) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.utils.delete_page_cache - (path) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.utils.detect_color_format - (color) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.utils.find_first_image - (html) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.utils.format_color - (r, g, b, a, color_format) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.utils.get_comment_list - (doctype, name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.utils.get_full_index - (route=None, doctype=Web Page, extn=False) -

-

Returns full index of the website (on Web Page) upto the n-th level

-
-
- - - - - - - -

- - - frappe.website.utils.get_home_page - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.utils.get_shade - (color, percent) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.utils.get_shade_for_channel - (channel_value, percent) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.utils.is_signup_enabled - () -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/website/frappe.website.website_generator.html b/frappe/docs/current/api/website/frappe.website.website_generator.html deleted file mode 100644 index 1de71c4e7b..0000000000 --- a/frappe/docs/current/api/website/frappe.website.website_generator.html +++ /dev/null @@ -1,357 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - -

Class WebsiteGenerator

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - after_rename - (self, olddn, newdn, merge) -

-

No docs

-
-
- - - - - -

- - - autoname - (self) -

-

No docs

-
-
- - - - - -

- - - before_rename - (self, oldname, name, merge) -

-

No docs

-
-
- - - - - -

- - - clear_cache - (self) -

-

No docs

-
-
- - - - - -

- - - get_children - (self, context=None) -

-

No docs

-
-
- - - - - -

- - - get_children_of - (self, route) -

-

Return list of children of given route, for generating index in Web Page

-
-
- - - - - -

- - - get_next - (self) -

-

No docs

-
-
- - - - - -

- - - get_or_make_page_name - (self) -

-

No docs

-
-
- - - - - -

- - - get_page_name - (self) -

-

No docs

-
-
- - - - - -

- - - get_parent - (self) -

-

No docs

-
-
- - - - - -

- - - get_parents - (self, context) -

-

No docs

-
-
- - - - - -

- - - get_route - (self, doc=None) -

-

No docs

-
-
- - - - - -

- - - get_route_context - (self) -

-

No docs

-
-
- - - - - -

- - - has_children - (self, route) -

-

No docs

-
-
- - - - - -

- - - make_page_name - (self) -

-

No docs

-
-
- - - - - -

- - - on_trash - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - onload - (self) -

-

No docs

-
-
- - - - - -

- - - set_parent_website_route - (self) -

-

No docs

-
-
- - - - - -

- - - update_routes_of_descendants - (self, old_route=None) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - - - - -

- - - website_published - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.website.website_generator.make_route - (doc) -

-

No docs

-
-
- - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/website/index.html b/frappe/docs/current/api/website/index.html deleted file mode 100644 index 2f8ab04e3b..0000000000 --- a/frappe/docs/current/api/website/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/website/index.txt b/frappe/docs/current/api/website/index.txt deleted file mode 100644 index 991920d20a..0000000000 --- a/frappe/docs/current/api/website/index.txt +++ /dev/null @@ -1,7 +0,0 @@ -frappe.website.context -frappe.website -frappe.website.render -frappe.website.router -frappe.website.statics -frappe.website.utils -frappe.website.website_generator \ No newline at end of file diff --git a/frappe/docs/current/api/website/website_theme/frappe.website.website_theme.html b/frappe/docs/current/api/website/website_theme/frappe.website.website_theme.html deleted file mode 100644 index 23d923c534..0000000000 --- a/frappe/docs/current/api/website/website_theme/frappe.website.website_theme.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/website/website_theme/index.html b/frappe/docs/current/api/website/website_theme/index.html deleted file mode 100644 index 0decff8b71..0000000000 --- a/frappe/docs/current/api/website/website_theme/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/website/website_theme/index.txt b/frappe/docs/current/api/website/website_theme/index.txt deleted file mode 100644 index 31655928c3..0000000000 --- a/frappe/docs/current/api/website/website_theme/index.txt +++ /dev/null @@ -1 +0,0 @@ -frappe.website.website_theme \ No newline at end of file diff --git a/frappe/docs/current/api/website/website_theme/standard/frappe.website.website_theme.standard.html b/frappe/docs/current/api/website/website_theme/standard/frappe.website.website_theme.standard.html deleted file mode 100644 index 391b97cba7..0000000000 --- a/frappe/docs/current/api/website/website_theme/standard/frappe.website.website_theme.standard.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/website/website_theme/standard/index.html b/frappe/docs/current/api/website/website_theme/standard/index.html deleted file mode 100644 index 0edbd47deb..0000000000 --- a/frappe/docs/current/api/website/website_theme/standard/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/website/website_theme/standard/index.txt b/frappe/docs/current/api/website/website_theme/standard/index.txt deleted file mode 100644 index 8a432687d6..0000000000 --- a/frappe/docs/current/api/website/website_theme/standard/index.txt +++ /dev/null @@ -1 +0,0 @@ -frappe.website.website_theme.standard \ No newline at end of file diff --git a/frappe/docs/current/api/workflow/frappe.workflow.html b/frappe/docs/current/api/workflow/frappe.workflow.html deleted file mode 100644 index 9c42c758cb..0000000000 --- a/frappe/docs/current/api/workflow/frappe.workflow.html +++ /dev/null @@ -1,18 +0,0 @@ -
- - - Version 6.x.x - - - Source - -
- - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/api/workflow/index.html b/frappe/docs/current/api/workflow/index.html deleted file mode 100644 index d8ba0fe810..0000000000 --- a/frappe/docs/current/api/workflow/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Package Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/api/workflow/index.txt b/frappe/docs/current/api/workflow/index.txt deleted file mode 100644 index dab7c26a6c..0000000000 --- a/frappe/docs/current/api/workflow/index.txt +++ /dev/null @@ -1 +0,0 @@ -frappe.workflow \ No newline at end of file diff --git a/frappe/docs/current/index.html b/frappe/docs/current/index.html deleted file mode 100644 index ba2a3db277..0000000000 --- a/frappe/docs/current/index.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - - - - - - - - - - -
- App Name - - frappe -
- Publisher - - Frappe Technologies Pvt. Ltd. -
- Version - - 6.20.2 -
- -

Contents

- - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/async_task.html b/frappe/docs/current/models/core/async_task.html deleted file mode 100644 index 6598f2f332..0000000000 --- a/frappe/docs/current/models/core/async_task.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabAsync Task

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1status - Select - Status - - -
-Queued
-Running
-Succeeded
-Failed
-
-
2task_name - Data - Task Name - -
3runtime - Data - Runtime - -
4result - Code - Result - -
5traceback - Code - Traceback - -
6section_break_6 - Section Break - - -
7reference_doctype - Link - Reference DocType - - - - - - -DocType - - - -
8reference_name - Dynamic Link - Reference Doc - - -
reference_doctype
-
- - -
-

Controller

-

frappe.core.doctype.async_task.async_task

- - - - - - - -

Class AsyncTask

- -

Inherits from frappe.model.document.Document - -

-
-
- -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/block_module.html b/frappe/docs/current/models/core/block_module.html deleted file mode 100644 index 9c57b9b7c3..0000000000 --- a/frappe/docs/current/models/core/block_module.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabBlock Module

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1module - Data - Module - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/comment.html b/frappe/docs/current/models/core/comment.html deleted file mode 100644 index 182e0ed6ab..0000000000 --- a/frappe/docs/current/models/core/comment.html +++ /dev/null @@ -1,405 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabComment

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1comment - Text - Comment - -
2comment_type - Data - Comment Type - - -
Email
-Chat
-Phone
-SMS
-Created
-Submitted
-Cancelled
-Assigned
-Assignment Completed
-Comment
-Workflow
-Label
-Attachment
-Attachment Removed
-Like
-
3comment_by - Data - Comment By - -
4comment_by_fullname - Data - Comment By Fullname - -
5comment_date - Date - Comment Date - -
6comment_time - Data - Comment Time - -
7comment_doctype - Data - Comment Doctype - -
8comment_docname - Data - Comment Docname - -
9post_topic - Data - Post Topic - -
10unsubscribed - Check - Unsubscribed - -
11reference_doctype - Link - Reference DocType - - - - - - -DocType - - - -
12reference_name - Dynamic Link - Reference Name -

- Reference DocType and Reference Name are used to render a comment as a link (href) to a Doc.

-
-
reference_doctype
-
- - -
-

Controller

-

frappe.core.doctype.comment.comment

- - - - - - - -

Class Comment

- -

Inherits from frappe.model.document.Document - -

Comments are added to Documents via forms or views like blogs etc.

-
-
- - - - -

- - - after_insert - (self) -

-

Send realtime updates

-
-
- - - - - -

- - - get_comments_from_parent - (self) -

-

No docs

-
-
- - - - - -

- - - get_feed - (self) -

-

Returns feed HTML from Comment.

-
-
- - - - - -

- - - notify_mentions - (self) -

-

No docs

-
-
- - - - - -

- - - on_trash - (self) -

-

Removes from _comments in parent Document

-
-
- - - - - -

- - - on_update - (self) -

-

Updates _comments property in parent Document.

-
-
- - - - - -

- - - update_comment_in_doc - (self) -

-

Updates _comments (JSON) property in parent Document. -Creates a column _comments if property does not exist.

- -

_comments format

- -
{
-    "comment": [String],
-    "by": [user],
-    "name": [Comment Document name]
-}
-
-
-
- - - - - -

- - - update_comments_in_parent - (self, _comments) -

-

Updates _comments property in parent Document with given dict.

- -

Parameters:

- - -
-
- - - - - -

- - - validate - (self) -

-

Raise exception for more than 50 comments.

-
-
- - -
-
- - - - - - - -

- - - frappe.core.doctype.comment.comment.on_doctype_update - () -

-

Add index to tabComment (comment_doctype, comment_name)

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/communication.html b/frappe/docs/current/models/core/communication.html deleted file mode 100644 index b89c1b07dc..0000000000 --- a/frappe/docs/current/models/core/communication.html +++ /dev/null @@ -1,772 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabCommunication

- - -Keep a track of all communications - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1naming_series - Select - Series - - -
COMM-
-
2communication_medium - Select - Communication Medium - - -
-Chat
-Phone
-Email
-SMS
-Visit
-Other
-
3recipients - Data - Recipients - -
4cc - Data - CC - -
5phone_no - Data - Phone No. - -
6column_break_5 - Column Break - - -
7status - Select - Status - - -
Open
-Replied
-Closed
-Linked
-
8sent_or_received - Select - Sent or Received - - -
Sent
-Received
-
9delivery_status - Select - Delivery Status -

- Integrations can use this field to set email delivery status

-
-
-Sent
-Bounced
-Opened
-Marked As Spam
-Rejected
-Delayed
-Soft-Bounced
-Clicked
-Recipient Unsubscribed
-
10section_break_10 - Section Break - - -
11subject - Data - Subject - -
12section_break_8 - Section Break - - -
13content - Text Editor - Content - -
14additional_info - Section Break - More Information - -
15sender - Data - Sender - -
16sender_full_name - Data - Sender Full Name - -
17communication_date - Datetime - Date - -
18column_break_14 - Column Break - - -
19reference_doctype - Link - Reference DocType - - - - - - -DocType - - - -
20reference_name - Dynamic Link - Reference Name - - -
reference_doctype
-
21in_reply_to - Link - In Reply To - - - - - - -Communication - - - -
22email_account - Link - Email Account - - - - - - -Email Account - - - -
23user - Link - User - - - - - - -User - - - -
24unread_notification_sent - Check - Unread Notification Sent - -
25_user_tags - Data - User Tags - -
- - -
-

Controller

-

frappe.core.doctype.communication.communication

- - - - - - - -

Class Communication

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - _notify - (self, print_html=None, print_format=None, attachments=None, recipients=None, cc=None) -

-

No docs

-
-
- - - - - -

- - - after_insert - (self) -

-

No docs

-
-
- - - - - -

- - - filter_email_list - (self, email_list, exclude, is_cc=False) -

-

No docs

-
-
- - - - - -

- - - get_assignees - (self) -

-

No docs

-
-
- - - - - -

- - - get_attach_link - (self, print_format) -

-

Returns public link for the attachment via templates/emails/print_link.html.

-
-
- - - - - -

- - - get_cc - (self, recipients=None, fetched_from_email_account=False) -

-

Build a list of email addresses for CC

-
-
- - - - - -

- - - get_owner_email - (self) -

-

No docs

-
-
- - - - - -

- - - get_parent_doc - (self) -

-

Returns document of reference_doctype, reference_doctype

-
-
- - - - - -

- - - get_recipients - (self, fetched_from_email_account=False) -

-

Build a list of email addresses for To

-
-
- - - - - -

- - - get_recipients_and_cc - (self, recipients, cc, fetched_from_email_account=False) -

-

No docs

-
-
- - - - - -

- - - notify - (self, print_html=None, print_format=None, attachments=None, recipients=None, cc=None, fetched_from_email_account=False) -

-

Calls a delayed celery task 'sendmail' that enqueus email in Bulk Email queue

- -

Parameters:

- - -
-
- - - - - -

- - - on_update - (self) -

-

Update parent status as Open or Replied.

-
-
- - - - - -

- - - prepare_to_notify - (self, print_html=None, print_format=None, attachments=None) -

-

Prepare to make multipart MIME Email

- -

Parameters:

- - -
-
- - - - - -

- - - send - (self, print_html=None, print_format=None, attachments=None, send_me_a_copy=False, recipients=None) -

-

Send communication via Email.

- -

Parameters:

- - -
-
- - - - - -

- - - set_incoming_outgoing_accounts - (self) -

-

No docs

-
-
- - - - - -

- - - update_parent - (self) -

-

Update status of parent document based on who is replying.

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.communication.communication.make -

-

- - - frappe.core.doctype.communication.communication.make - (doctype=None, name=None, content=None, subject=None, sent_or_received=Sent, sender=None, recipients=None, communication_medium=Email, send_email=False, print_html=None, print_format=None, attachments=[], ignore_doctype_permissions=False, send_me_a_copy=False, cc=None) -

-

Make a new communication.

- -

Parameters:

- - -
-
- - - - - - - -

- - - frappe.core.doctype.communication.communication.on_doctype_update - () -

-

Add index in tabCommunication for (reference_doctype, reference_name)

-
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/defaultvalue.html b/frappe/docs/current/models/core/defaultvalue.html deleted file mode 100644 index 5f0b4562cd..0000000000 --- a/frappe/docs/current/models/core/defaultvalue.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabDefaultValue

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1defkey - Data - Key - -
2defvalue - Text - Value - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/docfield.html b/frappe/docs/current/models/core/docfield.html deleted file mode 100644 index b8ea49bf99..0000000000 --- a/frappe/docs/current/models/core/docfield.html +++ /dev/null @@ -1,553 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabDocField

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1label_and_type - Section Break - - -
2label - Data - Label - -
3fieldtype - Select - Type - - -
Attach
-Attach Image
-Button
-Check
-Code
-Column Break
-Currency
-Data
-Date
-Datetime
-Dynamic Link
-Float
-Fold
-Heading
-HTML
-Image
-Int
-Link
-Long Text
-Password
-Percent
-Read Only
-Section Break
-Select
-Small Text
-Table
-Text
-Text Editor
-Time
-
4fieldname - Data - Name - -
5reqd - Check - Mandatory - -
6precision - Select - Precision -

- Set non-standard precision for a Float or Currency field

-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-
7length - Int - Length - -
8search_index - Check - Index - -
9in_list_view - Check - In List View - -
10bold - Check - Bold - -
11collapsible - Check - Collapsible - -
12collapsible_depends_on - Small Text - Collapsible Depends On - -
13column_break_6 - Column Break - - -
14options - Text - Options -

- For Links, enter the DocType as range. -For Select, enter list of Options, each on a new line.

-
15default - Small Text - Default - -
16permissions - Section Break - Permissions - -
17depends_on - Small Text - Depends On - -
18hidden - Check - Hidden - -
19read_only - Check - Read Only - -
20unique - Check - Unique - -
21set_only_once - Check - Set Only Once -

- Do not allow user to change after set the first time

-
22column_break_13 - Column Break - - -
23permlevel - Int - Perm Level - -
24ignore_user_permissions - Check - Ignore User Permissions -

- User permissions should not apply for this Link

-
25allow_on_submit - Check - Allow on Submit - -
26report_hide - Check - Report Hide - -
27display - Section Break - Display - -
28in_filter - Check - In Filter - -
29no_copy - Check - No Copy - -
30print_hide - Check - Print Hide - -
31print_hide_if_no_value - Check - Print Hide If No Value - -
32print_width - Data - Print Width - -
33width - Data - Width - -
34column_break_22 - Column Break - - -
35description - Small Text - Description - -
36oldfieldname - Data - - -
37oldfieldtype - Data - - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/docperm.html b/frappe/docs/current/models/core/docperm.html deleted file mode 100644 index 37b112900b..0000000000 --- a/frappe/docs/current/models/core/docperm.html +++ /dev/null @@ -1,376 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabDocPerm

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1role_and_level - Section Break - Role and Level - -
2role - Link - Role - - - - - - -Role - - - -
3apply_user_permissions - Check - Apply User Permissions -

- Filter records based on User Permissions defined for a user

-
4if_owner - Check - If user is the owner -

- Apply this rule if the User is the Owner

-
5column_break_2 - Column Break - - -
6permlevel - Int - Level - -
7user_permission_doctypes - Text - User Permission DocTypes -

- JSON list of DocTypes used to apply User Permissions. If empty, all linked DocTypes will be used to apply User Permissions.

-
8section_break_4 - Section Break - Permissions - -
9read - Check - Read - -
10write - Check - Write - -
11create - Check - Create - -
12delete - Check - Delete - -
13column_break_8 - Column Break - - -
14submit - Check - Submit - -
15cancel - Check - Cancel - -
16amend - Check - Amend - -
17additional_permissions - Section Break - Additional Permissions - -
18report - Check - Report - -
19export - Check - Export - -
20import - Check - Import - -
21set_user_permissions - Check - Set User Permissions -

- This role update User Permissions for a user

-
22column_break_19 - Column Break - - -
23share - Check - Share - -
24print - Check - Print - -
25email - Check - Email - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/docshare.html b/frappe/docs/current/models/core/docshare.html deleted file mode 100644 index 1f5b44c53a..0000000000 --- a/frappe/docs/current/models/core/docshare.html +++ /dev/null @@ -1,293 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabDocShare

- - -Internal record of document shares - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1user - Link - User - - - - - - -User - - - -
2share_doctype - Link - Document Type - - - - - - -DocType - - - -
3share_name - Dynamic Link - Document Name - - -
share_doctype
-
4read - Check - Read - -
5write - Check - Write - -
6share - Check - Share - -
7everyone - Check - Everyone - -
- - -
-

Controller

-

frappe.core.doctype.docshare.docshare

- - - - - - - -

Class DocShare

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - after_insert - (self) -

-

No docs

-
-
- - - - - -

- - - cascade_permissions_downwards - (self) -

-

No docs

-
-
- - - - - -

- - - check_share_permission - (self) -

-

No docs

-
-
- - - - - -

- - - get_doc - (self) -

-

No docs

-
-
- - - - - -

- - - on_trash - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - - - - -

- - - validate_user - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.core.doctype.docshare.docshare.on_doctype_update - () -

-

Add index in tabDocShare for (user, share_doctype)

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/error_snapshot.html b/frappe/docs/current/models/core/error_snapshot.html deleted file mode 100644 index 294921e97b..0000000000 --- a/frappe/docs/current/models/core/error_snapshot.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabError Snapshot

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1view - HTML - Snapshot View - -
2seen - Check - Seen - -
3evalue - Small Text - Friendly Title - -
4timestamp - Datetime - Timestamp - -
5relapses - Int - Relapses - -
6etype - Data - Exception Type - -
7traceback - Small Text - Traceback - -
8parent_error_snapshot - Data - Parent Error Snapshot - -
9pyver - Small Text - Pyver - -
10exception - Small Text - Exception - -
11locals - Text - Locals - -
12frames - Text - Frames - -
- - -
-

Controller

-

frappe.core.doctype.error_snapshot.error_snapshot

- - - - - - - -

Class ErrorSnapshot

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - onload - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/file.html b/frappe/docs/current/models/core/file.html deleted file mode 100644 index 529eda44c8..0000000000 --- a/frappe/docs/current/models/core/file.html +++ /dev/null @@ -1,849 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabFile

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1file_name - Data - File Name - -
2is_private - Check - Is Private - -
3preview - Section Break - Preview - -
4preview_html - HTML - Preview HTML - -
5section_break_5 - Section Break - - -
6is_home_folder - Check - Is Home Folder - -
7is_attachments_folder - Check - Is Attachments Folder - -
8file_size - Int - File Size - -
9column_break_5 - Column Break - - -
10file_url - Small Text - File URL - -
11thumbnail_url - Small Text - Thumbnail URL - -
12folder - Link - Folder - - - - - - -File - - - -
13is_folder - Check - Is Folder - -
14section_break_8 - Section Break - - -
15attached_to_doctype - Link - Attached To DocType - - - - - - -DocType - - - -
16column_break_10 - Column Break - - -
17attached_to_name - Data - Attached To Name - -
18content_hash - Data - Content Hash - -
19lft - Int - lft - -
20rgt - Int - rgt - -
21old_parent - Data - old_parent - -
- - -
-

Controller

-

frappe.core.doctype.file.file

- - - - - - - -

Class File

- -

Inherits from frappe.utils.nestedset.NestedSet - -

-
-
- - - - -

- - - after_delete - (self) -

-

No docs

-
-
- - - - - -

- - - after_insert - (self) -

-

No docs

-
-
- - - - - -

- - - after_rename - (self, olddn, newdn, merge=False) -

-

No docs

-
-
- - - - - -

- - - before_insert - (self) -

-

No docs

-
-
- - - - - -

- - - check_folder_is_empty - (self) -

-

Throw exception if folder is not empty

-
-
- - - - - -

- - - check_reference_doc_permission - (self) -

-

Check if permission exists for reference document

-
-
- - - - - -

- - - delete_file - (self) -

-

If file not attached to any other record, delete it

-
-
- - - - - -

- - - generate_content_hash - (self) -

-

No docs

-
-
- - - - - -

- - - get_folder_size - (self, folder=None) -

-

Returns folder size for current folder

-
-
- - - - - -

- - - get_name_based_on_parent_folder - (self) -

-

No docs

-
-
- - - - - -

- - - get_successor - (self) -

-

No docs

-
-
- - - - - -

- - - make_thumbnail - (self) -

-

No docs

-
-
- - - - - -

- - - on_rollback - (self) -

-

No docs

-
-
- - - - - -

- - - on_trash - (self) -

-

No docs

-
-
- - - - - -

- - - set_folder_name - (self) -

-

Make parent folders if not exists based on reference doctype and name

-
-
- - - - - -

- - - set_folder_size - (self) -

-

Set folder size if folder

-
-
- - - - - -

- - - set_name - (self) -

-

Set name for folder

-
-
- - - - - -

- - - update_parent_folder_size - (self) -

-

Update size of parent folder

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - - - - -

- - - validate_duplicate_entry - (self) -

-

No docs

-
-
- - - - - -

- - - validate_file - (self) -

-

Validates existence of public file -TODO: validate for private file

-
-
- - - - - -

- - - validate_folder - (self) -

-

No docs

-
-
- - -
-
- - - - - -

Class FolderNotEmpty

- -

Inherits from frappe.exceptions.ValidationError - -

-
-
- -
-
- - - - - - - -

- - - frappe.core.doctype.file.file.check_file_permission - (file_url) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.file.file.create_new_folder -

-

- - - frappe.core.doctype.file.file.create_new_folder - (file_name, folder) -

-

create new folder under current parent folder

-
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.file.file.get_breadcrumbs -

-

- - - frappe.core.doctype.file.file.get_breadcrumbs - (folder) -

-

returns name, file_name of parent folder

-
-
- - - - - - - -

- - - frappe.core.doctype.file.file.get_extension - (filename, extn, content) -

-

No docs

-
-
- - - - - - - -

- - - frappe.core.doctype.file.file.get_local_image - (file_url) -

-

No docs

-
-
- - - - - - - -

- - - frappe.core.doctype.file.file.get_web_image - (file_url) -

-

No docs

-
-
- - - - - - - -

- - - frappe.core.doctype.file.file.make_home_folder - () -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.file.file.move_file -

-

- - - frappe.core.doctype.file.file.move_file - (file_list, new_parent, old_parent) -

-

No docs

-
-
- - - - - - - -

- - - frappe.core.doctype.file.file.on_doctype_update - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.core.doctype.file.file.setup_folder_path - (filename, new_parent) -

-

No docs

-
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/index.html b/frappe/docs/current/models/core/index.html deleted file mode 100644 index d09bf76e79..0000000000 --- a/frappe/docs/current/models/core/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

DocTypes for core

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/index.txt b/frappe/docs/current/models/core/index.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/frappe/docs/current/models/core/module_def.html b/frappe/docs/current/models/core/module_def.html deleted file mode 100644 index 9c5251120b..0000000000 --- a/frappe/docs/current/models/core/module_def.html +++ /dev/null @@ -1,183 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabModule Def

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1module_name - Data - Module Name - -
2app_name - Data - App Name - -
- - -
-

Controller

-

frappe.core.doctype.module_def.module_def

- - - - - - - -

Class ModuleDef

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - add_to_modules_txt - (self) -

-

Adds to [app]/modules.txt

-
-
- - - - - -

- - - create_modules_folder - (self) -

-

Creates a folder [app]/[module] and adds __init__.py

-
-
- - - - - -

- - - on_update - (self) -

-

If in developer_mode, create folder for module and -add in modules.txt of app if missing.

-
-
- - -
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/page.html b/frappe/docs/current/models/core/page.html deleted file mode 100644 index a2dbaba2f9..0000000000 --- a/frappe/docs/current/models/core/page.html +++ /dev/null @@ -1,292 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabPage

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1page_html - Section Break - Page HTML - -
2page_name - Data - Page Name - -
3title - Data - Title - -
4icon - Data - icon - -
5column_break0 - Column Break - - -
6module - Link - Module - - - - - - -Module Def - - - -
7standard - Select - Standard - - -
-Yes
-No
-
8section_break0 - Section Break - - -
9roles - Table - Roles - - - - - - -Page Role - - - -
- - -
-

Controller

-

frappe.core.doctype.page.page

- - - - - - - -

Class Page

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - as_dict - (self, no_nulls=False) -

-

No docs

-
-
- - - - - -

- - - autoname - (self) -

-

Creates a url friendly name for this page. -Will restrict the name to 30 characters, if there exists a similar name, -it will add name-1, name-2 etc.

-
-
- - - - - -

- - - is_permitted - (self) -

-

Returns true if Page Role is not set or the user is allowed.

-
-
- - - - - -

- - - load_assets - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

Writes the .txt for this page and if write_content is checked, -it will write out a .html file

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/page_role.html b/frappe/docs/current/models/core/page_role.html deleted file mode 100644 index bbf9c55f37..0000000000 --- a/frappe/docs/current/models/core/page_role.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabPage Role

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1role - Link - Role - - - - - - -Role - - - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/patch_log.html b/frappe/docs/current/models/core/patch_log.html deleted file mode 100644 index 3785e4577a..0000000000 --- a/frappe/docs/current/models/core/patch_log.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabPatch Log

- - -List of patches executed - -

Fields

- - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1patch - Small Text - Patch - -
- - -
-

Controller

-

frappe.core.doctype.patch_log.patch_log

- - - - - - - -

Class PatchLog

- -

Inherits from frappe.model.document.Document - -

-
-
- -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/report.html b/frappe/docs/current/models/core/report.html deleted file mode 100644 index 98c3a19b8d..0000000000 --- a/frappe/docs/current/models/core/report.html +++ /dev/null @@ -1,327 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabReport

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1report_name - Data - Report Name - -
2ref_doctype - Link - Ref DocType - - - - - - -DocType - - - -
3is_standard - Select - Is Standard - - -
No
-Yes
-
4module - Link - Module - - - - - - -Module Def - - - -
5add_total_row - Check - Add Total Row - -
6column_break_4 - Column Break - - -
7report_type - Select - Report Type - - -
Report Builder
-Query Report
-Script Report
-
8disabled - Check - Disabled - -
9apply_user_permissions - Check - Apply User Permissions - -
10section_break_6 - Section Break - - -
11query - Code - Query - -
12javascript - Code - Javascript -

- JavaScript Format: frappe.query_reports['REPORTNAME'] = {}

-
13json - Text - JSON - -
- - -
-

Controller

-

frappe.core.doctype.report.report

- - - - - - - -

Class Report

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - create_report_py - (self) -

-

No docs

-
-
- - - - - -

- - - export_doc - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - toggle_disable - (self, disable) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

only administrator can save standard report

-
-
- - -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/role.html b/frappe/docs/current/models/core/role.html deleted file mode 100644 index e38376bb74..0000000000 --- a/frappe/docs/current/models/core/role.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabRole

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1role_name - Data - Role Name - -
- - -
-

Controller

-

frappe.core.doctype.role.role

- - - - - - - -

Class Role

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - after_insert - (self) -

-

No docs

-
-
- - - - - -

- - - before_rename - (self, old, new, merge=False) -

-

No docs

-
-
- - -
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/scheduler_log.html b/frappe/docs/current/models/core/scheduler_log.html deleted file mode 100644 index 1bb00ef704..0000000000 --- a/frappe/docs/current/models/core/scheduler_log.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabScheduler Log

- - -Log of Scheduler Errors - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1seen - Check - Seen - -
2method - Data - Method - -
3error - Text - Error - -
- - -
-

Controller

-

frappe.core.doctype.scheduler_log.scheduler_log

- - - - - - - -

Class SchedulerLog

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - onload - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.core.doctype.scheduler_log.scheduler_log.set_old_logs_as_seen - () -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/system_settings.html b/frappe/docs/current/models/core/system_settings.html deleted file mode 100644 index 106f058406..0000000000 --- a/frappe/docs/current/models/core/system_settings.html +++ /dev/null @@ -1,391 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- -Single - - - - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1localization - Section Break - - -
2language - Select - Language - - -
Loading...
-
3column_break_3 - Column Break - - -
4time_zone - Select - Time Zone - -
5date_and_number_format - Section Break - - -
6date_format - Select - Date Format - - -
yyyy-mm-dd
-dd-mm-yyyy
-dd/mm/yyyy
-dd.mm.yyyy
-mm/dd/yyyy
-mm-dd-yyyy
-
7column_break_7 - Column Break - - -
8number_format - Select - Number Format - - -
#,###.##
-#.###,##
-# ###.##
-# ###,##
-#'###.##
-#, ###.##
-#,##,###.##
-#,###.###
-#.###
-#,###
-
9float_precision - Select - Float Precision - - -
-2
-3
-4
-5
-6
-
10security - Section Break - Security - -
11session_expiry - Data - Session Expiry -

- Session Expiry in Hours e.g. 06:00

-
12session_expiry_mobile - Data - Session Expiry Mobile -

- In Hours

-
13column_break_13 - Column Break - - -
14enable_scheduler - Check - Enable Scheduled Jobs -

- Run scheduled jobs only if checked

-
15scheduler_last_event - Data - Scheduler Last Event - -
16ignore_user_permissions_if_missing - Check - Ignore User Permissions If Missing -

- eg. If Apply User Permissions is checked for Report DocType but no User Permissions are defined for Report for a User, then all Reports are shown to that User

-
17email - Section Break - EMail - -
18email_footer_address - Small Text - Email Footer Address -

- Your organization name and address for the email footer.

-
19column_break_18 - Column Break - - -
20disable_standard_email_footer - Check - Disable Standard Email Footer - -
- - -
-

Controller

-

frappe.core.doctype.system_settings.system_settings

- - - - - - - -

Class SystemSettings

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.system_settings.system_settings.load -

-

- - - frappe.core.doctype.system_settings.system_settings.load - () -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/user.html b/frappe/docs/current/models/core/user.html deleted file mode 100644 index a74b436399..0000000000 --- a/frappe/docs/current/models/core/user.html +++ /dev/null @@ -1,1628 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabUser

- - -Represents a User in the system. - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1sb0_5 - Section Break - - -
2enabled - Check - Enabled - -
3section_break_3 - Section Break - - -
4email - Data - Email - - -
Email
-
5first_name - Data - First Name - -
6middle_name - Data - Middle Name (Optional) - -
7last_name - Data - Last Name - -
8username - Data - Username - -
9send_welcome_email - Check - Send Welcome Email - -
10unsubscribed - Check - Unsubscribed - -
11column_break0 - Column Break - - -
12language - Select - Language - - -
Loading...
-
13time_zone - Select - Timezone - -
14user_image - Attach Image - User Image -

- Get your globally recognized avatar from Gravatar.com

-
15short_bio - Section Break - More Information - -
16gender - Select - Gender - - -
-Male
-Female
-Other
-
17birth_date - Date - Birth Date - -
18location - Data - Location - -
19column_break_22 - Column Break - - -
20bio - Small Text - Bio - -
21mute_sounds - Check - Mute Sounds - -
22change_password - Section Break - Change Password - -
23new_password - Password - Set New Password - -
24send_password_update_notification - Check - Send Password Update Notification - -
25reset_password_key - Data - Reset Password Key - -
26email_settings - Section Break - Email Settings - -
27thread_notify - Check - Send Notifications for Transactions I Follow - -
28email_signature - Small Text - Email Signature - -
29background - Section Break - Desktop Background - -
30background_image - Attach - Background Image - -
31background_style - Select - Background Style - - -
Fill Screen
-Tile
-
32sb1 - Section Break - Roles -

- Check / Uncheck roles assigned to the User. Click on the Role to find out what permissions that Role has.

-
33roles_html - HTML - Roles HTML - -
34user_roles - Table - Roles Assigned - - - - - - -UserRole - - - -
35modules_access - Section Break - Modules Access -

- Uncheck modules to hide from user's desktop

-
36modules_html - HTML - Modules HTML - -
37block_modules - Table - Block Modules - - - - - - -Block Module - - - -
38sb2 - Section Break - Defaults -

- These values will be automatically updated in transactions and also will be useful to restrict permissions for this user on transactions containing these values.

-
39defaults - Table - User Defaults -

- Enter default value fields (keys) and values. If you add multiple values for a field, the first one will be picked. These defaults are also used to set "match" permission rules. To see list of fields, go to "Customize Form".

-
- - - - -DefaultValue - - - -
40sb3 - Section Break - Security Settings - -
41user_type - Select - User Type -

- User Type "System User" can access Desktop. "Website User" can only be logged into the website and portal pages.

-
-
System User
-Website User
-
42login_after - Int - Login After -

- Allow user to login only after this hour (0-24)

-
43login_before - Int - Login Before -

- Allow user to login only before this hour (0-24)

-
44restrict_ip - Data - Restrict IP -

- Restrict user from this IP address only. Multiple IP addresses can be added by separating with commas. Also accepts partial IP addresses like (111.111.111)

-
45column_break1 - Column Break - - -
46last_login - Read Only - Last Login - -
47last_ip - Read Only - Last IP - -
48last_active - Datetime - Last Active - -
49last_known_versions - Text - Last Known Versions -

- Stores the JSON of last known versions of various installed apps. It is used to show release notes.

-
50third_party_authentication - Section Break - Third Party Authentication - -
51fb_username - Data - Facebook Username - -
52fb_userid - Data - Facebook User ID - -
53google_userid - Data - Google User ID - -
54column_break_49 - Column Break - - -
55github_userid - Data - Github User ID - -
56github_username - Data - Github Username - -
- - -
-

Controller

-

frappe.core.doctype.user.user

- - - - - - - -

Class User

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - a_system_manager_should_exist - (self) -

-

No docs

-
-
- - - - - -

- - - add_roles - (self) -

-

Add roles to user and save

-
-
- - - - - -

- - - add_system_manager_role - (self) -

-

No docs

-
-
- - - - - -

- - - after_rename - (self, olddn, newdn, merge=False) -

-

No docs

-
-
- - - - - -

- - - append_roles - (self) -

-

Add roles to user

-
-
- - - - - -

- - - autoname - (self) -

-

set name as email id

-
-
- - - - - -

- - - before_rename - (self, olddn, newdn, merge=False) -

-

No docs

-
-
- - - - - -

- - - check_enable_disable - (self) -

-

No docs

-
-
- - - - - -

- - - email_new_password - (self, new_password=None) -

-

No docs

-
-
- - - - - -

- - - ensure_unique_roles - (self) -

-

No docs

-
-
- - - - - -

- - - get_fullname - (self) -

-

get firstname space lastname

-
-
- - - - - -

- - - get_other_system_managers - (self) -

-

No docs

-
-
- - - - - -

- - - on_trash - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - password_reset_mail - (self, link) -

-

No docs

-
-
- - - - - -

- - - password_update_mail - (self, password) -

-

No docs

-
-
- - - - - -

- - - remove_all_roles_for_guest - (self) -

-

No docs

-
-
- - - - - -

- - - remove_roles - (self) -

-

No docs

-
-
- - - - - -

- - - reset_password - (self) -

-

No docs

-
-
- - - - - -

- - - send_login_mail - (self, subject, template, add_args) -

-

send mail with login details

-
-
- - - - - -

- - - send_password_notification - (self, new_password) -

-

No docs

-
-
- - - - - -

- - - send_welcome_mail_to_user - (self) -

-

No docs

-
-
- - - - - -

- - - share_with_self - (self) -

-

No docs

-
-
- - - - - -

- - - suggest_username - (self) -

-

No docs

-
-
- - - - - -

- - - update_gravatar - (self) -

-

No docs

-
-
- - - - - -

- - - username_exists - (self, username=None) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - - - - -

- - - validate_email_type - (self, email) -

-

No docs

-
-
- - - - - -

- - - validate_rename - (self, olddn, newdn) -

-

No docs

-
-
- - - - - -

- - - validate_share - (self, docshare) -

-

No docs

-
-
- - - - - -

- - - validate_system_manager_user_type - (self) -

-

No docs

-
-
- - - - - -

- - - validate_username - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.core.doctype.user.user.extract_mentions - (txt) -

-

Find all instances of @username in the string. -The mentions will be separated by non-word characters or may appear at the start of the string

-
-
- - - - - - - -

- - - frappe.core.doctype.user.user.get_active_users - () -

-

Returns No. of system users who logged in, in the last 3 days

-
-
- - - - - - - -

- - - frappe.core.doctype.user.user.get_active_website_users - () -

-

Returns No. of website users who logged in, in the last 3 days

-
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.user.user.get_all_roles -

-

- - - frappe.core.doctype.user.user.get_all_roles - (arg=None) -

-

return all roles

-
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.user.user.get_languages -

-

- - - frappe.core.doctype.user.user.get_languages - () -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.user.user.get_perm_info -

-

- - - frappe.core.doctype.user.user.get_perm_info - (arg=None) -

-

get permission info

-
-
- - - - - - - -

- - - frappe.core.doctype.user.user.get_permission_query_conditions - (user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.core.doctype.user.user.get_system_users - (exclude_users=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.core.doctype.user.user.get_total_users - (exclude_users=None) -

-

Returns total no. of system users

-
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.user.user.get_user_roles -

-

- - - frappe.core.doctype.user.user.get_user_roles - (arg=None) -

-

get roles for a user

-
-
- - - - - - - -

- - - frappe.core.doctype.user.user.get_website_users - () -

-

Returns total no. of website users

-
-
- - - - - - - -

- - - frappe.core.doctype.user.user.has_permission - (doc, user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.core.doctype.user.user.notifify_admin_access_to_system_manager - (login_manager=None) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.user.user.reset_password -

-

- - - frappe.core.doctype.user.user.reset_password - (user) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.user.user.sign_up -

-

- - - frappe.core.doctype.user.user.sign_up - (email, full_name) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.user.user.update_password -

-

- - - frappe.core.doctype.user.user.update_password - (new_password, key=None, old_password=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.core.doctype.user.user.user_query - (doctype, txt, searchfield, start, page_len, filters) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.user.user.verify_password -

-

- - - frappe.core.doctype.user.user.verify_password - (password) -

-

No docs

-
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/userrole.html b/frappe/docs/current/models/core/userrole.html deleted file mode 100644 index 4d18ca8625..0000000000 --- a/frappe/docs/current/models/core/userrole.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabUserRole

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1role - Link - Role - - - - - - -Role - - - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/core/version.html b/frappe/docs/current/models/core/version.html deleted file mode 100644 index 23d70fa1a2..0000000000 --- a/frappe/docs/current/models/core/version.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabVersion

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1ref_doctype - Link - Ref DocType - - - - - - -DocType - - - -
2docname - Data - Docname - -
3doclist_json - Code - Doclist JSON - -
- - -
-

Controller

-

frappe.core.doctype.version.version

- - - - - - - -

Class Version

- -

Inherits from frappe.model.document.Document - -

-
-
- -
-
- - - - - - -

Public API -
/api/method/frappe.core.doctype.version.version.restore -

-

- - - frappe.core.doctype.version.version.restore - (version) -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/custom/custom_field.html b/frappe/docs/current/models/custom/custom_field.html deleted file mode 100644 index 3eb69d2ded..0000000000 --- a/frappe/docs/current/models/custom/custom_field.html +++ /dev/null @@ -1,669 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabCustom Field

- - -Adds a custom field to a DocType - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1dt - Link - Document - - - - - - -DocType - - - -
2label - Data - Label - -
3label_help - HTML - Label Help - -
4fieldname - Data - Fieldname - -
5insert_after - Select - Insert After -

- Select the label after which you want to insert new field.

-
6column_break_6 - Column Break - - -
7fieldtype - Select - Field Type - - -
Attach
-Attach Image
-Button
-Check
-Code
-Column Break
-Currency
-Data
-Date
-Datetime
-Dynamic Link
-Float
-HTML
-Image
-Int
-Link
-Long Text
-Password
-Percent
-Read Only
-Section Break
-Select
-Small Text
-Table
-Text
-Text Editor
-Time
-
8precision - Select - Precision -

- Set non-standard precision for a Float or Currency field

-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-
9options - Text - Options - -
10options_help - HTML - Options Help - -
11section_break_11 - Section Break - - -
12collapsible - Check - Collapsible - -
13collapsible_depends_on - Data - Collapsible Depends On - -
14default - Text - Default Value - -
15depends_on - Small Text - Depends On - -
16description - Text - Field Description - -
17permlevel - Int - Permission Level - -
18width - Data - Width - -
19properties - Column Break - - -
20reqd - Check - Is Mandatory Field - -
21unique - Check - Unique - -
22read_only - Check - Read Only - -
23ignore_user_permissions - Check - Ignore User Permissions - -
24hidden - Check - Hidden - -
25print_hide - Check - Print Hide - -
26print_hide_if_no_value - Check - Print Hide If No Value - -
27print_width - Data - Print Width - -
28no_copy - Check - No Copy - -
29allow_on_submit - Check - Allow on Submit - -
30in_filter - Check - In Report Filter - -
31in_list_view - Check - In List View - -
32report_hide - Check - Report Hide - -
33search_index - Check - Index - -
- - -
-

Controller

-

frappe.custom.doctype.custom_field.custom_field

- - - - - - - -

Class CustomField

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - autoname - (self) -

-

No docs

-
-
- - - - - -

- - - on_trash - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - set_fieldname - (self) -

-

No docs

-
-
- - - - - -

- - - set_property_setter_for_idx - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - - - - -

- - - validate_insert_after - (self, meta) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.custom.doctype.custom_field.custom_field.create_custom_field - (doctype, df) -

-

No docs

-
-
- - - - - - - -

- - - frappe.custom.doctype.custom_field.custom_field.create_custom_field_if_values_exist - (doctype, df) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.custom.doctype.custom_field.custom_field.get_fields_label -

-

- - - frappe.custom.doctype.custom_field.custom_field.get_fields_label - (doctype=None) -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/custom/custom_script.html b/frappe/docs/current/models/custom/custom_script.html deleted file mode 100644 index 4726e71823..0000000000 --- a/frappe/docs/current/models/custom/custom_script.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabCustom Script

- - -Adds a custom script (client or server) to a DocType - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1dt - Link - DocType - - - - - - -DocType - - - -
2script_type - Select - Script Type - - -
Client
-
3script - Code - Script - - -
Script
-
4sample - HTML - Sample - -
- - -
-

Controller

-

frappe.custom.doctype.custom_script.custom_script

- - - - - - - -

Class CustomScript

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - autoname - (self) -

-

No docs

-
-
- - - - - -

- - - on_trash - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/custom/customize_form.html b/frappe/docs/current/models/custom/customize_form.html deleted file mode 100644 index 8a88c8a0dc..0000000000 --- a/frappe/docs/current/models/custom/customize_form.html +++ /dev/null @@ -1,484 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- -Single - - - - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1doc_type - Link - Enter Form Type - - - - - - -DocType - - - -
2properties - Section Break - - -
3default_print_format - Link - Default Print Format - - - - - - -Print Format - - - -
4max_attachments - Int - Max Attachments - -
5allow_copy - Check - Hide Copy - -
6column_break_5 - Column Break - - -
7title_field - Data - Title Field -

- Use this fieldname to generate title

-
8search_fields - Data - Search Fields -

- Fields separated by comma (,) will be included in the "Search By" list of Search dialog box

-
9section_break_8 - Section Break - - -
10sort_field - Select - Sort Field - -
11column_break_10 - Column Break - - -
12sort_order - Select - Sort Order - - -
ASC
-DESC
-
13fields_section_break - Section Break - Fields -

- Customize Label, Print Hide, Default etc.

-
14fields - Table - Fields - - - - - - -Customize Form Field - - - -
- - -
-

Controller

-

frappe.custom.doctype.customize_form.customize_form

- - - - - - - -

Class CustomizeForm

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - add_custom_field - (self, df) -

-

No docs

-
-
- - - - - -

- - - clear_existing_doc - (self) -

-

No docs

-
-
- - - - - -

- - - delete_custom_fields - (self) -

-

No docs

-
-
- - - - - -

- - - delete_existing_property_setter - (self, property, fieldname=None) -

-

No docs

-
-
- - - - - -

- - - fetch_to_customize - (self) -

-

No docs

-
-
- - - - - -

- - - get_existing_property_value - (self, property_name, fieldname=None) -

-

No docs

-
-
- - - - - -

- - - make_property_setter - (self, property, value, property_type, fieldname=None) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - reset_to_defaults - (self) -

-

No docs

-
-
- - - - - -

- - - save_customization - (self) -

-

No docs

-
-
- - - - - -

- - - set_idx_property_setter - (self) -

-

No docs

-
-
- - - - - -

- - - set_property_setters - (self) -

-

No docs

-
-
- - - - - -

- - - update_custom_fields - (self) -

-

No docs

-
-
- - - - - -

- - - update_in_custom_field - (self, df) -

-

No docs

-
-
- - - - - -

- - - validate_fieldtype_change - (self, df, old_value, new_value) -

-

No docs

-
-
- - -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/custom/customize_form_field.html b/frappe/docs/current/models/custom/customize_form_field.html deleted file mode 100644 index 1dae6bcfdd..0000000000 --- a/frappe/docs/current/models/custom/customize_form_field.html +++ /dev/null @@ -1,496 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabCustomize Form Field

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1label_and_type - Section Break - Label and Type - -
2label - Data - Label - -
3fieldtype - Select - Type - - -
Attach
-Attach Image
-Button
-Check
-Code
-Column Break
-Currency
-Data
-Date
-Datetime
-Dynamic Link
-Float
-Fold
-Heading
-HTML
-Image
-Int
-Link
-Long Text
-Password
-Percent
-Read Only
-Section Break
-Select
-Small Text
-Table
-Text
-Text Editor
-Time
-
4fieldname - Data - Name - -
5reqd - Check - Mandatory - -
6unique - Check - Unique - -
7in_list_view - Check - In List View - -
8column_break_7 - Column Break - - -
9precision - Select - Precision -

- Set non-standard precision for a Float or Currency field

-
-
-1
-2
-3
-4
-5
-6
-7
-8
-9
-
10length - Int - Length - -
11options - Text - Options -

- For Links, enter the DocType as range. -For Select, enter list of Options, each on a new line.

-
12permissions - Section Break - Permissions - -
13depends_on - Data - Depends On -

- This field will appear only if the fieldname defined here has value OR the rules are true (examples): -myfield -eval:doc.myfield=='My Value' -eval:doc.age>18

-
14permlevel - Int - Perm Level - -
15hidden - Check - Hidden - -
16read_only - Check - Read Only - -
17collapsible - Check - Collapsible - -
18collapsible_depends_on - Data - Collapsible Depends On - -
19column_break_14 - Column Break - - -
20ignore_user_permissions - Check - Ignore User Permissions - -
21allow_on_submit - Check - Allow on Submit - -
22report_hide - Check - Report Hide - -
23display - Section Break - Display - -
24default - Text - Default - -
25in_filter - Check - In Filter - -
26column_break_21 - Column Break - - -
27description - Text - Description - -
28print_hide - Check - Print Hide - -
29print_hide_if_no_value - Check - Print Hide If No Value - -
30print_width - Data - Print Width -

- Print Width of the field, if the field is a column in a table

-
31width - Data - Width - -
32is_custom_field - Check - Is Custom Field - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/custom/index.html b/frappe/docs/current/models/custom/index.html deleted file mode 100644 index f439166e78..0000000000 --- a/frappe/docs/current/models/custom/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

DocTypes for custom

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/models/custom/index.txt b/frappe/docs/current/models/custom/index.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/frappe/docs/current/models/custom/property_setter.html b/frappe/docs/current/models/custom/property_setter.html deleted file mode 100644 index e704d53dfc..0000000000 --- a/frappe/docs/current/models/custom/property_setter.html +++ /dev/null @@ -1,324 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabProperty Setter

- - -Property Setter overrides a standard DocType or Field property - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1help - HTML - Help - -
2sb0 - Section Break - - -
3doctype_or_field - Select - DocType or Field - - -
-DocField
-DocType
-
4value - Text - Set Value -

- New value to be set

-
5column_break0 - Column Break - - -
6doc_type - Link - DocType - - - - - - -DocType - - - -
7field_name - Data - Field Name -

- ID (name) of the entity whose property is to be set

-
8property - Data - Property - -
9property_type - Data - Property Type - -
10default_value - Data - Default Value - -
- - -
-

Controller

-

frappe.custom.doctype.property_setter.property_setter

- - - - - - - -

Class PropertySetter

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - autoname - (self) -

-

No docs

-
-
- - - - - -

- - - get_defaults - (self) -

-

No docs

-
-
- - - - - -

- - - get_field_ids - (self) -

-

No docs

-
-
- - - - - -

- - - get_property_list - (self, dt) -

-

No docs

-
-
- - - - - -

- - - get_setup_data - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

delete other property setters on this, if this is new

-
-
- - -
-
- - - - - - - -

- - - frappe.custom.doctype.property_setter.property_setter.make_property_setter - (doctype, fieldname, property, value, property_type, for_doctype=False, validate_fields_for_doctype=True) -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/desk/event.html b/frappe/docs/current/models/desk/event.html deleted file mode 100644 index 57428d8f78..0000000000 --- a/frappe/docs/current/models/desk/event.html +++ /dev/null @@ -1,536 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabEvent

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1details - Section Break - - -
2subject - Data - Subject - -
3event_type - Select - Event Type - - -
Private
-Public
-Cancel
-
4send_reminder - Check - Send an email reminder in the morning - -
5column_break_4 - Column Break - - -
6starts_on - Datetime - Starts on - -
7ends_on - Datetime - Ends on - -
8all_day - Check - All Day - -
9section_break_8 - Section Break - - -
10repeat_this_event - Check - Repeat this Event - -
11section_break_11 - Section Break - - -
12repeat_on - Select - Repeat On - - -
-Every Day
-Every Week
-Every Month
-Every Year
-
13repeat_till - Date - Repeat Till -

- Leave blank to repeat always

-
14column_break_11 - Column Break - - -
15monday - Check - Monday - -
16tuesday - Check - Tuesday - -
17wednesday - Check - Wednesday - -
18thursday - Check - Thursday - -
19friday - Check - Friday - -
20saturday - Check - Saturday - -
21sunday - Check - Sunday - -
22section_break_6 - Section Break - - -
23description - Text Editor - Description - -
24participants - Section Break - Participants - -
25groups - Column Break - Groups - -
26roles - Table - Roles - - - - - - -Event Role - - - -
27ref_type - Link - Ref Type - - - - - - -DocType - - - -
28ref_name - Dynamic Link - Ref Name - - -
ref_type
-
- - -
-

Controller

-

frappe.desk.doctype.event.event

- - - - - - - -

Class Event

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - get_route - (self) -

-

for test-case

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - -

Public API -
/api/method/frappe.desk.doctype.event.event.get_events -

-

- - - frappe.desk.doctype.event.event.get_events - (start, end, user=None, for_reminder=False) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.doctype.event.event.get_permission_query_conditions - (user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.doctype.event.event.has_permission - (doc, user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.doctype.event.event.send_event_digest - () -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/desk/event_role.html b/frappe/docs/current/models/desk/event_role.html deleted file mode 100644 index 78d0814dda..0000000000 --- a/frappe/docs/current/models/desk/event_role.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabEvent Role

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1role - Link - Role - - - - - - -Role - - - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/desk/feed.html b/frappe/docs/current/models/desk/feed.html deleted file mode 100644 index 1c834c4268..0000000000 --- a/frappe/docs/current/models/desk/feed.html +++ /dev/null @@ -1,297 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabFeed

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1feed_type - Select - Feed Type - - -
-Comment
-Login
-Label
-Info
-Like
-
2doc_type - Data - Doc Type - -
3doc_name - Data - Doc Name - -
4subject - Small Text - Subject - -
5color - Data - Color - -
6full_name - Data - Full Name - -
7doc_owner - Data - Doc Owner - -
8seen - Check - Seen - -
9reference_doctype - Data - Reference DocType -

- Use this to provide alternative link to a feed record

-
10reference_name - Data - Reference Name - -
- - -
-

Controller

-

frappe.desk.doctype.feed.feed

- - - - - - - -

Class Feed

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.desk.doctype.feed.feed.get_permission_query_conditions - (user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.doctype.feed.feed.has_permission - (doc, user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.doctype.feed.feed.login_feed - (login_manager) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.doctype.feed.feed.on_doctype_update - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.doctype.feed.feed.update_feed - (doc, method=None) -

-

adds a new feed

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/desk/index.html b/frappe/docs/current/models/desk/index.html deleted file mode 100644 index 1be2dcca6f..0000000000 --- a/frappe/docs/current/models/desk/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

DocTypes for desk

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/models/desk/index.txt b/frappe/docs/current/models/desk/index.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/frappe/docs/current/models/desk/note.html b/frappe/docs/current/models/desk/note.html deleted file mode 100644 index 2bedbdcbb4..0000000000 --- a/frappe/docs/current/models/desk/note.html +++ /dev/null @@ -1,173 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabNote

- - -Note is a free page where users can share documents / notes - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1title - Data - Title - -
2public - Check - Public -

- Everyone can read

-
3content - Text Editor - Content -

- Help: To link to another record in the system, use "#Form/Note/[Note Name]" as the Link URL. (don't use "http://")

-
- - -
-

Controller

-

frappe.desk.doctype.note.note

- - - - - - - -

Class Note

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - autoname - (self) -

-

No docs

-
-
- - - - - -

- - - before_print - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.desk.doctype.note.note.get_permission_query_conditions - (user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.doctype.note.note.has_permission - (doc, ptype, user) -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/desk/todo.html b/frappe/docs/current/models/desk/todo.html deleted file mode 100644 index 84de14cb09..0000000000 --- a/frappe/docs/current/models/desk/todo.html +++ /dev/null @@ -1,406 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabToDo

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1description_and_status - Section Break - Description and Status - -
2description - Text - Description - -
3column_break_2 - Column Break - - -
4status - Select - Status - - -
Open
-Closed
-
5priority - Select - Priority - - -
High
-Medium
-Low
-
6date - Date - Due Date - -
7owner - Link - Allocated To - - - - - - -User - - - -
8section_break_6 - Section Break - Reference - -
9reference_type - Link - Reference Type - - - - - - -DocType - - - -
10reference_name - Dynamic Link - Reference Name - - -
reference_type
-
11column_break_10 - Column Break - - -
12role - Link - Role - - - - - - -Role - - - -
13assigned_by - Link - Assigned By - - - - - - -User - - - -
14sender - Data - Sender - -
- - -
-

Controller

-

frappe.desk.doctype.todo.todo

- - - - - - - -

Class ToDo

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - add_assign_comment - (self, text, comment_type) -

-

No docs

-
-
- - - - - -

- - - on_trash - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - update_in_reference - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.desk.doctype.todo.todo.get_permission_query_conditions - (user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.doctype.todo.todo.has_permission - (doc, user) -

-

No docs

-
-
- - - - - - - -

- - - frappe.desk.doctype.todo.todo.on_doctype_update - () -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/doctype/index.html b/frappe/docs/current/models/doctype/index.html deleted file mode 100644 index 0f09fc8a53..0000000000 --- a/frappe/docs/current/models/doctype/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

DocTypes for doctype

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/models/doctype/index.txt b/frappe/docs/current/models/doctype/index.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/frappe/docs/current/models/email/bulk_email.html b/frappe/docs/current/models/email/bulk_email.html deleted file mode 100644 index ca1139a940..0000000000 --- a/frappe/docs/current/models/email/bulk_email.html +++ /dev/null @@ -1,217 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabBulk Email

- - -Bulk Email records. - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1sender - Data - Sender - -
2recipient - Data - Recipient - -
3message - Code - Message - -
4status - Select - Status - - -
-Not Sent
-Sending
-Sent
-Error
-Expired
-
5error - Text - Error - -
6reference_doctype - Link - Reference DocType - - - - - - -DocType - - - -
7reference_name - Data - Reference DocName - -
8send_after - Datetime - Send After - -
9priority - Int - Priority - -
- - -
-

Controller

-

frappe.email.doctype.bulk_email.bulk_email

- - - - - - - -

Class BulkEmail

- -

Inherits from frappe.model.document.Document - -

-
-
- -
-
- - - - - - -

Public API -
/api/method/frappe.email.doctype.bulk_email.bulk_email.retry_sending -

-

- - - frappe.email.doctype.bulk_email.bulk_email.retry_sending - (name) -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/email/email_account.html b/frappe/docs/current/models/email/email_account.html deleted file mode 100644 index 65100caf1a..0000000000 --- a/frappe/docs/current/models/email/email_account.html +++ /dev/null @@ -1,780 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabEmail Account

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1email_settings - Section Break - - -
2service - Select - Service - - -
-GMail
-Yahoo Mail
-Outlook.com
-Yandex.Mail
-
3email_id - Data - Email Id - - -
Email
-
4login_id_is_different - Check - Login Id is Different - -
5login_id - Data - Login Id - -
6password - Password - Password - -
7email_account_name - Data - Email Account Name -

- e.g. "Support", "Sales", "Jerry Yang"

-
8mailbox_settings - Section Break - - -
9enable_incoming - Check - Enable Incoming -

- Check this to pull emails from your mailbox

-
10use_imap - Check - Use IMAP - -
11email_server - Data - Email Server -

- e.g. pop.gmail.com / imap.gmail.com

-
12use_ssl - Check - Use SSL - -
13attachment_limit - Int - Attachment Limit (MB) -

- Ignore attachments over this size

-
14append_to - Link - Append To -

- Append as communication against this DocType (must have fields, "Status", "Subject")

-
- - - - -DocType - - - -
15default_incoming - Check - Default Incoming -

- e.g. replies@yourcomany.com. All replies will come to this inbox.

-
16section_break_13 - Section Break - - -
17notify_if_unreplied - Check - Notify if unreplied - -
18unreplied_for_mins - Int - Notify if unreplied for (in mins) - -
19send_notification_to - Small Text - Send Notification to -

- Email Ids

-
20outgoing_mail_settings - Section Break - - -
21enable_outgoing - Check - Enable Outgoing -

- SMTP Settings for outgoing emails

-
22smtp_server - Data - SMTP Server -

- e.g. smtp.gmail.com

-
23use_tls - Check - Use TLS - -
24smtp_port - Data - Port -

- If non standard port (e.g. 587)

-
25default_outgoing - Check - Default Outgoing -

- Notifications and bulk mails will be sent from this outgoing server.

-
26always_use_account_email_id_as_sender - Check - Always use Account's Email ID as Sender -

- Uses the Email ID mentioned in this Account as the Sender for all emails sent using this Account.

-
27signature_section - Section Break - - -
28add_signature - Check - Add Signature - -
29signature - Text Editor - Signature - -
30auto_reply - Section Break - - -
31enable_auto_reply - Check - Enable Auto Reply - -
32auto_reply_message - Text Editor - Auto Reply Message -

- ProTip: Add Reference: {{ reference_doctype }} {{ reference_name }} to send document reference

-
33set_footer - Section Break - - -
34footer - Text Editor - Footer - -
- - -
-

Controller

-

frappe.email.doctype.email_account.email_account

- - - - - - - -

Class EmailAccount

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - autoname - (self) -

-

Set name as email_account_name or make title from email id.

-
-
- - - - - -

- - - check_smtp - (self) -

-

Checks SMTP settings.

-
-
- - - - - -

- - - get_server - (self, in_receive=False) -

-

Returns logged in POP3 connection object.

-
-
- - - - - -

- - - get_unreplied_notification_emails - (self) -

-

Return list of emails listed

-
-
- - - - - -

- - - handle_incoming_connect_error - (self, description) -

-

No docs

-
-
- - - - - -

- - - insert_communication - (self, raw) -

-

No docs

-
-
- - - - - -

- - - on_trash - (self) -

-

Clear communications where email account is linked

-
-
- - - - - -

- - - on_update - (self) -

-

Check there is only one default of each type.

-
-
- - - - - -

- - - receive - (self, test_mails=None) -

-

Called by scheduler to receive emails from this EMail account using POP3/IMAP.

-
-
- - - - - -

- - - send_auto_reply - (self, communication, email) -

-

Send auto reply if set.

-
-
- - - - - -

- - - set_thread - (self, communication, email) -

-

Appends communication to parent based on thread ID. Will extract -parent communication and will link the communication to the reference of that -communication. Also set the status of parent transaction to Open or Replied.

- -

If no thread id is found and append_to is set for the email account, -it will create a new parent transaction (e.g. Issue)

-
-
- - - - - -

- - - there_must_be_only_one_default - (self) -

-

If current Email Account is default, un-default all other accounts.

-
-
- - - - - -

- - - validate - (self) -

-

Validate email id and check POP3/IMAP and SMTP connections is enabled.

-
-
- - -
-
- - - - - -

Class SentEmailInInbox

- -

Inherits from exceptions.Exception - -

-
-
- -
-
- - - - - - -

Public API -
/api/method/frappe.email.doctype.email_account.email_account.get_append_to -

-

- - - frappe.email.doctype.email_account.email_account.get_append_to - (doctype=None, txt=None, searchfield=None, start=None, page_len=None, filters=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.email.doctype.email_account.email_account.notify_unreplied - () -

-

Sends email notifications if there are unreplied Communications -and notify_if_unreplied is set as true.

-
-
- - - - - - - -

- - - frappe.email.doctype.email_account.email_account.pull - (now=False) -

-

Will be called via scheduler, pull emails from all enabled Email accounts.

-
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/email/email_alert.html b/frappe/docs/current/models/email/email_alert.html deleted file mode 100644 index 6714978136..0000000000 --- a/frappe/docs/current/models/email/email_alert.html +++ /dev/null @@ -1,387 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabEmail Alert

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1enabled - Check - Enabled - -
2filters - Section Break - Filters - -
3subject - Data - Subject -

- To add dynamic subject, use jinja tags like - -

{{ doc.name }} Delivered

-
4document_type - Link - Document Type - - - - - - -DocType - - - -
5event - Select - Send Alert On - - -
-New
-Save
-Submit
-Cancel
-Days After
-Days Before
-Value Change
-
6date_changed - Select - Reference Date -

- Send alert if date matches this field's value

-
7days_in_advance - Int - Days Before or After -

- Send days before or after the reference date

-
8value_changed - Select - Value Changed -

- Send alert if this field's value changes

-
9condition - Data - Condition -

- Optional: The alert will be sent if this expression is true

-
10column_break_6 - Column Break - - -
11html_7 - HTML - - -
12column_break_5 - Section Break - Recipients - -
13recipients - Table - Recipients - - - - - - -Email Alert Recipient - - - -
14message_sb - Section Break - Message - -
15message - Text - Message - -
16attach_print - Check - Attach Print - -
17message_examples - HTML - Message Examples - -
18view_properties - Button - View Properties (via Customize Form) - -
- - -
-

Controller

-

frappe.email.doctype.email_alert.email_alert

- - - - - - - -

Class EmailAlert

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.email.doctype.email_alert.email_alert.evaluate_alert - (doc, alert, event) -

-

No docs

-
-
- - - - - - - -

- - - frappe.email.doctype.email_alert.email_alert.trigger_daily_alerts - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.email.doctype.email_alert.email_alert.trigger_email_alerts - (doc, method=None) -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/email/email_alert_recipient.html b/frappe/docs/current/models/email/email_alert_recipient.html deleted file mode 100644 index 48927ab561..0000000000 --- a/frappe/docs/current/models/email/email_alert_recipient.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabEmail Alert Recipient

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1email_by_document_field - Select - Email By Document Field -

- Optional: Alert will only be sent if value is a valid email id.

-
2cc - Text - CC -

- Optional: Always send to these ids. Each email id on a new row

-
3condition - Data - Condition -

- Expression, Optional

-
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/email/email_unsubscribe.html b/frappe/docs/current/models/email/email_unsubscribe.html deleted file mode 100644 index f387811096..0000000000 --- a/frappe/docs/current/models/email/email_unsubscribe.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabEmail Unsubscribe

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1email - Data - Email - -
2reference_doctype - Link - Reference DocType - - - - - - -DocType - - - -
3reference_name - Dynamic Link - Reference Name - - -
reference_doctype
-
4global_unsubscribe - Check - Global Unsubscribe - -
- - -
-

Controller

-

frappe.email.doctype.email_unsubscribe.email_unsubscribe

- - - - - - - -

Class EmailUnsubscribe

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/email/index.html b/frappe/docs/current/models/email/index.html deleted file mode 100644 index 04fb8cf826..0000000000 --- a/frappe/docs/current/models/email/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

DocTypes for email

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/models/email/index.txt b/frappe/docs/current/models/email/index.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/frappe/docs/current/models/email/standard_reply.html b/frappe/docs/current/models/email/standard_reply.html deleted file mode 100644 index 6f7fbce293..0000000000 --- a/frappe/docs/current/models/email/standard_reply.html +++ /dev/null @@ -1,120 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabStandard Reply

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1subject - Data - Subject - -
2response - Text Editor - Response - -
3owner - Link - Owner - - - - - - -User - - - -
- - -
-

Controller

-

frappe.email.doctype.standard_reply.standard_reply

- - - - - - - -

Class StandardReply

- -

Inherits from frappe.model.document.Document - -

-
-
- -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/geo/country.html b/frappe/docs/current/models/geo/country.html deleted file mode 100644 index 0ef091e498..0000000000 --- a/frappe/docs/current/models/geo/country.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabCountry

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1country_name - Data - Country Name - -
2date_format - Data - Date Format - -
3time_zones - Text - Time Zones - -
4code - Data - Code - -
- - -
-

Controller

-

frappe.geo.doctype.country.country

- - - - - - - -

Class Country

- -

Inherits from frappe.model.document.Document - -

-
-
- -
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/geo/currency.html b/frappe/docs/current/models/geo/currency.html deleted file mode 100644 index 08e5a14d02..0000000000 --- a/frappe/docs/current/models/geo/currency.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabCurrency

- - -**Currency** Master - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1currency_name - Data - Currency Name - -
2enabled - Check - Enabled - -
3fraction - Data - Fraction -

- Sub-currency. For e.g. "Cent"

-
4fraction_units - Int - Fraction Units -

- 1 Currency = [?] Fraction -For e.g. 1 USD = 100 Cent

-
5smallest_currency_fraction_value - Currency - Smallest Currency Fraction Value -

- Smallest circulating fraction unit (coin). For e.g. 1 cent for USD and it should be entered as 0.01

-
6symbol - Data - Symbol -

- A symbol for this currency. For e.g. $

-
7number_format - Select - Number Format -

- How should this currency be formatted? If not set, will use system defaults

-
-
-#,###.##
-#.###,##
-# ###.##
-# ###,##
-#'###.##
-#, ###.##
-#,##,###.##
-#,###.###
-#.###
-#,###
-
- - -
-

Controller

-

frappe.geo.doctype.currency.currency

- - - - - - - -

Class Currency

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/geo/index.html b/frappe/docs/current/models/geo/index.html deleted file mode 100644 index 22ce50a13e..0000000000 --- a/frappe/docs/current/models/geo/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

DocTypes for geo

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/models/geo/index.txt b/frappe/docs/current/models/geo/index.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/frappe/docs/current/models/index.html b/frappe/docs/current/models/index.html deleted file mode 100644 index 549afa9dfb..0000000000 --- a/frappe/docs/current/models/index.html +++ /dev/null @@ -1,21 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

Browse DocTypes by Module

- -

Contents

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/models/index.txt b/frappe/docs/current/models/index.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/frappe/docs/current/models/integrations/dropbox_backup.html b/frappe/docs/current/models/integrations/dropbox_backup.html deleted file mode 100644 index 569f43fcd5..0000000000 --- a/frappe/docs/current/models/integrations/dropbox_backup.html +++ /dev/null @@ -1,342 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- -Single - - - - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1send_backups_to_dropbox - Check - Send Backups to Dropbox - -
2upload_backups_to_dropbox - Select - Upload Frequency - - -
Daily
-Weekly
-
3send_notifications_to - Data - Send Notifications To - -
4dropbox_access_key - Data - Dropbox Access Key - -
5dropbox_access_secret - Data - Dropbox Access Secret - -
6dropbox_access_allowed - Data - Dropbox Access Allowed - -
7allow_dropbox_access - Button - Allow Dropbox Access - -
- - -
-

Controller

-

frappe.integrations.doctype.dropbox_backup.dropbox_backup

- - - - - - - -

Class DropboxBackup

- -

Inherits from frappe.model.document.Document - -

-
-
- -
-
- - - - - - - -

- - - frappe.integrations.doctype.dropbox_backup.dropbox_backup.backup_to_dropbox - () -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.integrations.doctype.dropbox_backup.dropbox_backup.dropbox_callback -

-

- - - frappe.integrations.doctype.dropbox_backup.dropbox_backup.dropbox_callback - (oauth_token=None, not_approved=False) -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.integrations.doctype.dropbox_backup.dropbox_backup.get_dropbox_authorize_url -

-

- - - frappe.integrations.doctype.dropbox_backup.dropbox_backup.get_dropbox_authorize_url - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.integrations.doctype.dropbox_backup.dropbox_backup.get_dropbox_session - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.integrations.doctype.dropbox_backup.dropbox_backup.send_email - (success, service_name, error_status=None) -

-

No docs

-
-
- - - - - - - -

- - - frappe.integrations.doctype.dropbox_backup.dropbox_backup.take_backups_daily - () -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.integrations.doctype.dropbox_backup.dropbox_backup.take_backups_dropbox -

-

- - - frappe.integrations.doctype.dropbox_backup.dropbox_backup.take_backups_dropbox - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.integrations.doctype.dropbox_backup.dropbox_backup.take_backups_if - (freq) -

-

No docs

-
-
- - - - - - - -

- - - frappe.integrations.doctype.dropbox_backup.dropbox_backup.take_backups_weekly - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.integrations.doctype.dropbox_backup.dropbox_backup.upload_file_to_dropbox - (filename, folder, dropbox_client) -

-

No docs

-
-
- - - - - - - -

- - - frappe.integrations.doctype.dropbox_backup.dropbox_backup.upload_from_folder - (path, dropbox_folder, dropbox_client, did_not_upload, error_log) -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/integrations/index.html b/frappe/docs/current/models/integrations/index.html deleted file mode 100644 index 91072e3cf4..0000000000 --- a/frappe/docs/current/models/integrations/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

DocTypes for integrations

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/models/integrations/index.txt b/frappe/docs/current/models/integrations/index.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/frappe/docs/current/models/integrations/social_login_keys.html b/frappe/docs/current/models/integrations/social_login_keys.html deleted file mode 100644 index 0697ebae3d..0000000000 --- a/frappe/docs/current/models/integrations/social_login_keys.html +++ /dev/null @@ -1,181 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- -Single - - - - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1facebook - Section Break - Facebook - -
2facebook_client_id - Data - Facebook Client ID - -
3facebook_client_secret - Data - Facebook Client Secret - -
4google - Section Break - Google - -
5google_client_id - Data - Google Client ID - -
6google_client_secret - Data - Google Client Secret - -
7github - Section Break - GitHub - -
8github_client_id - Data - GitHub Client ID - -
9github_client_secret - Data - GitHub Client Secret - -
- - -
-

Controller

-

frappe.integrations.doctype.social_login_keys.social_login_keys

- - - - - - - -

Class SocialLoginKeys

- -

Inherits from frappe.model.document.Document - -

-
-
- -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/models/index.html b/frappe/docs/current/models/models/index.html deleted file mode 100644 index ce9e35ab3e..0000000000 --- a/frappe/docs/current/models/models/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

DocTypes for models

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/models/models/index.txt b/frappe/docs/current/models/models/index.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/frappe/docs/current/models/print/index.html b/frappe/docs/current/models/print/index.html deleted file mode 100644 index 670fcea219..0000000000 --- a/frappe/docs/current/models/print/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

DocTypes for print

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/models/print/index.txt b/frappe/docs/current/models/print/index.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/frappe/docs/current/models/print/letter_head.html b/frappe/docs/current/models/print/letter_head.html deleted file mode 100644 index 97e116b0a3..0000000000 --- a/frappe/docs/current/models/print/letter_head.html +++ /dev/null @@ -1,216 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabLetter Head

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1letter_head_name - Data - Letter Head Name - -
2disabled - Check - Disabled - -
3is_default - Check - Is Default -

- Check this to make this the default letter head in all prints

-
4content - Text Editor - Content -

- Letter Head in HTML

-
5footer - Text Editor - Footer - -
- - -
-

Controller

-

frappe.print.doctype.letter_head.letter_head

- - - - - - - -

Class LetterHead

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - set_as_default - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/print/print_format.html b/frappe/docs/current/models/print/print_format.html deleted file mode 100644 index 4423685754..0000000000 --- a/frappe/docs/current/models/print/print_format.html +++ /dev/null @@ -1,438 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabPrint Format

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1doc_type - Link - DocType - - - - - - -DocType - - - -
2disabled - Check - Disabled - -
3column_break_3 - Column Break - - -
4standard - Select - Standard - - -
No
-Yes
-
5custom_format - Check - Custom Format - -
6section_break_6 - Section Break - - -
7print_format_type - Select - Print Format Type - - -
Server
-Client
-
8html - Code - HTML - - -
HTML
-
9section_break_9 - Section Break - - -
10edit_format - Button - Edit Format - -
11column_break_11 - Column Break - - -
12font - Select - Font - - -
Default
-Arial
-Helvetica
-Verdana
-Monospace
-
13css_section - Section Break - - -
14css - Code - Custom CSS - -
15custom_html_help - HTML - Custom HTML Help - -
16section_break_13 - Section Break - - -
17print_format_help - HTML - Print Format Help - -
18format_data - Code - Format Data - -
19print_format_builder - Check - Print Format Builder - -
- - -
-

Controller

-

frappe.print.doctype.print_format.print_format

- - - - - - - -

Class PrintFormat

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - export_doc - (self) -

-

No docs

-
-
- - - - - -

- - - extract_images - (self) -

-

No docs

-
-
- - - - - -

- - - on_trash - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - -

Public API -
/api/method/frappe.print.doctype.print_format.print_format.make_default -

-

- - - frappe.print.doctype.print_format.print_format.make_default - (name) -

-

Set print format as default

-
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/print/print_settings.html b/frappe/docs/current/models/print/print_settings.html deleted file mode 100644 index 5b8a0d53c6..0000000000 --- a/frappe/docs/current/models/print/print_settings.html +++ /dev/null @@ -1,236 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- -Single - - - - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1pdf_settings - Section Break - PDF Settings - -
2send_print_as_pdf - Check - Send Print as PDF -

- Send Email Print Attachments as PDF (Recommended)

-
3pdf_page_size - Select - PDF Page Size - - -
A4
-Letter
-
4print_style_section - Section Break - Print Style - -
5print_style - Select - Print Style - - -
Modern
-Classic
-Standard
-Monochrome
-
6font - Select - Font - - -
Default
-Arial
-Helvetica
-Verdana
-Monospace
-
7font_size - Float - Font Size -

- In points. Default is 9.

-
8column_break_6 - Column Break - - -
9with_letterhead - Check - With Letterhead -

- Print with Letterhead, unless unchecked in a particular Document

-
10section_break_8 - Section Break - - -
11print_style_preview - HTML - Print Style Preview - -
- - -
-

Controller

-

frappe.print.doctype.print_settings.print_settings

- - - - - - - -

Class PrintSettings

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - on_update - (self) -

-

No docs

-
-
- - -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/about_us_settings.html b/frappe/docs/current/models/website/about_us_settings.html deleted file mode 100644 index 11a861c6b4..0000000000 --- a/frappe/docs/current/models/website/about_us_settings.html +++ /dev/null @@ -1,233 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- -Single - - - - -Settings for the About Us Page - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1help - HTML - Help - -
2company_introduction - Text Editor - Company Introduction -

- Introduce your company to the website visitor.

-
3sb0 - Section Break - Org History - -
4company_history_heading - Data - Org History Heading -

- "Company History"

-
5company_history - Table - Org History - - - - - - -Company History - - - -
6sb1 - Section Break - Team Members - -
7team_members_heading - Data - Team Members Heading -

- "Team Members" or "Management"

-
8team_members - Table - Team Members - - - - - - -About Us Team Member - - - -
9footer - Text Editor - Footer -

- More content for the bottom of the page.

-
- - -
-

Controller

-

frappe.website.doctype.about_us_settings.about_us_settings

- - - - - - - -

Class AboutUsSettings

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - on_update - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.website.doctype.about_us_settings.about_us_settings.get_args - () -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/about_us_team_member.html b/frappe/docs/current/models/website/about_us_team_member.html deleted file mode 100644 index 74448d4f23..0000000000 --- a/frappe/docs/current/models/website/about_us_team_member.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabAbout Us Team Member

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1full_name - Data - Full Name - -
2image_link - Attach - Image Link - -
3bio - Small Text - Bio - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/blog_category.html b/frappe/docs/current/models/website/blog_category.html deleted file mode 100644 index c5cabbfeae..0000000000 --- a/frappe/docs/current/models/website/blog_category.html +++ /dev/null @@ -1,191 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabBlog Category

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1category_name - Data - Category Name - -
2title - Data - Title - -
3published - Check - Published - -
4parent_website_route - Read Only - Parent Website Route - -
5page_name - Data - Page Name - -
- - -
-

Controller

-

frappe.website.doctype.blog_category.blog_category

- - - - - - - -

Class BlogCategory

- -

Inherits from frappe.website.website_generator.WebsiteGenerator - -

-
-
- - - - -

- - - autoname - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/blog_post.html b/frappe/docs/current/models/website/blog_post.html deleted file mode 100644 index 16a87240cc..0000000000 --- a/frappe/docs/current/models/website/blog_post.html +++ /dev/null @@ -1,374 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabBlog Post

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1title - Data - Title - -
2published_on - Date - Published On - -
3published - Check - Published - -
4column_break_3 - Column Break - - -
5blog_category - Link - Blog Category - - - - - - -Blog Category - - - -
6blogger - Link - Blogger - - - - - - -Blogger - - - -
7parent_website_route - Read Only - Parent Website Route - -
8section_break_5 - Section Break - - -
9blog_intro - Small Text - Blog Intro -

- Description for listing page, in plain text, only a couple of lines. (max 140 characters)

-
10content - Text Editor - Content - -
11page_name - Data - Page Name - -
12email_sent - Check - Email Sent - -
- - -
-

Controller

-

frappe.website.doctype.blog_post.blog_post

- - - - - - - -

Class BlogPost

- -

Inherits from frappe.website.website_generator.WebsiteGenerator - -

-
-
- - - - -

- - - get_context - (self, context) -

-

No docs

-
-
- - - - - -

- - - get_feed - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.website.doctype.blog_post.blog_post.clear_blog_cache - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.doctype.blog_post.blog_post.get_blog_category - (page_name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.doctype.blog_post.blog_post.get_blog_list - (doctype, txt=None, filters=None, limit_start=0, limit_page_length=20) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.doctype.blog_post.blog_post.get_children - () -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.doctype.blog_post.blog_post.get_list_context - (context=None) -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/blog_settings.html b/frappe/docs/current/models/website/blog_settings.html deleted file mode 100644 index 5c30bd7f5f..0000000000 --- a/frappe/docs/current/models/website/blog_settings.html +++ /dev/null @@ -1,123 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- -Single - - - - -Blog Settings - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1blog_title - Data - Blog Title - -
2blog_introduction - Small Text - Blog Introduction - -
3writers_introduction - Small Text - Writers Introduction - -
- - -
-

Controller

-

frappe.website.doctype.blog_settings.blog_settings

- - - - - - - -

Class BlogSettings

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - on_update - (self) -

-

No docs

-
-
- - -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/blogger.html b/frappe/docs/current/models/website/blogger.html deleted file mode 100644 index b0c97d2e08..0000000000 --- a/frappe/docs/current/models/website/blogger.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabBlogger

- - -User ID of a Blogger - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1disabled - Check - Disabled - -
2short_name - Data - Short Name -

- Will be used in url (usually first name).

-
3full_name - Data - Full Name - -
4user - Link - User - - - - - - -User - - - -
5bio - Small Text - Bio - -
6avatar - Attach - Avatar - -
7posts - Int - Posts - -
- - -
-

Controller

-

frappe.website.doctype.blogger.blogger

- - - - - - - -

Class Blogger

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - on_update - (self) -

-

if user is set, then update all older blogs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/company_history.html b/frappe/docs/current/models/website/company_history.html deleted file mode 100644 index 558a23e256..0000000000 --- a/frappe/docs/current/models/website/company_history.html +++ /dev/null @@ -1,87 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabCompany History

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1year - Data - Year - -
2highlight - Text - Highlight - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/contact_us_settings.html b/frappe/docs/current/models/website/contact_us_settings.html deleted file mode 100644 index aecdf05f65..0000000000 --- a/frappe/docs/current/models/website/contact_us_settings.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- -Single - - - - -Settings for Contact Us Page - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1introduction_section - Section Break - Introduction - -
2forward_to_email - Data - Forward To Email Address -

- Send enquiries to this email address

-
3heading - Data - Heading -

- Default: "Contact Us"

-
4introduction - Text Editor - Introduction -

- Introductory information for the Contact Us Page

-
5query_options - Small Text - Query Options -

- Contact options, like "Sales Query, Support Query" etc each on a new line or separated by commas.

-
6address - Section Break - Address - -
7address_title - Data - Address Title - -
8address_line1 - Data - Address Line 1 - -
9address_line2 - Data - Address Line 2 - -
10city - Data - City - -
11state - Data - State - -
12pincode - Data - Pincode - -
13country - Data - Country - -
- - -
-

Controller

-

frappe.website.doctype.contact_us_settings.contact_us_settings

- - - - - - - -

Class ContactUsSettings

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - on_update - (self) -

-

No docs

-
-
- - -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/index.html b/frappe/docs/current/models/website/index.html deleted file mode 100644 index 53876b1110..0000000000 --- a/frappe/docs/current/models/website/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

DocTypes for website

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/index.txt b/frappe/docs/current/models/website/index.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/frappe/docs/current/models/website/top_bar_item.html b/frappe/docs/current/models/website/top_bar_item.html deleted file mode 100644 index 053e1361b6..0000000000 --- a/frappe/docs/current/models/website/top_bar_item.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabTop Bar Item

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1label - Data - Label - -
2parent_label - Select - Parent Label -

- If you set this, this Item will come in a drop-down under the selected parent.

-
3url - Data - URL -

- Link to the page you want to open. Leave blank if you want to make it a group parent.

-
4target - Select - Target -

- Select target = "_blank" to open in a new page.

-
-
-target = "_blank"
-
5right - Check - Right -

- For top bar

-
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/web_form.html b/frappe/docs/current/models/website/web_form.html deleted file mode 100644 index d75443f074..0000000000 --- a/frappe/docs/current/models/website/web_form.html +++ /dev/null @@ -1,490 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabWeb Form

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1title - Data - Title - -
2page_name - Data - Page Name -

- Website URL

-
3doc_type - Link - Select DocType - - - - - - -DocType - - - -
4column_break_4 - Column Break - - -
5is_standard - Check - Is Standard - -
6published - Check - Published - -
7login_required - Check - Login Required - -
8allow_edit - Check - Allow Edit - -
9allow_multiple - Check - Allow Multiple - -
10allow_delete - Check - Allow Delete - -
11allow_comments - Check - Allow Comments - -
12fields - Section Break - Fields - -
13introduction_text - Text - Introduction - -
14web_form_fields - Table - Web Form Fields - - - - - - -Web Form Field - - - -
15actions - Section Break - Actions - -
16success_message - Text - Success Message -

- Message to be displayed on successful completion

-
17success_url - Data - Success URL -

- Go to this url after completing the form.

-
18advanced - Section Break - Advanced - -
19web_page_link_text - Data - Web Page Link Text -

- Text to be displayed for Link to Web Page if this form has a web page. Link route will be automatically generated based on `page_name` and `parent_website_route`

-
20breadcrumbs - Small Text - Breadcrumbs -

- In JSON as [{"title":"Jobs", "name":"jobs"}]

-
- - -
-

Controller

-

frappe.website.doctype.web_form.web_form

- - - - - - - -

Class WebForm

- -

Inherits from frappe.website.website_generator.WebsiteGenerator - -

-
-
- - - - -

- - - get_context - (self, context) -

-

No docs

-
-
- - - - - -

- - - get_layout - (self) -

-

No docs

-
-
- - - - - -

- - - get_parents - (self, context) -

-

No docs

-
-
- - - - - -

- - - onload - (self) -

-

No docs

-
-
- - - - - -

- - - use_meta_fields - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - -

Public API -
/api/method/frappe.website.doctype.web_form.web_form.accept -

-

- - - frappe.website.doctype.web_form.web_form.accept - () -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.website.doctype.web_form.web_form.delete -

-

- - - frappe.website.doctype.web_form.web_form.delete - (web_form, name) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.doctype.web_form.web_form.get_web_form_list - (doctype, txt, filters, limit_start, limit_page_length=20) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.doctype.web_form.web_form.has_web_form_permission - (doctype, name, ptype=read) -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/web_form_field.html b/frappe/docs/current/models/website/web_form_field.html deleted file mode 100644 index 7a7ffc4f90..0000000000 --- a/frappe/docs/current/models/website/web_form_field.html +++ /dev/null @@ -1,219 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabWeb Form Field

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1fieldname - Select - Fieldname - -
2fieldtype - Select - Fieldtype - - -
Attach
-Check
-Data
-Date
-Datetime
-HTML
-Link
-Select
-Text
-Section Break
-Column Break
-
3label - Data - Label - -
4reqd - Check - Mandatory - -
5read_only - Check - Read Only - -
6hidden - Check - Hidden - -
7column_break_4 - Column Break - - -
8options - Text - Options - -
9section_break_6 - Section Break - - -
10description - Text - Description - -
11column_break_8 - Column Break - - -
12default - Data - Default - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/web_page.html b/frappe/docs/current/models/website/web_page.html deleted file mode 100644 index 215b7e2a14..0000000000 --- a/frappe/docs/current/models/website/web_page.html +++ /dev/null @@ -1,634 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabWeb Page

- - -Page to show on the website - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1section_title - Section Break - Title - -
2title - Data - Title -

- Title / headline of your page

-
3show_title - Check - Show Title - -
4slideshow - Link - Slideshow -

- Begin this page with a slideshow of images

-
- - - - -Website Slideshow - - - -
5cb1 - Column Break - - -
6page_name - Data - Page Name -

- Page url name (auto-generated)

-
7published - Check - Published - -
8sb1 - Section Break - Content -

- Page content

-
9main_section - Text Editor - Main Section -

- Content in markdown format that appears on the main side of your page

-
10fold_10 - Fold - - -
11custom_javascript - Section Break - Custom Javascript - -
12insert_code - Check - Insert Code -

- Add code as <script>

-
13javascript - Code - Javascript - - -
Javascript
-
14custom_css - Section Break - Custom CSS - -
15insert_style - Check - Insert Style - -
16css - Code - CSS - - -
CSS
-
17section_break_17 - Section Break - - -
18enable_comments - Check - Enable Comments - -
19text_align - Select - Text Align - - -
Left
-Center
-Right
-
20column_break_20 - Column Break - - -
21parent_web_page - Link - Parent Web Page - - - - - - -Web Page - - - -
22parent_website_route - Read Only - Parent Website Route - -
23idx - Int - Priority -

- 0 is highest

-
24template_path - Small Text - Template Path - -
25sb2 - Section Break - - -
26description - Small Text - Description -

- Description for search engine optimization.

-
27header - Text - Header -

- HTML for header section. Optional

-
- - -
-

Controller

-

frappe.website.doctype.web_page.web_page

- - - - - - - -

Class WebPage

- -

Inherits from frappe.website.website_generator.WebsiteGenerator - -

-
-
- - - - -

- - - add_hero - (self, context) -

-

Add a hero element if specified in content or hooks. -Hero elements get full page width.

-
-
- - - - - -

- - - add_index - (self, context) -

-

Add index, next button if {index}, {next} is present.

-
-
- - - - - -

- - - check_for_redirect - (self, context) -

-

No docs

-
-
- - - - - -

- - - get_context - (self, context) -

-

No docs

-
-
- - - - - -

- - - get_dynamic_context - (self, context) -

-

update context from .py and load sidebar from _sidebar.json if either exists

-
-
- - - - - -

- - - get_feed - (self) -

-

No docs

-
-
- - - - - -

- - - get_static_content - (self, context) -

-

No docs

-
-
- - - - - -

- - - render_dynamic - (self, context) -

-

No docs

-
-
- - - - - -

- - - set_breadcrumbs - (self, context) -

-

Build breadcrumbs template (deprecated)

-
-
- - - - - -

- - - set_metatags - (self, context) -

-

No docs

-
-
- - - - - -

- - - set_title_and_header - (self, context) -

-

Extract and set title and header from content or context.

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.website.doctype.web_page.web_page.check_broken_links - () -

-

No docs

-
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/website_script.html b/frappe/docs/current/models/website/website_script.html deleted file mode 100644 index 5761f40cbe..0000000000 --- a/frappe/docs/current/models/website/website_script.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- -Single - - - - -Script to attach to all web pages. - -

Fields

- - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1javascript - Code - Javascript - - -
Javascript
-
- - -
-

Controller

-

frappe.website.doctype.website_script.website_script

- - - - - - - -

Class WebsiteScript

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - on_update - (self) -

-

clear cache

-
-
- - -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/website_settings.html b/frappe/docs/current/models/website/website_settings.html deleted file mode 100644 index b3fa19e110..0000000000 --- a/frappe/docs/current/models/website/website_settings.html +++ /dev/null @@ -1,698 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- -Single - - - - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1sb0 - Section Break - Landing Page - -
2home_page - Data - Home Page -

- Link that is the website home page. Standard Links (index, login, products, blog, about, contact)

-
3home_page_is_products - Check - Home Page is Products -

- If checked, the Home page will be the default Item Group for the website.

-
4cb4 - Column Break - - -
5title_prefix - Data - Title Prefix -

- Show title in browser window as "Prefix - title"

-
6section_break_6 - Section Break - - -
7website_theme - Link - Website Theme - - - - - - -Website Theme - - - -
8website_theme_image - Image - Website Theme Image - - -
website_theme_image_link
-
9website_theme_image_link - Small Text - Website Theme Image Link - -
10banner - Section Break - Banner -

- Add a banner to the site. (small banners are usually good)

-
11banner_image - Attach Image - Banner Image -

- Select an image of approx width 150px with a transparent background for best results.

-
12set_banner_from_image - Button - Set Banner from Image - -
13column_break_14 - Column Break - - -
14banner_html - Small Text - Banner HTML -

- Banner is above the Top Menu Bar.

-
15top_bar - Section Break - Top Bar -

- Menu items in the Top Bar. For setting the color of the Top Bar, go to selected Website Theme.

-
16brand_html - Small Text - Brand HTML -

- Brand is what appears on the top-left of the toolbar. If it is an image, make sure it -has a transparent background and use the <img /> tag. Keep size as 200px x 30px

-
17top_bar_items - Table - Top Bar Items - - - - - - -Top Bar Item - - - -
18sidebar - Section Break - Sidebar -

- Sidebar Links for Home Page only

-
19sidebar_items - Table - Sidebar Items - - - - - - -Top Bar Item - - - -
20footer - Section Break - Footer - -
21copyright - Data - Copyright - -
22address - Text Editor - Address -

- Address and other legal information you may want to put in the footer.

-
23footer_items - Table - Footer Items - - - - - - -Top Bar Item - - - -
24hide_footer_signup - Check - Hide Footer Signup - -
25integrations - Section Break - Integrations - -
26google_analytics_id - Data - Google Analytics ID -

- Add Google Analytics ID: eg. UA-89XXX57-1. Please search help on Google Analytics for more information.

-
27column_break_17 - Column Break - - -
28google_plus_one - Check - Google Plus One - -
29facebook_share - Check - Facebook Share - -
30linked_in_share - Check - Linked In Share - -
31twitter_share - Check - Twitter Share - -
32twitter_share_via - Data - Twitter Share via -

- Tweet will be shared via your user account (if specified)

-
33misc_section - Section Break - More Information - -
34favicon - Attach - FavIcon -

- An icon file with .ico extension. Should be 16 x 16 px. Generated using a favicon generator. [favicon-generator.org]

-
35subdomain - Text - Subdomain -

- Sub-domain provided by erpnext.com

-
36column_break_28 - Column Break - - -
37disable_signup - Check - Disable Signup -

- Disable Customer Signup link in Login page

-
38section_break_38 - Section Break - - -
39head_html - Code - <head> HTML -

- Added HTML in the <head> section of the web page, primarily used for website verification and SEO

-
-
HTML
-
- - -
-

Controller

-

frappe.website.doctype.website_settings.website_settings

- - - - - - - -

Class WebsiteSettings

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - clear_cache - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - - - - -

- - - validate_footer_items - (self) -

-

clear parent label in footer

-
-
- - - - - -

- - - validate_home_page - (self) -

-

No docs

-
-
- - - - - -

- - - validate_top_bar_items - (self) -

-

validate url in top bar items

-
-
- - -
-
- - - - - - - -

- - - frappe.website.doctype.website_settings.website_settings.get_website_settings - () -

-

No docs

-
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/website_slideshow.html b/frappe/docs/current/models/website/website_slideshow.html deleted file mode 100644 index 2045dc362d..0000000000 --- a/frappe/docs/current/models/website/website_slideshow.html +++ /dev/null @@ -1,182 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabWebsite Slideshow

- - -Slideshow like display for the website - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1slideshow_name - Data - Slideshow Name - -
2sb0 - Section Break - -

- Note: For best results, images must be of the same size and width must be greater than height.

-
3slideshow_items - Table - Slideshow Items - - - - - - -Website Slideshow Item - - - -
4header - Text Editor - Header -

- This goes above the slideshow.

-
- - -
-

Controller

-

frappe.website.doctype.website_slideshow.website_slideshow

- - - - - - - -

Class WebsiteSlideshow

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - on_update - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.website.doctype.website_slideshow.website_slideshow.get_slideshow - (doc) -

-

No docs

-
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/website_slideshow_item.html b/frappe/docs/current/models/website/website_slideshow_item.html deleted file mode 100644 index 8ab9fdb8ef..0000000000 --- a/frappe/docs/current/models/website/website_slideshow_item.html +++ /dev/null @@ -1,99 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabWebsite Slideshow Item

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1image - Attach - Image - -
2heading - Data - Heading - -
3description - Text - Description - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/website/website_theme.html b/frappe/docs/current/models/website/website_theme.html deleted file mode 100644 index ddbf8fb825..0000000000 --- a/frappe/docs/current/models/website/website_theme.html +++ /dev/null @@ -1,629 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabWebsite Theme

- - - - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1theme - Data - Theme - -
2module - Link - Module - - - - - - -Module Def - - - -
3apply_style - Check - Apply Style -

- This must be checked if the below style settings are applicable

-
4custom - Check - Custom? - -
5column_break_2 - Column Break - - -
6bootstrap - Small Text - Link to Bootstrap CSS -

- Link to your Bootstrap theme

-
7section_break_14 - Section Break - - -
8font_size - Select - Font Size - - -
-12px
-13px
-14px
-15px
-16px
-17px
-18px
-
9text_webfont - Data - Google Font (Text) -

- Add the name of a "Google Web Font" e.g. "Open Sans"

-
10heading_webfont - Data - Google Font (Heading) -

- Add the name of a "Google Web Font" e.g. "Open Sans"

-
11column_break_18 - Column Break - - -
12text_color - Data - Text Color - -
13link_color - Data - Link Color - -
14heading_style - Select - Heading Style - - -
-UPPERCASE
-Title Case
-lowercase
-
15section_break_8 - Section Break - - -
16top_bar_color - Data - Top Bar Color - -
17top_bar_text_color - Data - Top Bar Text Color - -
18no_sidebar - Check - Hide Sidebar - -
19column_break_11 - Column Break - - -
20footer_color - Data - Footer Color - -
21footer_text_color - Data - Footer Text Color - -
22section_break_4 - Section Break - - -
23background_color - Data - Background Color - -
24column_break_6 - Column Break - - -
25background_image - Attach Image - Background Image -

- If image is selected, color will be ignored.

-
26section_break_21 - Section Break - - -
27css - Code - Style using CSS - -
28js - Code - JavaScript - -
- - -
-

Controller

-

frappe.website.doctype.website_theme.website_theme

- - - - - - - -

Class WebsiteTheme

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - clear_cache_if_current_theme - (self) -

-

No docs

-
-
- - - - - -

- - - export_doc - (self) -

-

Export to standard folder [module]/website_theme/[name]/[name].json.

-
-
- - - - - -

- - - is_standard_and_not_valid_user - (self) -

-

No docs

-
-
- - - - - -

- - - on_trash - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - use_theme - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - - - - -

- - - validate_colors - (self) -

-

No docs

-
-
- - - - - -

- - - validate_if_customizable - (self) -

-

No docs

-
-
- - -
-
- - - - - - - -

- - - frappe.website.doctype.website_theme.website_theme.add_website_theme - (context) -

-

No docs

-
-
- - - - - - - -

- - - frappe.website.doctype.website_theme.website_theme.get_active_theme - () -

-

No docs

-
-
- - - - - - -

Public API -
/api/method/frappe.website.doctype.website_theme.website_theme.use_theme -

-

- - - frappe.website.doctype.website_theme.website_theme.use_theme - (theme) -

-

No docs

-
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/workflow/index.html b/frappe/docs/current/models/workflow/index.html deleted file mode 100644 index 58a9cb74b6..0000000000 --- a/frappe/docs/current/models/workflow/index.html +++ /dev/null @@ -1,19 +0,0 @@ - - - -
- - - Version 6.x.x - - - Source - -
- -

DocTypes for workflow

- -{index} - - \ No newline at end of file diff --git a/frappe/docs/current/models/workflow/index.txt b/frappe/docs/current/models/workflow/index.txt deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/frappe/docs/current/models/workflow/workflow.html b/frappe/docs/current/models/workflow/workflow.html deleted file mode 100644 index 33f8599169..0000000000 --- a/frappe/docs/current/models/workflow/workflow.html +++ /dev/null @@ -1,289 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabWorkflow

- - -Defines workflow states and rules for a document. - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1workflow_name - Data - Workflow Name - -
2document_type - Link - Document Type -

- DocType on which this Workflow is applicable.

-
- - - - -DocType - - - -
3is_active - Check - Is Active -

- If checked, all other workflows become inactive.

-
4states_head - Section Break - States -

- Different "States" this document can exist in. Like "Open", "Pending Approval" etc.

-
5states - Table - Document States -

- All possible Workflow States and roles of the workflow. Docstatus Options: 0 is"Saved", 1 is "Submitted" and 2 is "Cancelled"

-
- - - - -Workflow Document State - - - -
6transition_rules - Section Break - Transition Rules -

- Rules for how states are transitions, like next state and which role is allowed to change state etc.

-
7transitions - Table - Transitions -

- Rules defining transition of state in the workflow.

-
- - - - -Workflow Transition - - - -
8workflow_state_field - Data - Workflow State Field -

- Field that represents the Workflow State of the transaction (if field is not present, a new hidden Custom Field will be created)

-
- - -
-

Controller

-

frappe.workflow.doctype.workflow.workflow

- - - - - - - -

Class Workflow

- -

Inherits from frappe.model.document.Document - -

-
-
- - - - -

- - - create_custom_field_for_workflow_state - (self) -

-

No docs

-
-
- - - - - -

- - - on_update - (self) -

-

No docs

-
-
- - - - - -

- - - set_active - (self) -

-

No docs

-
-
- - - - - -

- - - update_default_workflow_status - (self) -

-

No docs

-
-
- - - - - -

- - - validate - (self) -

-

No docs

-
-
- - - - - -

- - - validate_docstatus - (self) -

-

No docs

-
-
- - -
-
- - - - - - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/workflow/workflow_action.html b/frappe/docs/current/models/workflow/workflow_action.html deleted file mode 100644 index 9b49e952aa..0000000000 --- a/frappe/docs/current/models/workflow/workflow_action.html +++ /dev/null @@ -1,101 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabWorkflow Action

- - -Workflow Action Master - -

Fields

- - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1workflow_action_name - Data - Workflow Action Name - -
- - -
-

Controller

-

frappe.workflow.doctype.workflow_action.workflow_action

- - - - - - - -

Class WorkflowAction

- -

Inherits from frappe.model.document.Document - -

-
-
- -
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/workflow/workflow_document_state.html b/frappe/docs/current/models/workflow/workflow_document_state.html deleted file mode 100644 index 01b8bb7857..0000000000 --- a/frappe/docs/current/models/workflow/workflow_document_state.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabWorkflow Document State

- - -Represents the states allowed in one document and role assigned to change the state. - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1state - Link - State - - - - - - -Workflow State - - - -
2doc_status - Select - Doc Status -

- 0 - Draft; 1 - Submitted; 2 - Cancelled

-
-
0
-1
-2
-
3update_field - Select - Update Field - -
4update_value - Data - Update Value - -
5allow_edit - Link - Only Allow Edit For - - - - - - -Role - - - -
6message - Text - Message - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/workflow/workflow_state.html b/frappe/docs/current/models/workflow/workflow_state.html deleted file mode 100644 index 344578dd58..0000000000 --- a/frappe/docs/current/models/workflow/workflow_state.html +++ /dev/null @@ -1,286 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - - - - -

Table Name: tabWorkflow State

- - -Workflow state represents the current state of a document. - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1workflow_state_name - Data - State - -
2icon - Select - Icon -

- Icon will appear on the button

-
-
-glass
-music
-search
-envelope
-heart
-star
-star-empty
-user
-film
-th-large
-th
-th-list
-ok
-remove
-zoom-in
-zoom-out
-off
-signal
-cog
-trash
-home
-file
-time
-road
-download-alt
-download
-upload
-inbox
-play-circle
-repeat
-refresh
-list-alt
-lock
-flag
-headphones
-volume-off
-volume-down
-volume-up
-qrcode
-barcode
-tag
-tags
-book
-bookmark
-print
-camera
-font
-bold
-italic
-text-height
-text-width
-align-left
-align-center
-align-right
-align-justify
-list
-indent-left
-indent-right
-facetime-video
-picture
-pencil
-map-marker
-adjust
-tint
-edit
-share
-check
-move
-step-backward
-fast-backward
-backward
-play
-pause
-stop
-forward
-fast-forward
-step-forward
-eject
-chevron-left
-chevron-right
-plus-sign
-minus-sign
-remove-sign
-ok-sign
-question-sign
-info-sign
-screenshot
-remove-circle
-ok-circle
-ban-circle
-arrow-left
-arrow-right
-arrow-up
-arrow-down
-share-alt
-resize-full
-resize-small
-plus
-minus
-asterisk
-exclamation-sign
-gift
-leaf
-fire
-eye-open
-eye-close
-warning-sign
-plane
-calendar
-random
-comment
-magnet
-chevron-up
-chevron-down
-retweet
-shopping-cart
-folder-close
-folder-open
-resize-vertical
-resize-horizontal
-hdd
-bullhorn
-bell
-certificate
-thumbs-up
-thumbs-down
-hand-right
-hand-left
-hand-up
-hand-down
-circle-arrow-right
-circle-arrow-left
-circle-arrow-up
-circle-arrow-down
-globe
-wrench
-tasks
-filter
-briefcase
-fullscreen
-
3style - Select - Style -

- Style represents the button color: Success - Green, Danger - Red, Inverse - Black, Primary - Dark Blue, Info - Light Blue, Warning - Orange

-
-
-Primary
-Info
-Success
-Warning
-Danger
-Inverse
-
- - -
-

Controller

-

frappe.workflow.doctype.workflow_state.workflow_state

- - - - - - - -

Class WorkflowState

- -

Inherits from frappe.model.document.Document - -

-
-
- -
-
- - - - - - -

Linked In:

- - - - - - - \ No newline at end of file diff --git a/frappe/docs/current/models/workflow/workflow_transition.html b/frappe/docs/current/models/workflow/workflow_transition.html deleted file mode 100644 index 51aca629fe..0000000000 --- a/frappe/docs/current/models/workflow/workflow_transition.html +++ /dev/null @@ -1,147 +0,0 @@ - - - - - - -
- - - Version 6.x.x - - - Source - -
- - -Child Table - - -

Table Name: tabWorkflow Transition

- - -Defines actions on states and the next step and allowed roles. - -

Fields

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SrFieldnameTypeLabelOptions
1state - Link - State - - - - - - -Workflow State - - - -
2action - Link - Action - - - - - - -Workflow Action - - - -
3next_state - Link - Next State - - - - - - -Workflow State - - - -
4allowed - Link - Allowed - - - - - - -Role - - - -
- - - - -

Child Table Of

- - - - - - - \ No newline at end of file