Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Rushabh Mehta 2013-01-29 17:54:04 +05:30
commit abf8fe414b
5 changed files with 54 additions and 68 deletions

View File

@ -1,40 +1,36 @@
[ [
{ {
"owner": "Administrator", "creation": "2013-01-27 16:30:52",
"docstatus": 0, "docstatus": 0,
"creation": "2012-09-18 11:05:48", "modified": "2013-01-29 13:11:00",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-10-04 17:02:43" "owner": "Administrator"
}, },
{ {
"name": "__common__",
"title": "Financial Analytics",
"module": "Accounts",
"doctype": "Page", "doctype": "Page",
"module": "Accounts",
"name": "__common__",
"page_name": "financial-analytics", "page_name": "financial-analytics",
"standard": "Yes" "standard": "Yes",
"title": "Financial Analytics"
}, },
{ {
"doctype": "Page Role",
"name": "__common__", "name": "__common__",
"parent": "financial-analytics", "parent": "financial-analytics",
"parentfield": "roles",
"parenttype": "Page"
},
{
"doctype": "Page",
"name": "financial-analytics"
},
{
"doctype": "Page Role", "doctype": "Page Role",
"parenttype": "Page", "role": "Analytics"
"parentfield": "roles"
}, },
{ {
"name": "financial-analytics", "doctype": "Page Role",
"doctype": "Page" "role": "Accounts Manager"
},
{
"role": "Analytics",
"doctype": "Page Role"
},
{
"role": "Accounts Manager",
"doctype": "Page Role"
},
{
"role": "Accounts User",
"doctype": "Page Role"
} }
] ]

View File

@ -86,10 +86,10 @@ pscript.stmt_new = function(stmt,company_name,level,period,year) {
var company = sel_val($i('stmt_company')) var company = sel_val($i('stmt_company'))
var arg = { var arg = {
statement:sel_val($i('stmt_type')) statement:sel_val($i('stmt_type')),
,company:company, company:company,
,period:sel_val($i('stmt_period')) period:sel_val($i('stmt_period')),
,year:sel_val($i('stmt_fiscal_year')) year:sel_val($i('stmt_fiscal_year'))
} }
$c_obj('MIS Control', 'get_statement', docstring(arg), function(r,rt) { $c_obj('MIS Control', 'get_statement', docstring(arg), function(r,rt) {

View File

@ -1,35 +1,31 @@
[ [
{ {
"owner": "Administrator", "creation": "2013-01-27 16:30:52",
"docstatus": 0, "docstatus": 0,
"creation": "2012-06-14 15:07:28", "modified": "2013-01-29 13:11:17",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-10-04 17:04:05" "owner": "Administrator"
}, },
{ {
"name": "__common__",
"module": "Accounts",
"page_name": "Financial Statements",
"doctype": "Page", "doctype": "Page",
"module": "Accounts",
"name": "__common__",
"page_name": "Financial Statements",
"standard": "Yes" "standard": "Yes"
}, },
{ {
"doctype": "Page Role",
"name": "__common__", "name": "__common__",
"parent": "Financial Statements", "parent": "Financial Statements",
"doctype": "Page Role", "parentfield": "roles",
"parenttype": "Page", "parenttype": "Page",
"parentfield": "roles" "role": "Accounts Manager"
}, },
{ {
"name": "Financial Statements", "doctype": "Page",
"doctype": "Page" "name": "Financial Statements"
}, },
{ {
"role": "Accounts User",
"doctype": "Page Role"
},
{
"role": "Accounts Manager",
"doctype": "Page Role" "doctype": "Page Role"
} }
] ]

View File

@ -1,40 +1,36 @@
[ [
{ {
"owner": "Administrator", "creation": "2013-01-27 16:30:52",
"docstatus": 0, "docstatus": 0,
"creation": "2012-09-18 11:05:48", "modified": "2013-01-29 13:11:43",
"modified_by": "Administrator", "modified_by": "Administrator",
"modified": "2012-10-04 17:01:47" "owner": "Administrator"
}, },
{ {
"name": "__common__",
"title": "Trial Balance",
"module": "Accounts",
"doctype": "Page", "doctype": "Page",
"module": "Accounts",
"name": "__common__",
"page_name": "trial-balance", "page_name": "trial-balance",
"standard": "Yes" "standard": "Yes",
"title": "Trial Balance"
}, },
{ {
"doctype": "Page Role",
"name": "__common__", "name": "__common__",
"parent": "trial-balance", "parent": "trial-balance",
"parentfield": "roles",
"parenttype": "Page"
},
{
"doctype": "Page",
"name": "trial-balance"
},
{
"doctype": "Page Role", "doctype": "Page Role",
"parenttype": "Page", "role": "Analytics"
"parentfield": "roles"
}, },
{ {
"name": "trial-balance", "doctype": "Page Role",
"doctype": "Page" "role": "Accounts Manager"
},
{
"role": "Analytics",
"doctype": "Page Role"
},
{
"role": "Accounts Manager",
"doctype": "Page Role"
},
{
"role": "Accounts User",
"doctype": "Page Role"
} }
] ]

View File

@ -12,15 +12,13 @@
# GNU General Public License for more details. # GNU General Public License for more details.
# #
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
from __future__ import unicode_literals from __future__ import unicode_literals
patch_list = [ patch_list = [
"patches.mar_2012.so_rv_mapper_fix", "patches.mar_2012.so_rv_mapper_fix",
"patches.mar_2012.clean_property_setter", "patches.mar_2012.clean_property_setter",
"patches.jan_mar_2012.sync_ref_db",
"patches.april_2012.naming_series_patch", "patches.april_2012.naming_series_patch",
"patches.jan_mar_2012.rename_dt",
"patches.mar_2012.cleanup_control_panel", "patches.mar_2012.cleanup_control_panel",
"patches.mar_2012.doctype_get_refactor", "patches.mar_2012.doctype_get_refactor",
"patches.mar_2012.delete_docformat", "patches.mar_2012.delete_docformat",