diff --git a/htdocs/comm/propal/class/propal.class.php b/htdocs/comm/propal/class/propal.class.php index c444f127cd0..29987531925 100644 --- a/htdocs/comm/propal/class/propal.class.php +++ b/htdocs/comm/propal/class/propal.class.php @@ -955,7 +955,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 26dfa8a4759..87eafbe531c 100644 --- a/htdocs/commande/class/commande.class.php +++ b/htdocs/commande/class/commande.class.php @@ -3313,7 +3313,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 a0563b4ee87..feed2b70630 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -4083,7 +4083,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 {