Browse Source

[FIX] take new use case into account: sub req for non cooperator

pull/55/head
houssine 5 years ago
parent
commit
124e52d5f3
  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