FIX: change object statut on close shipping and remove erratic db commit

This commit is contained in:
Christophe Battarel 2015-11-06 09:51:33 +01:00
parent 80d2445540
commit 4d11205a01

View File

@ -1542,8 +1542,8 @@ class Expedition extends CommonObject
if ($this->db->query($sql) )
{
//TODO: Option to set order billed if 100% of order is shipped
$this->statut=2;
$this->billed=1;
$this->db->commit();
return 1;
}
else