Browse Source

[FIX] emc: _compute_cooperator_type returns id

pull/47/head
robin.keunen 5 years ago
parent
commit
80f6d8f90d
  1. 2
      easy_my_coop/models/partner.py

2
easy_my_coop/models/partner.py

@ -75,7 +75,7 @@ class ResPartner(models.Model):
for partner in self:
share_type = ''
for line in partner.share_ids:
share_type = line.share_product_id.default_code
share_type = line.share_product_id.id
if share_type:
partner.cooperator_type = share_type

Loading…
Cancel
Save