Fix : shipment was not considered as billed after classifybilled function

This commit is contained in:
Maxime Kohlhaas
2015-05-06 12:39:10 +02:00
parent b203263e91
commit d2603d5308

View File

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