diff --git a/htdocs/comm/propal/class/propal.class.php b/htdocs/comm/propal/class/propal.class.php index 0df5d4ba61c..ec28157ee25 100644 --- a/htdocs/comm/propal/class/propal.class.php +++ b/htdocs/comm/propal/class/propal.class.php @@ -966,7 +966,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 ebd637bd43d..29b4fc2aa70 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -3309,7 +3309,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 1debda3aee3..851fc3a08b1 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -4270,7 +4270,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 {