FIX: TVA calc option must be the same on update line as on create line

This commit is contained in:
Florian HENRY 2023-06-29 16:50:21 +02:00
parent cf54e7879d
commit 505ea31c30
3 changed files with 3 additions and 3 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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 {