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'), }