From cbdd2134a8737b74be53a2a16fb4b864127f91f0 Mon Sep 17 00:00:00 2001 From: jas Date: Tue, 12 Oct 2010 15:55:37 +0530 Subject: [PATCH] [IMP] project_issue, project_long_term : improved string and corrected spelling mistake in demo file bzr revid: jas@tinyerp.com-20101012102537-r35k4pe4ej56yxpt --- addons/project_issue/project_issue.py | 10 +++---- .../project_long_term_demo.xml | 26 +++++++++---------- 2 files changed, 18 insertions(+), 18 deletions(-) diff --git a/addons/project_issue/project_issue.py b/addons/project_issue/project_issue.py index 2788b59ed7d..7aa501dd41b 100644 --- a/addons/project_issue/project_issue.py +++ b/addons/project_issue/project_issue.py @@ -141,7 +141,7 @@ class project_issue(crm.crm_case, osv.osv): else: res[issue.id][field] = abs(float(duration)) return res - + _columns = { 'id': fields.integer('ID'), 'name': fields.char('Name', size=128, required=True), @@ -172,7 +172,7 @@ class project_issue(crm.crm_case, osv.osv): 'canal_id': fields.many2one('res.partner.canal', 'Channel', help="The channels represent the different communication modes available with the customer." \ " With each commercial opportunity, you can indicate the canall which is this opportunity source."), 'categ_id': fields.many2one('crm.case.categ', 'Category', domain="[('object_id.model', '=', 'crm.project.bug')]"), - 'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Severity'), + 'priority': fields.selection(crm.AVAILABLE_PRIORITIES, 'Priority'), 'version_id': fields.many2one('project.issue.version', 'Version'), 'partner_name': fields.char("Employee's Name", size=64), 'partner_mobile': fields.char('Mobile', size=32), @@ -288,11 +288,11 @@ class project_issue(crm.crm_case, osv.osv): if not stage.on_change: return {'value':{}} return {'value':{}} - + def onchange_task_id(self, cr, uid, ids, task_id, context=None): if context is None: context = {} - result = {} + result = {} if not task_id: return {'value':{}} task = self.pool.get('project.task').browse(cr, uid, task_id, context) @@ -442,7 +442,7 @@ class project_issue(crm.crm_case, osv.osv): @param **args: Return Dictionary of Keyword Value """ return True - + def copy(self, cr, uid, id, default=None, context=None): if not context: context={} diff --git a/addons/project_long_term/project_long_term_demo.xml b/addons/project_long_term/project_long_term_demo.xml index 30acac99377..4de53c0f38d 100644 --- a/addons/project_long_term/project_long_term_demo.xml +++ b/addons/project_long_term/project_long_term_demo.xml @@ -1,13 +1,13 @@ - - + - Phoung + Phuong phu phu @@ -19,7 +19,7 @@ This Demo data file includes Users, Human Resources, Projects and it' members li al - Qwintin + Quentin qdp qdp @@ -91,8 +91,8 @@ This Demo data file includes Users, Human Resources, Projects and it' members li Project Finacial Manager - - + + @@ -101,12 +101,12 @@ This Demo data file includes Users, Human Resources, Projects and it' members li normal Integrate an Sale and Warehouse Management. Integrate an Sale and Warehouse Management. @@ -213,7 +213,7 @@ This Demo data file includes Users, Human Resources, Projects and it' members li - +