Browse Source

Merge branch '12.0' of https://github.com/coopiteasy/vertical-cooperative into 12.0

pull/46/head
houssine 5 years ago
parent
commit
aeb4de20aa
  1. 6
      easy_my_coop_be/models/coop.py

6
easy_my_coop_be/models/coop.py

@ -10,18 +10,18 @@ class SubscriptionRequest(models.Model):
('sa', 'SA')])
def get_partner_company_vals(self):
vals = super(SubscriptionRequest).get_partner_company_vals()
vals = super(SubscriptionRequest, self).get_partner_company_vals()
vals['out_inv_comm_algorithm'] = 'random'
return vals
def get_partner_vals(self):
vals = super(SubscriptionRequest).get_partner_vals()
vals = super(SubscriptionRequest, self).get_partner_vals()
vals['out_inv_comm_type'] = 'bba'
vals['out_inv_comm_algorithm'] = 'random'
return vals
def get_representative_valst(self):
vals = super(SubscriptionRequest).get_representative_vals()
vals = super(SubscriptionRequest, self).get_representative_vals()
vals['out_inv_comm_type'] = 'bba'
vals['out_inv_comm_algorithm'] = 'random'
return vals
Loading…
Cancel
Save