From fa8413a04a850597dc071b223845b13c9381c88e Mon Sep 17 00:00:00 2001 From: "Turkesh Patel (Open ERP)" Date: Mon, 5 Mar 2012 18:10:25 +0530 Subject: [PATCH] [ADD] added new configuration for project bzr revid: tpa@tinyerp.com-20120305124025-mwfht28zzivcl6bz --- addons/project/__init__.py | 1 + addons/project/__openerp__.py | 3 +- addons/project/res_config.py | 64 ++++++++++++++++++++++++++++++ addons/project/res_config_view.xml | 63 +++++++++++++++++++++++++++++ 4 files changed, 130 insertions(+), 1 deletion(-) create mode 100644 addons/project/res_config.py create mode 100644 addons/project/res_config_view.xml diff --git a/addons/project/__init__.py b/addons/project/__init__.py index 01bef264e02..becd17f0b78 100644 --- a/addons/project/__init__.py +++ b/addons/project/__init__.py @@ -24,5 +24,6 @@ import company import report import wizard import res_partner +import res_config # vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/project/__openerp__.py b/addons/project/__openerp__.py index 96a7dc4f28f..3288910d587 100644 --- a/addons/project/__openerp__.py +++ b/addons/project/__openerp__.py @@ -57,7 +57,8 @@ Dashboard for project members that includes: "report/project_report_view.xml", "board_project_view.xml", 'board_project_manager_view.xml', - 'report/project_cumulative.xml' + 'report/project_cumulative.xml', + 'res_config_view.xml', ], 'demo_xml': [ 'project_demo.xml', diff --git a/addons/project/res_config.py b/addons/project/res_config.py new file mode 100644 index 00000000000..9d9e740324a --- /dev/null +++ b/addons/project/res_config.py @@ -0,0 +1,64 @@ +# -*- coding: utf-8 -*- +############################################################################## +# +# OpenERP, Open Source Management Solution +# Copyright (C) 2004-2010 Tiny SPRL (). +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero 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 Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . +# +############################################################################## + +from osv import fields, osv +import pooler +from tools.translate import _ + +class project_configuration(osv.osv_memory): + _inherit = 'res.config.settings' + + _columns = { + 'module_project_mrp': fields.boolean('Allow to create tasks directly from a sale order', + help =""" + Automatically creates project tasks from procurement lines. + It installs the project_mrp module. + """), + 'module_pad': fields.boolean("Write project specification on collaborative note pad", + help="""Lets the company customize which Pad installation should be used to link to new pads + (by default, http://ietherpad.com/). + It installs the pad module."""), + 'module_project_timesheet': fields.boolean("Invoice working time on task", + help="""This allows you to transfer the entries under tasks defined for Project Management to + the Timesheet line entries for particular date and particular user with the effect of creating, editing and deleting either ways. + It installs the project_timesheet module."""), + 'module_project_scrum': fields.boolean("Allow to manage your project on Agile methodology", + help="""This allows to implement all concepts defined by the scrum project management methodology for IT companies. + * Project with sprints, product owner, scrum master + * Sprints with reviews, daily meetings, feedbacks + * Product backlog + * Sprint backlog + It installs the project_scrum module."""), + 'module_project_planning' : fields.boolean("Manage planning", + help="""This module helps you to manage your plannings. + each department manager can know if someone in his team has still unallocated time for a given planning (taking in consideration the validated leaves) or if he still needs to encode tasks. + It Installs project_planning module."""), + 'module_project_long_term': fields.boolean("Manage Long term planning", + help="""Long Term Project management module that tracks planning, scheduling, resources allocation. + It installs the project_long_term module."""), + 'module_project_issue_sheet': fields.boolean("Track and invoice working time", + help="""Allows to the Timesheet support for the Issues/Bugs Management in Project. + It installs the project_issue_sheet module."""), + } + +project_configuration() + +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file diff --git a/addons/project/res_config_view.xml b/addons/project/res_config_view.xml new file mode 100644 index 00000000000..42eb4fd16ea --- /dev/null +++ b/addons/project/res_config_view.xml @@ -0,0 +1,63 @@ + + + + + Project Application + res.config.settings + form + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + Configure Project Application + ir.actions.act_window + res.config.settings + + form + form + + + + +
+