mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-27 00:44:45 +00:00
[cleanup] removed Project Activity, Project Activity Update, Project Control, projects (page)
This commit is contained in:
@@ -1 +0,0 @@
|
||||
from __future__ import unicode_literals
|
||||
@@ -1,6 +0,0 @@
|
||||
.gantt {
|
||||
-moz-box-sizing: border-box;
|
||||
border: 14px solid #DDDDDD;
|
||||
border-radius: 6px 6px 6px 6px;
|
||||
margin: 20px auto;
|
||||
}
|
||||
@@ -1,24 +0,0 @@
|
||||
// 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 <http://www.gnu.org/licenses/>.
|
||||
|
||||
pscript.onload_Projects = function(wrapper) {
|
||||
wn.ui.make_app_page({parent:wrapper, title:'Gantt Chart: All Tasks', single_column:true});
|
||||
if(!erpnext.show_task_gantt)
|
||||
wn.require('app/js/gantt_task.js');
|
||||
|
||||
var gantt_area = $('<div>').appendTo($(wrapper).find('.layout-main'));
|
||||
erpnext.show_task_gantt(gantt_area);
|
||||
}
|
||||
@@ -1,29 +0,0 @@
|
||||
# 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 <http://www.gnu.org/licenses/>.
|
||||
|
||||
from __future__ import unicode_literals
|
||||
import webnotes
|
||||
|
||||
@webnotes.whitelist()
|
||||
def get_tasks():
|
||||
cond = ''
|
||||
if webnotes.form_dict.get('project'):
|
||||
cond = ' and project="%s"' % webnotes.form_dict.get('project')
|
||||
return webnotes.conn.sql("""select name, project, subject, exp_start_date, exp_end_date,
|
||||
description, status from tabTask where
|
||||
project is not null
|
||||
and exp_start_date is not null
|
||||
and exp_end_date is not null %s""" % cond, as_dict=True)
|
||||
@@ -1,31 +0,0 @@
|
||||
[
|
||||
{
|
||||
"owner": "Administrator",
|
||||
"docstatus": 0,
|
||||
"creation": "2012-06-14 18:44:57",
|
||||
"modified_by": "Administrator",
|
||||
"modified": "2013-01-09 17:19:26"
|
||||
},
|
||||
{
|
||||
"name": "__common__",
|
||||
"doctype": "Page",
|
||||
"module": "Projects",
|
||||
"standard": "Yes",
|
||||
"page_name": "Projects"
|
||||
},
|
||||
{
|
||||
"name": "__common__",
|
||||
"parent": "Projects",
|
||||
"doctype": "Page Role",
|
||||
"parenttype": "Page",
|
||||
"role": "Projects User",
|
||||
"parentfield": "roles"
|
||||
},
|
||||
{
|
||||
"name": "Projects",
|
||||
"doctype": "Page"
|
||||
},
|
||||
{
|
||||
"doctype": "Page Role"
|
||||
}
|
||||
]
|
||||
Reference in New Issue
Block a user