Browse Source

Merge pull request #54 from coopiteasy/9.0-fix-flag-cooperator

[FIX] fix uncovered use case
pull/60/head
Houssine BAKKALI 5 years ago
committed by GitHub
parent
commit
29fec9d5ec
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      easy_my_coop/wizard/create_subscription_from_partner.py

1
easy_my_coop/wizard/create_subscription_from_partner.py

@ -133,6 +133,7 @@ class PartnerCreateSubscription(models.TransientModel):
cooperator = self.cooperator cooperator = self.cooperator
vals = {'partner_id': cooperator.id, vals = {'partner_id': cooperator.id,
'cooperator': True,
'share_product_id': self.share_product.id, 'share_product_id': self.share_product.id,
'ordered_parts': self.share_qty, 'ordered_parts': self.share_qty,
'user_id': self.env.uid, 'user_id': self.env.uid,

Loading…
Cancel
Save