|
@ -275,7 +275,7 @@ class WebsiteSubscription(http.Controller): |
|
|
max_amount = max_amount - partner.total_value |
|
|
max_amount = max_amount - partner.total_value |
|
|
if company.unmix_share_type: |
|
|
if company.unmix_share_type: |
|
|
share = self.get_selected_share(kwargs) |
|
|
share = self.get_selected_share(kwargs) |
|
|
if partner.cooperator_type != share.short_name: |
|
|
|
|
|
|
|
|
if partner.cooperator_type != share.default_code: |
|
|
values = self.fill_values(values, is_company, logged) |
|
|
values = self.fill_values(values, is_company, logged) |
|
|
values["error_msg"] = (_("You can't subscribe two " |
|
|
values["error_msg"] = (_("You can't subscribe two " |
|
|
"different types of share")) |
|
|
"different types of share")) |
|
|