mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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
|
||||
}
|
||||
|
||||
$this->update_price();
|
||||
$this->update_price('','auto');
|
||||
|
||||
$this->db->commit();
|
||||
return 1;
|
||||
|
|
@ -1799,7 +1799,7 @@ class CommandeFournisseur extends CommonOrder
|
|||
}
|
||||
|
||||
// Mise a jour info denormalisees au niveau facture
|
||||
$this->update_price();
|
||||
$this->update_price('','auto');
|
||||
|
||||
$this->db->commit();
|
||||
return $result;
|
||||
|
|
|
|||
|
|
@ -1256,7 +1256,7 @@ class FactureFournisseur extends CommonInvoice
|
|||
}
|
||||
|
||||
// Update total price into invoice record
|
||||
$result=$this->update_price();
|
||||
$result=$this->update_price('','auto');
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
|
@ -1285,7 +1285,7 @@ class FactureFournisseur extends CommonInvoice
|
|||
|
||||
$error=0;
|
||||
$this->db->begin();
|
||||
|
||||
|
||||
if (! $error && ! $notrigger)
|
||||
{
|
||||
// Appel des triggers
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user