diff --git a/projects/page/projects/projects.txt b/projects/page/projects/projects.txt index 69f3afa6dd..170134e3a0 100644 --- a/projects/page/projects/projects.txt +++ b/projects/page/projects/projects.txt @@ -2,19 +2,30 @@ { "owner": "Administrator", "docstatus": 0, - "creation": "2010-12-14 10:23:31", + "creation": "2012-06-14 18:44:57", "modified_by": "Administrator", - "modified": "2010-12-30 14:43:47" + "modified": "2013-01-09 17:19:26" }, { "name": "__common__", + "doctype": "Page", "module": "Projects", "standard": "Yes", - "page_name": "Projects", - "doctype": "Page" + "page_name": "Projects" + }, + { + "name": "__common__", + "parent": "Projects", + "doctype": "Page Role", + "parenttype": "Page", + "role": "Projects User", + "parentfield": "roles" }, { "name": "Projects", "doctype": "Page" + }, + { + "doctype": "Page Role" } ] \ No newline at end of file diff --git a/setup/page/setup/setup.html b/setup/page/setup/setup.html deleted file mode 100644 index 33dd460d5e..0000000000 --- a/setup/page/setup/setup.html +++ /dev/null @@ -1,128 +0,0 @@ -
-
-
-
-

Company

-

- Companies
- List of companies (not customers / suppliers) -

-

- Fiscal Years
- Financial Years for books of accounts -

-

- Currencies
- Currency Master -

-
-
-

Users and Permissions

-

- Users
- Add/remove users, set roles, passwords etc -

-

- Permission Manager
- Set permissions on transactions / masters -

-

- User Properties
- Set default values for users (also used for permissions). -

-

- Workflow Manager
- Set workflow rules. -

-

- Amount based Authorization Rules
- Restrict submission rights based on amount -

-
-
-

Data

-

- Data Import Tool
- Import data from spreadsheet (csv) files -

-

- Global Defaults
- Set default values for entry -

-

- Recycle Bin
- Un-trash items -

-
-
-

Email and Notifications

-

- Email Settings
- Out going mail server and support ticket mailbox -

-

- Auto Notifications
- Automatic email sending to customers and suppliers -

-

- Email Digests
- Daily, weekly, monthly email Digests -

-

- SMS Setup
- Setup outgoing SMS via your bulk SMS provider -

-

- Send Bulk SMS
- Send bulk SMS to leads, customers, contacts -

-
-
-

Customize ERPNext

-

- Customize Forms
- Change entry properties (hide fields, make mandatory etc) -

-

- Custom Fields
- Add fields to forms -

-

- Custom Scripts
- Add custom code to forms -

-

- Disable Features
- Simplify entry forms by disabling features -

-

- Modules Setup
- Show, hide modules -

-

- Numbering Series
- Set multiple numbering series for transactions -

-
-
-

Branding and Printing

-

- Letter Heads
- Letter heads for print -

-

- Print Formats
- HTML print formats for quotes, invoices etc -

-

- Print Headings
- Add headers for standard print formats -

-

- Style Settings
- Change background fonts etc -

-
-
-
-
diff --git a/setup/page/setup/setup.js b/setup/page/setup/setup.js index a1b9f2df3f..a54b605629 100644 --- a/setup/page/setup/setup.js +++ b/setup/page/setup/setup.js @@ -1,27 +1,185 @@ -// ERPNext - web based ERP (http://erpnext.com) -// Copyright (C) 2012 Web Notes Technologies Pvt Ltd -// -// This program is free software: you can redistribute it and/or modify -// it under the terms of the GNU General Public License as published by -// the Free Software Foundation, either version 3 of the License, or -// (at your option) any later version. -// -// This program is distributed in the hope that it will be useful, -// but WITHOUT ANY WARRANTY; without even the implied warranty of -// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -// GNU General Public License for more details. -// -// You should have received a copy of the GNU General Public License -// along with this program. If not, see . +// ERPNext: Copyright 2013 Web Notes Technologies Pvt Ltd +// GNU General Public License. See "license.txt" -pscript.onload_Setup = function(wrapper) { - wrapper.appframe = new wn.ui.AppFrame($(wrapper).find('.appframe-area'), 'Setup'); - wrapper.appframe.add_home_breadcrumb(); - wrapper.appframe.add_breadcrumb(wn.modules["Setup"].icon); - - erpnext.module_page.hide_links(wrapper); +wn.module_page["Setup"] = [ + { + title: wn._("Organization"), + icon: "icon-building", + items: [ + { + "label":wn._("Company"), + "doctype":"Company", + "description":wn._("List of companies (not customers / suppliers)") + }, + { + "doctype":"Fiscal Year", + "label": wn._("Fiscal Year"), + "description":wn._("Financial Years for books of accounts") + }, + { + "doctype":"Currency", + "label": wn._("Currency"), + "description": wn._("Currency Master") + }, + ] + }, + { + title: wn._("Users"), + icon: "icon-group", + right: true, + items: [ + { + "doctype":"Profile", + "label": wn._("Profile"), + "description": wn._("Add/remove users, set roles, passwords etc") + }, + { + "page":"permission-manager", + label: wn._("Permission Manager"), + "description": wn._("Set permissions on transactions / masters") + }, + { + "page":"user-properties", + label: wn._("User Properties"), + "description":wn._("Set default values for users (also used for permissions).") + }, + { + "doctype":"Workflow", + label:wn._("Workfow"), + "description":wn._("Set workflow rules.") + }, + { + "doctype":"Authorization Rule", + label:wn._("Authorization Rule"), + "description":wn._("Restrict submission rights based on amount") + }, + ] + }, + { + title: wn._("Data"), + icon: "icon-table", + items: [ + { + "page":"data-import-tool", + label: wn._("Data Import"), + "description":wn._("Import data from spreadsheet (csv) files") + }, + { + "route":"Form/Global Defaults", + doctype: "Global Defaults", + label: wn._("Global Defaults"), + "description":wn._("Set default values for entry"), + }, + { + "route":"Form/Naming Series/Naming Series", + doctype: "Naming Series", + label: wn._("Manage numbering series"), + "description":wn._("Set multiple numbering series for transactions") + }, + ] + }, + { + title: wn._("Branding and Printing"), + icon: "icon-printer", + right: true, + items: [ + { + "doctype":"Letter Head", + label:wn._("Letter Head"), + "description":wn._("Letter heads for print") + }, + { + "doctype":"Print Format", + label:wn._("Print Format"), + "description":wn._("HTML print formats for quotes, invoices etc") + }, + { + "doctype":"Print Heading", + label:wn._("Print Heading"), + "description":wn._("Add headers for standard print formats") + }, + { + "route":"Form/Style Settings/Style Settings", + doctype:wn._("Style Settings"), + label:wn._("Style Settings"), + "description":wn._("Change background fonts etc") + } + ] + }, + { + title: wn._("Email Settings"), + icon: "icon-envelope", + items: [ + { + "route":"Form/Email Settings/Email Settings", + doctype:"Email Settings", + label: wn._("Email Settings"), + "description":wn._("Out going mail server and support ticket mailbox") + }, + { + "route":"Form/Notification Control/Notification Control", + doctype:"Notification Control", + label: wn._("Notification Control"), + "description":wn._("Prompt email sending to customers and suppliers"), + }, + { + "doctype":"Email Digest", + label: wn._("Email Digest"), + "description":wn._("Daily, weekly, monthly email Digests") + }, + { + "route":"Form/SMS Settings/SMS Settings", + doctype:"SMS Settings", + label: wn._("SMS Settings"), + "description":wn._("Setup outgoing SMS via your bulk SMS provider") + }, + { + "route":"Form/SMS Center/SMS Center", + doctype:"SMS Center", + label: wn._("SMS Center"), + "description":wn._("Send bulk SMS to leads, customers, contacts") + }, + ] + }, + { + title: wn._("Customize"), + icon: "icon-wrench", + items: [ + { + "route":"Form/Customize Form/Customize Form", + doctype:"Customize Form", + label: wn._("Customize Form"), + "description":wn._("Change entry properties (hide fields, make mandatory etc)") + }, + { + "doctype":"Custom Field", + label: wn._("Custom Field"), + "description":wn._("Add fields to forms") + }, + { + "doctype":"Custom Script", + label: wn._("Custom Script"), + "description":wn._("Add custom code to forms") + }, + { + "route":"Form/Features Setup/Features Setup", + "description":wn._("Simplify entry forms by disabling features"), + doctype:"Features Setup", + label: wn._("Features Setup"), + }, + { + "page":"modules_setup", + label: wn._("Show / Hide Modules"), + "description":wn._("Show, hide modules") + }, + ] + }, +] + +pscript['onload_Setup'] = function(wrapper) { + wn.views.moduleview.make(wrapper, "Setup"); if(wn.boot.expires_on) { - $(wrapper).find(".layout-main") + $(wrapper).find(".main-section") .prepend("
Your ERPNext account will expire on " + wn.datetime.global_date_format(wn.boot.expires_on) + "
"); } diff --git a/stock/page/stock_balance/stock_balance.txt b/stock/page/stock_balance/stock_balance.txt index 0f8e7fa5e2..24fffc2065 100644 --- a/stock/page/stock_balance/stock_balance.txt +++ b/stock/page/stock_balance/stock_balance.txt @@ -2,9 +2,9 @@ { "owner": "Administrator", "docstatus": 0, - "creation": "2012-12-25 13:02:32", + "creation": "2012-12-27 18:57:47", "modified_by": "Administrator", - "modified": "2012-12-25 13:02:32" + "modified": "2013-01-09 17:16:51" }, { "name": "__common__", @@ -14,8 +14,23 @@ "standard": "Yes", "page_name": "stock-balance" }, + { + "name": "__common__", + "parent": "stock-balance", + "doctype": "Page Role", + "parenttype": "Page", + "parentfield": "roles" + }, { "name": "stock-balance", "doctype": "Page" + }, + { + "role": "Material Manager", + "doctype": "Page Role" + }, + { + "role": "Analytics", + "doctype": "Page Role" } ] \ No newline at end of file diff --git a/stock/page/stock_level/stock_level.txt b/stock/page/stock_level/stock_level.txt index 6bf5c41cec..4b567136df 100644 --- a/stock/page/stock_level/stock_level.txt +++ b/stock/page/stock_level/stock_level.txt @@ -2,9 +2,9 @@ { "owner": "Administrator", "docstatus": 0, - "creation": "2012-12-28 11:02:23", + "creation": "2012-12-31 10:52:14", "modified_by": "Administrator", - "modified": "2012-12-28 11:02:23" + "modified": "2013-01-09 17:16:57" }, { "name": "__common__", @@ -14,8 +14,23 @@ "standard": "Yes", "page_name": "stock-level" }, + { + "name": "__common__", + "parent": "stock-level", + "doctype": "Page Role", + "parenttype": "Page", + "parentfield": "roles" + }, { "name": "stock-level", "doctype": "Page" + }, + { + "role": "Material Manager", + "doctype": "Page Role" + }, + { + "role": "Analytics", + "doctype": "Page Role" } ] \ No newline at end of file