Fix: remove draft status if invoice is validated

This commit is contained in:
Regis Houssin 2012-08-06 09:13:50 +02:00
parent a0ac6873ed
commit 1b2e6aa5e4

View File

@ -1736,6 +1736,7 @@ class Facture extends CommonInvoice
$this->ref = $num;
$this->facnumber=$num;
$this->statut=1;
$this->brouillon=0;
$this->date_validation=$now;
}