Fix : bad name of property when retrieve extrafields for thirdparty
This commit is contained in:
parent
527beab671
commit
16e9f6db48
@ -169,7 +169,7 @@ abstract class CommonDocGenerator
|
|||||||
{
|
{
|
||||||
foreach($object->array_options as $key=>$label)
|
foreach($object->array_options as $key=>$label)
|
||||||
{
|
{
|
||||||
$extrafields['company_options_'.$key] = $label;
|
$extrafields['company_'.$key] = $label;
|
||||||
}
|
}
|
||||||
$array_thirdparty = array_merge($array_thirdparty,$extrafields);
|
$array_thirdparty = array_merge($array_thirdparty,$extrafields);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -865,7 +865,7 @@ class Societe extends CommonObject
|
|||||||
}
|
}
|
||||||
foreach($extrafields->attribute_label as $key=>$label)
|
foreach($extrafields->attribute_label as $key=>$label)
|
||||||
{
|
{
|
||||||
$this->array_options[$key]=$label;
|
$this->array_options['options_'.$key]=$label;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user