2
0
forked from Wavyzz/dolibarr

Fix: not update total with special line (for the moment)

This commit is contained in:
Regis Houssin
2011-04-10 09:09:14 +00:00
parent b163b0c73c
commit 78a0078906
2 changed files with 7 additions and 7 deletions

View File

@@ -1003,7 +1003,7 @@ class Commande extends CommonObject
{
// Mise a jour informations denormalisees au niveau de la commande meme
$this->id=$commandeid; // TODO A virer
$result=$this->update_price($commandeid);
$result=$this->update_price(1);
if ($result > 0)
{
$this->db->commit();
@@ -2023,7 +2023,7 @@ class Commande extends CommonObject
if ($result > 0)
{
// Mise a jour info denormalisees
$this->update_price();
$this->update_price(1);
$this->db->commit();
return $result;