Bug #1 CFGTVA : impossible d'effacer un taux de TVA
This commit is contained in:
parent
17400a989a
commit
b9b28694d2
1 changed files with 1 additions and 1 deletions
|
|
@ -272,7 +272,7 @@ class Tva_Rate_MTable extends Manage_Table_SQL
|
|||
if ( $count < 2) {
|
||||
throw new Exception(_("Vous ne pouvez pas effacer tous les taux. Si votre société n'utilise pas la TVA, changer dans le menu société"));
|
||||
}
|
||||
|
||||
$cn->exec_sql("delete from tva_rate where tva_id=$1", [$this->table->tva_id]);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue