mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
FIX : fk_expedition in $line can be usefull for triggers
This commit is contained in:
parent
317e28ff6f
commit
aff9a423ab
|
|
@ -581,6 +581,7 @@ if (empty($reshook)) {
|
|||
for ($i = 0; $i < $num_prod; $i++) {
|
||||
if ($lines[$i]->id == $line_id) { // we have found line to update
|
||||
$line = new ExpeditionLigne($db);
|
||||
$line->fk_expedition = $object->id;
|
||||
|
||||
// Extrafields Lines
|
||||
$line->array_options = $extrafields->getOptionalsFromPost($object->table_element_line);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user