forked from Wavyzz/dolibarr
will allow updating 1 orders single Complementary Attribute without specifying complementary attributes that we don't want to change. Similar to # 29115 but just for orders
This commit is contained in:
@@ -652,7 +652,12 @@ class Orders extends DolibarrApi
|
||||
$this->commande->context['caller'] = $request_data['caller'];
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($field == 'array_options' && is_array($value)) {
|
||||
foreach ($value as $index => $val) {
|
||||
$this->commande->array_options[$index] = $val;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
$this->commande->$field = $value;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user