Browse Source

[IMP] put it back

pull/1/head
houssine 6 years ago
parent
commit
1a30250c9e
  1. 7
      easy_my_coop/models/operation_request.py

7
easy_my_coop/models/operation_request.py

@ -240,10 +240,9 @@ class operation_request(models.Model):
}) })
values['share_to_product_id'] = rec.share_to_product_id.id values['share_to_product_id'] = rec.share_to_product_id.id
values['quantity_to'] = convert_quant values['quantity_to'] = convert_quant
else:
raise ValidationError(_("Converting just part of the"
" shares is not yet"
" implemented"))
else:
raise ValidationError(_("Converting just part of the"
" shares is not yet implemented"))
elif rec.operation_type == 'transfer': elif rec.operation_type == 'transfer':
if rec.receiver_not_member: if rec.receiver_not_member:
partner = rec.subscription_request.create_coop_partner() partner = rec.subscription_request.create_coop_partner()

Loading…
Cancel
Save