|
@@ -2854,7 +2854,7 @@ class CommandeFournisseur extends CommonOrder
|
|
|
$this->line->localtax2_type = empty($localtaxes_type[2]) ? '' : $localtaxes_type[2];
|
|
|
$this->line->remise_percent = $remise_percent;
|
|
|
$this->line->subprice = $pu_ht;
|
|
|
- $this->line->rang = $this->rang;
|
|
|
+ $this->line->rang = $oldline->rang;
|
|
|
$this->line->info_bits = $info_bits;
|
|
|
$this->line->total_ht = $total_ht;
|
|
|
$this->line->total_tva = $total_tva;
|
|
@@ -2862,7 +2862,7 @@ class CommandeFournisseur extends CommonOrder
|
|
|
$this->line->total_localtax2 = $total_localtax2;
|
|
|
$this->line->total_ttc = $total_ttc;
|
|
|
$this->line->product_type = $type;
|
|
|
- $this->line->special_code = $this->special_code;
|
|
|
+ $this->line->special_code = $oldline->special_code;
|
|
|
$this->line->origin = $this->origin;
|
|
|
$this->line->fk_unit = $fk_unit;
|
|
|
|