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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
0 deletions
-
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, |
|
|