|
@ -150,6 +150,14 @@ class ResPartner(models.Model): |
|
|
data_policy_approved = fields.Boolean(string="Data Policy Approved ") |
|
|
data_policy_approved = fields.Boolean(string="Data Policy Approved ") |
|
|
financial_risk_approved = fields.Boolean(string="Financial Risk Approved ") |
|
|
financial_risk_approved = fields.Boolean(string="Financial Risk Approved ") |
|
|
|
|
|
|
|
|
|
|
|
@api.multi |
|
|
|
|
|
def touch_cooperator_type(self): |
|
|
|
|
|
self.ensure_one() |
|
|
|
|
|
for line in self.share_ids: |
|
|
|
|
|
line.share_product_id = line.share_product_id.id |
|
|
|
|
|
break |
|
|
|
|
|
return True |
|
|
|
|
|
|
|
|
@api.multi |
|
|
@api.multi |
|
|
@api.depends('subscription_request_ids.state') |
|
|
@api.depends('subscription_request_ids.state') |
|
|
def _compute_coop_candidate(self): |
|
|
def _compute_coop_candidate(self): |
|
|