Merge pull request #3909 from altatof/fixcloseshipping

FIX: change object statut on close shipping and remove erratic db commit
This commit is contained in:
Juanjo Menent 2015-11-06 10:16:00 +01:00
commit f33157033c

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