Browse Source

Merge pull request #55 from coopiteasy/12.0-fix-wiz-flag-cooperator

[FIX] take new use case into account: sub req for non cooperator
pull/40/head
Houssine BAKKALI 5 years ago
committed by GitHub
parent
commit
c779f2aa5f
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):
vals = {'partner_id': cooperator.id, vals = {'partner_id': cooperator.id,
'share_product_id': self.share_product.id, 'share_product_id': self.share_product.id,
'ordered_parts': self.share_qty, 'ordered_parts': self.share_qty,
'cooperator': True,
'user_id': self.env.uid, 'user_id': self.env.uid,
'email': self.email, 'email': self.email,
'source': 'crm', 'source': 'crm',

Loading…
Cancel
Save