added page permissions, modified report listing links

This commit is contained in:
Anand Doshi
2012-10-04 18:11:29 +05:30
parent 278f93c941
commit cdba51c5a9
22 changed files with 492 additions and 167 deletions

View File

@@ -3,42 +3,47 @@
# These values are common in all dictionaries
{
'creation': '2010-12-14 10:23:28',
'docstatus': 0,
'modified': '2010-12-29 12:57:23',
'modified_by': 'Administrator',
'owner': 'Administrator'
u'creation': '2012-06-14 15:07:28',
u'docstatus': 0,
u'modified': '2012-10-04 16:57:27',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
},
# These values are common for all Page
{
'doctype': 'Page',
'module': 'Accounts',
'name': '__common__',
'page_name': 'Accounts Browser',
u'doctype': u'Page',
'module': u'Accounts',
u'name': u'__common__',
'page_name': u'Accounts Browser',
'show_in_menu': 0,
'standard': 'Yes'
'standard': u'Yes'
},
# These values are common for all Page Role
{
'doctype': 'Page Role',
'idx': 1,
'name': '__common__',
'parent': 'Accounts Browser',
'parentfield': 'roles',
'parenttype': 'Page',
'role': 'Accounts User'
u'doctype': u'Page Role',
u'name': u'__common__',
'parent': u'Accounts Browser',
'parentfield': u'roles',
'parenttype': u'Page'
},
# Page, Accounts Browser
{
'doctype': 'Page',
'name': 'Accounts Browser'
u'doctype': u'Page',
u'name': u'Accounts Browser'
},
# Page Role
{
'doctype': 'Page Role'
u'doctype': u'Page Role',
'role': u'Accounts User'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Accounts Manager'
}
]

View File

@@ -12,23 +12,29 @@
<p class="help">Bills raised by Suppliers</p>
</div>
<div style="width: 48%; float: right;">
<h4><a href="#!Accounts Browser/Account" data-role="Accounts Manager, Accounts User">Chart of Accounts</a></h4>
<h4><a href="#!Accounts Browser/Account"
data-role="Accounts Manager, Accounts User">Chart of Accounts</a></h4>
<p class="help">Structure of books of accounts</p>
<br>
<h4><a href="#!Accounts Browser/Cost Center">Chart of Cost Centers</a></h4>
<p class="help">Structure cost centers</p>
<br>
<h4><a href="#general-ledger" data-role="Analytics">General Ledger</a>
<h4><a href="#general-ledger"
data-role="Analytics, Accounts Manager, Accounts User">
General Ledger</a>
<span style="background-color: #fed; font-weight: normal; font-size: 80%">beta</span>
</h4>
<p class="help">General Ledger Report</p>
<br>
<h4><a href="#trial-balance" data-role="Analytics">Trial Balance</a>
<h4><a href="#trial-balance"
data-role="Analytics, Accounts Manager, Accounts User">Trial Balance</a>
<span style="background-color: #fed; font-weight: normal; font-size: 80%">beta</span>
</h4>
<p class="help">Tree view of all Account balances</p>
<br>
<h4><a href="#financial-analytics" data-role="Analytics">Financial Analytics</a>
<h4><a href="#financial-analytics"
data-role="Analytics, Accounts Manager, Accounts User">
Financial Analytics</a>
<span style="background-color: #fed; font-weight: normal; font-size: 80%">beta</span>
</h4>
<p class="help">Visual representation of financial trends</p>
@@ -64,12 +70,13 @@
href="#!Form/Sales and Purchase Return Tool/Sales and Purchase Return Tool">Sales or Purchase Returns</a>
</div>
<div class="section-item">
<a class="section-link" data-role="Analytics"
<a class="section-link"
title = "Analyze Sales and Purchase trends and slice them based on item, customer, groups etc"
href="#!Report/Profile/Trend Analyzer">Trend Analyzer</a>
</div>
<div class="section-item">
<a class="section-link" data-role="Accounts Manager"
<a class="section-link"
data-role="Accounts Manager, Accounts User"
title = "Check your Balance Sheet and Profit & Loss Statement"
href="#!Financial Statements">Financial Statements</a>
</div>

View File

@@ -3,26 +3,47 @@
# These values are common in all dictionaries
{
'creation': '2012-02-21 13:23:08',
'docstatus': 0,
'modified': '2012-02-21 13:23:08',
'modified_by': u'Administrator',
'owner': u'Administrator'
u'creation': '2012-06-14 15:07:28',
u'docstatus': 0,
u'modified': '2012-10-04 16:58:11',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
},
# These values are common for all Page
{
'doctype': 'Page',
u'doctype': u'Page',
'module': u'Accounts',
'name': '__common__',
u'name': u'__common__',
'page_name': u'accounts-home',
'standard': u'Yes',
'title': u'Accounts Home'
},
# These values are common for all Page Role
{
u'doctype': u'Page Role',
u'name': u'__common__',
'parent': u'accounts-home',
'parentfield': u'roles',
'parenttype': u'Page'
},
# Page, accounts-home
{
'doctype': 'Page',
'name': u'accounts-home'
u'doctype': u'Page',
u'name': u'accounts-home'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Accounts Manager'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Accounts User'
}
]

View File

@@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
u'creation': '2012-09-17 13:46:47',
u'creation': '2012-09-18 11:05:48',
u'docstatus': 0,
u'modified': '2012-09-17 13:46:47',
u'modified': '2012-10-04 17:02:43',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
},
@@ -20,9 +20,36 @@
'title': u'Financial Analytics'
},
# These values are common for all Page Role
{
u'doctype': u'Page Role',
u'name': u'__common__',
'parent': u'financial-analytics',
'parentfield': u'roles',
'parenttype': u'Page'
},
# Page, financial-analytics
{
u'doctype': u'Page',
u'name': u'financial-analytics'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Analytics'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Accounts Manager'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Accounts User'
}
]

View File

@@ -3,56 +3,47 @@
# These values are common in all dictionaries
{
'creation': '2010-10-12 15:19:32',
'docstatus': 0,
'modified': '2011-01-03 17:32:30',
'modified_by': 'Administrator',
'owner': 'Administrator'
u'creation': '2012-06-14 15:07:28',
u'docstatus': 0,
u'modified': '2012-10-04 17:04:05',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
},
# These values are common for all Page
{
'doctype': 'Page',
'module': 'Accounts',
'name': '__common__',
'page_name': 'Financial Statements',
u'doctype': u'Page',
'module': u'Accounts',
u'name': u'__common__',
'page_name': u'Financial Statements',
'show_in_menu': 0,
'standard': 'Yes'
'standard': u'Yes'
},
# These values are common for all Page Role
{
'doctype': 'Page Role',
'name': '__common__',
'parent': 'Financial Statements',
'parentfield': 'roles',
'parenttype': 'Page'
u'doctype': u'Page Role',
u'name': u'__common__',
'parent': u'Financial Statements',
'parentfield': u'roles',
'parenttype': u'Page'
},
# Page, Financial Statements
{
'doctype': 'Page',
'name': 'Financial Statements'
u'doctype': u'Page',
u'name': u'Financial Statements'
},
# Page Role
{
'doctype': 'Page Role',
'idx': 1,
'role': 'Accounts User'
u'doctype': u'Page Role',
'role': u'Accounts User'
},
# Page Role
{
'doctype': 'Page Role',
'idx': 2,
'role': 'Administrator'
},
# Page Role
{
'doctype': 'Page Role',
'idx': 3,
'role': 'Accounts Manager'
u'doctype': u'Page Role',
'role': u'Accounts Manager'
}
]

View File

@@ -3,26 +3,53 @@
# These values are common in all dictionaries
{
'creation': '2012-09-13 13:50:13',
'docstatus': 0,
'modified': '2012-09-13 13:50:13',
'modified_by': u'Administrator',
'owner': u'Administrator'
u'creation': '2012-09-14 11:25:48',
u'docstatus': 0,
u'modified': '2012-10-04 17:00:09',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
},
# These values are common for all Page
{
'doctype': 'Page',
u'doctype': u'Page',
'module': u'Accounts',
'name': '__common__',
u'name': u'__common__',
'page_name': u'general-ledger',
'standard': u'Yes',
'title': u'General Ledger'
},
# These values are common for all Page Role
{
u'doctype': u'Page Role',
u'name': u'__common__',
'parent': u'general-ledger',
'parentfield': u'roles',
'parenttype': u'Page'
},
# Page, general-ledger
{
'doctype': 'Page',
'name': u'general-ledger'
u'doctype': u'Page',
u'name': u'general-ledger'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Analytics'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Accounts Manager'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Accounts User'
}
]

View File

@@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
u'creation': '2012-09-17 13:47:16',
u'creation': '2012-09-18 11:05:48',
u'docstatus': 0,
u'modified': '2012-09-17 13:47:16',
u'modified': '2012-10-04 17:01:47',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
},
@@ -20,9 +20,36 @@
'title': u'Trial Balance'
},
# These values are common for all Page Role
{
u'doctype': u'Page Role',
u'name': u'__common__',
'parent': u'trial-balance',
'parentfield': u'roles',
'parenttype': u'Page'
},
# Page, trial-balance
{
u'doctype': u'Page',
u'name': u'trial-balance'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Analytics'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Accounts Manager'
},
# Page Role
{
u'doctype': u'Page Role',
'role': u'Accounts User'
}
]

View File

@@ -3,9 +3,9 @@
# These values are common in all dictionaries
{
u'creation': '2012-09-26 15:21:57',
u'creation': '2012-10-02 18:51:49',
u'docstatus': 0,
u'modified': '2012-09-26 15:21:57',
u'modified': '2012-10-04 17:04:18',
u'modified_by': u'Administrator',
u'owner': u'Administrator'
},
@@ -20,9 +20,24 @@
'title': u'Voucher Import Tool'
},
# These values are common for all Page Role
{
u'doctype': u'Page Role',
u'name': u'__common__',
'parent': u'voucher-import-tool',
'parentfield': u'roles',
'parenttype': u'Page',
'role': u'Accounts Manager'
},
# Page, voucher-import-tool
{
u'doctype': u'Page',
u'name': u'voucher-import-tool'
},
# Page Role
{
u'doctype': u'Page Role'
}
]