|
@ -10,18 +10,18 @@ class SubscriptionRequest(models.Model): |
|
|
('sa', 'SA')]) |
|
|
('sa', 'SA')]) |
|
|
|
|
|
|
|
|
def get_partner_company_vals(self): |
|
|
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' |
|
|
vals['out_inv_comm_algorithm'] = 'random' |
|
|
return vals |
|
|
return vals |
|
|
|
|
|
|
|
|
def get_partner_vals(self): |
|
|
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_type'] = 'bba' |
|
|
vals['out_inv_comm_algorithm'] = 'random' |
|
|
vals['out_inv_comm_algorithm'] = 'random' |
|
|
return vals |
|
|
return vals |
|
|
|
|
|
|
|
|
def get_representative_valst(self): |
|
|
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_type'] = 'bba' |
|
|
vals['out_inv_comm_algorithm'] = 'random' |
|
|
vals['out_inv_comm_algorithm'] = 'random' |
|
|
return vals |
|
|
return vals |