Fix remove warning missing the seller in update_price

This commit is contained in:
Laurent Destailleur 2020-04-24 19:52:54 +02:00
parent df10b86d1f
commit 6798e9e6f5

View File

@ -1967,7 +1967,7 @@ class FactureFournisseur extends CommonInvoice
$this->errors[] = $line->error; $this->errors[] = $line->error;
} else { } else {
// Update total price into invoice record // Update total price into invoice record
$res = $this->update_price('', 'auto'); $res = $this->update_price('', 'auto', 0, $this->thirdparty);
} }
return $res; return $res;