Skip to content
Snippets Groups Projects
Commit f3315703 authored by Juanjo Menent's avatar Juanjo Menent
Browse files

Merge pull request #3909 from altatof/fixcloseshipping

FIX: change object statut on close shipping and remove erratic db commit
parents 375e61de 4d11205a
No related branches found
No related tags found
No related merge requests found
...@@ -1542,8 +1542,8 @@ class Expedition extends CommonObject ...@@ -1542,8 +1542,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->statut=2;
$this->billed=1; $this->billed=1;
$this->db->commit();
return 1; return 1;
} }
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment