Fix bad list of id for supplier categories
This commit is contained in:
parent
976241da61
commit
f637269a27
@ -896,10 +896,14 @@ class Categorie extends CommonObject
|
|||||||
|
|
||||||
$sub_type = $type;
|
$sub_type = $type;
|
||||||
$subcol_name = "fk_".$type;
|
$subcol_name = "fk_".$type;
|
||||||
if ($type=="customer" || $type=="supplier") {
|
if ($type=="customer") {
|
||||||
$sub_type="societe";
|
$sub_type="societe";
|
||||||
$subcol_name="fk_soc";
|
$subcol_name="fk_soc";
|
||||||
}
|
}
|
||||||
|
if ($type=="supplier") {
|
||||||
|
$sub_type="fournisseur";
|
||||||
|
$subcol_name="fk_soc";
|
||||||
|
}
|
||||||
if ($type=="contact") {
|
if ($type=="contact") {
|
||||||
$subcol_name="fk_socpeople";
|
$subcol_name="fk_socpeople";
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user