From 2a5b85acce696587c8f4192742bfe11d84f281a3 Mon Sep 17 00:00:00 2001 From: Yannick Vaucher Date: Thu, 24 Jan 2013 09:19:24 +0100 Subject: [PATCH] [IMP] res_partner_affiliate - python formating and cleaning --- res_partner_affiliate/__openerp__.py | 10 +++++----- res_partner_affiliate/res_partner.py | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/res_partner_affiliate/__openerp__.py b/res_partner_affiliate/__openerp__.py index 016cc5925..5d4afe93c 100644 --- a/res_partner_affiliate/__openerp__.py +++ b/res_partner_affiliate/__openerp__.py @@ -18,13 +18,13 @@ # along with this program. If not, see . # ############################################################################## -{'name' : 'Partner Affilates', - 'version' : '1.0', - 'author' : 'Camptocamp', +{'name': 'Partner Affilates', + 'version': '1.0', + 'author': 'Camptocamp', 'maintainer': 'Camptocamp', 'category': 'CRM', - 'complexity': "normal", # easy, normal, expert - 'depends' : ['base'], + 'complexity': 'normal', # easy, normal, expert + 'depends': ['base'], 'description': """Allows to use parent_id in company partner to refer to a parent company Plus will show a tab in parent company of affiliated companies""", 'website': 'http://www.camptocamp.com', diff --git a/res_partner_affiliate/res_partner.py b/res_partner_affiliate/res_partner.py index 438f9a8e9..3109bbb4b 100644 --- a/res_partner_affiliate/res_partner.py +++ b/res_partner_affiliate/res_partner.py @@ -34,5 +34,4 @@ class ResPartner(osv.osv): 'affiliate_ids': fields.one2many( 'res.partner', 'parent_id', 'Affiliates', domain=[('is_company','=', True)]), - #'lot_count': fields.function(_count_related, string="Lot", type='integer', multi='count_rel'), }