Merge pull request #17673 from OPEN-DSI/v11-fix-supplier-order-special-code

FIX keep special code on supplier order lines for external modules
This commit is contained in:
Laurent Destailleur 2021-05-20 14:13:07 +02:00 committed by GitHub
commit 5fd4da66cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1239,6 +1239,8 @@ if (empty($reshook))
$tva_tx = get_default_tva($soc, $mysoc, $lines[$i]->fk_product, $product_fourn_price_id);
}
$object->special_code = $lines[$i]->special_code;
$result = $object->addline(
$desc,
$lines[$i]->subprice,