diff --git a/htdocs/comm/propal/class/propal.class.php b/htdocs/comm/propal/class/propal.class.php index c30e2218607..2dbaeaf056e 100644 --- a/htdocs/comm/propal/class/propal.class.php +++ b/htdocs/comm/propal/class/propal.class.php @@ -959,7 +959,7 @@ class Propal extends CommonObject $this->line_order(true, 'DESC'); } - $this->update_price(1); + $this->update_price(1, 'auto'); $this->fk_propal = $this->id; $this->rowid = $rowid; diff --git a/htdocs/commande/class/commande.class.php b/htdocs/commande/class/commande.class.php index 6acab5152f1..7746a342faa 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -3301,7 +3301,7 @@ class Commande extends CommonOrder } // Mise a jour info denormalisees - $this->update_price(1); + $this->update_price(1, 'auto'); $this->db->commit(); return $result; diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index fbb86a4a29f..bbb91441312 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -4063,7 +4063,7 @@ class Facture extends CommonInvoice } // Mise a jour info denormalisees au niveau facture - $this->update_price(1); + $this->update_price(1, 'auto'); $this->db->commit(); return $result; } else {