Browse Source

[IMP] res_partner_affiliate - python formating and cleaning

pull/2/head
Yannick Vaucher 12 years ago
parent
commit
2a5b85acce
  1. 2
      res_partner_affiliate/__openerp__.py
  2. 1
      res_partner_affiliate/res_partner.py

2
res_partner_affiliate/__openerp__.py

@ -23,7 +23,7 @@
'author': 'Camptocamp',
'maintainer': 'Camptocamp',
'category': 'CRM',
'complexity': "normal", # easy, normal, expert
'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""",

1
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'),
}
Loading…
Cancel
Save