FIX: TVA calc option must be the same on update line as on create line
This commit is contained in:
parent
cf54e7879d
commit
505ea31c30
3 changed files with 3 additions and 3 deletions
|
|
@ -955,7 +955,7 @@ class Propal extends CommonObject
|
|||
$this->line_order(true, 'DESC');
|
||||
}
|
||||
|
||||
$this->update_price(1);
|
||||
$this->update_price(1, 'auto');
|
||||
|
||||
$this->fk_propal = $this->id;
|
||||
$this->rowid = $rowid;
|
||||
|
|
|
|||
|
|
@ -3313,7 +3313,7 @@ class Commande extends CommonOrder
|
|||
}
|
||||
|
||||
// Mise a jour info denormalisees
|
||||
$this->update_price(1);
|
||||
$this->update_price(1, 'auto');
|
||||
|
||||
$this->db->commit();
|
||||
return $result;
|
||||
|
|
|
|||
|
|
@ -4083,7 +4083,7 @@ class Facture extends CommonInvoice
|
|||
}
|
||||
|
||||
// Mise a jour info denormalisees au niveau facture
|
||||
$this->update_price(1);
|
||||
$this->update_price(1, 'auto');
|
||||
$this->db->commit();
|
||||
return $result;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue