|
@ -140,7 +140,7 @@ class ResPartner(models.Model): |
|
|
partner.hierarchy_id = ( |
|
|
partner.hierarchy_id = ( |
|
|
partner.id |
|
|
partner.id |
|
|
if partner.ffck_network |
|
|
if partner.ffck_network |
|
|
and int(partner.partner_scale) in range(1, 4) |
|
|
|
|
|
|
|
|
and int(partner.partner_scale) in list(range(1, 5)) |
|
|
and partner.partner_code |
|
|
and partner.partner_code |
|
|
else partner.local_partner_id.id |
|
|
else partner.local_partner_id.id |
|
|
or partner.cdck_partner_id.id |
|
|
or partner.cdck_partner_id.id |
|
|