Use 'auto' mode for all input done from user interface
This commit is contained in:
parent
7ecfd4c243
commit
dd81cda210
@ -1216,7 +1216,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
// Fin appel triggers
|
// Fin appel triggers
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->update_price();
|
$this->update_price('','auto');
|
||||||
|
|
||||||
$this->db->commit();
|
$this->db->commit();
|
||||||
return 1;
|
return 1;
|
||||||
@ -1799,7 +1799,7 @@ class CommandeFournisseur extends CommonOrder
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Mise a jour info denormalisees au niveau facture
|
// Mise a jour info denormalisees au niveau facture
|
||||||
$this->update_price();
|
$this->update_price('','auto');
|
||||||
|
|
||||||
$this->db->commit();
|
$this->db->commit();
|
||||||
return $result;
|
return $result;
|
||||||
|
|||||||
@ -1256,7 +1256,7 @@ class FactureFournisseur extends CommonInvoice
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Update total price into invoice record
|
// Update total price into invoice record
|
||||||
$result=$this->update_price();
|
$result=$this->update_price('','auto');
|
||||||
|
|
||||||
return $result;
|
return $result;
|
||||||
}
|
}
|
||||||
@ -1285,7 +1285,7 @@ class FactureFournisseur extends CommonInvoice
|
|||||||
|
|
||||||
$error=0;
|
$error=0;
|
||||||
$this->db->begin();
|
$this->db->begin();
|
||||||
|
|
||||||
if (! $error && ! $notrigger)
|
if (! $error && ! $notrigger)
|
||||||
{
|
{
|
||||||
// Appel des triggers
|
// Appel des triggers
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user