From 989bccca459d39e1854e442a3a223fd2abf949e4 Mon Sep 17 00:00:00 2001 From: Ranjit Pillai Date: Tue, 4 Aug 2015 11:19:51 +0530 Subject: [PATCH] [MIG] crm_project_issue: migrate into new api Part of the code was refactor by applying `self.ensure_one()`, and removing the loop 'for'. --- addons/crm_project_issue/__openerp__.py | 4 +- .../views/crm_lead_views.xml | 2 +- .../wizard/crm_lead2projectissue_wizard.py | 91 +++++++++---------- .../crm_lead2projectissue_wizard_view.xml | 26 +++--- 4 files changed, 56 insertions(+), 67 deletions(-) diff --git a/addons/crm_project_issue/__openerp__.py b/addons/crm_project_issue/__openerp__.py index 6479c9a9405..7f6e9d8cb66 100644 --- a/addons/crm_project_issue/__openerp__.py +++ b/addons/crm_project_issue/__openerp__.py @@ -1,6 +1,7 @@ +# -*- coding: utf-8 -*- +# Part of Odoo. See LICENSE file for full copyright and licensing details. { 'name': 'Lead to Issue', - 'version': '1.0', 'summary': 'Create Issues from Leads', 'sequence': '19', 'category': 'Project Management', @@ -16,5 +17,4 @@ Link module to map leads to issues 'views/crm_lead_views.xml' ], 'depends': ['crm', 'project_issue'], - 'installable': True, } diff --git a/addons/crm_project_issue/views/crm_lead_views.xml b/addons/crm_project_issue/views/crm_lead_views.xml index 534ab2f8b0d..748529ed576 100644 --- a/addons/crm_project_issue/views/crm_lead_views.xml +++ b/addons/crm_project_issue/views/crm_lead_views.xml @@ -8,7 +8,7 @@ -