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