Browse Source

whitespace cleanup

pull/2/head
Thomas Rehn 11 years ago
parent
commit
9d87571040
  1. 2
      base_partner_sequence/partner.py

2
base_partner_sequence/partner.py

@ -56,7 +56,7 @@ class ResPartner(orm.Model):
# only assign a 'ref' if it is a customer or supplier and
# if it not a child object (such as a shipping/invoice address)
if id:
vals = self.read(cr, uid, id, ['parent_id','customer','supplier'], context=context)
vals = self.read(cr, uid, id, ['parent_id', 'customer', 'supplier'], context=context)
return not vals.get('parent_id') and (vals.get('customer') or vals.get('supplier'))
_columns = {

Loading…
Cancel
Save