This commit is contained in:
Laurent Destailleur 2020-01-22 16:24:16 +01:00
parent 7964699674
commit 381f2d5eee

View File

@ -769,7 +769,7 @@ class Societe extends CommonObject
} }
} }
// Check for mandatory prof id (but only if country is other than ours) // Check for mandatory prof id (but only if country is same than ours)
if ($mysoc->country_id > 0 && $this->country_id == $mysoc->country_id) if ($mysoc->country_id > 0 && $this->country_id == $mysoc->country_id)
{ {
$idprof_mandatory ='SOCIETE_'.$key.'_MANDATORY'; $idprof_mandatory ='SOCIETE_'.$key.'_MANDATORY';