diff --git a/Controller/Randomizer.php b/Controller/Randomizer.php
index c50abd8..8cf2f47 100644
--- a/Controller/Randomizer.php
+++ b/Controller/Randomizer.php
@@ -22,7 +22,6 @@
use FacturaScripts\Core\Base;
use FacturaScripts\Core\Model\User;
use FacturaScripts\Core\Tools;
-use FacturaScripts\Dinamic\Model\Comision;
use FacturaScripts\Core\Response;
/**
@@ -135,10 +134,6 @@ private function loadButtons(): void
$this->addButton('sales', 'grupos', 'generated-customer-groups', 'customer-groups', 'fa-solid fa-users-cog', 'Random\\GruposClientes', 'GrupoClientes');
$this->addButton('sales', 'clientes', 'generated-customers', 'customers', 'fa-solid fa-users', 'Random\\Clientes', 'Cliente');
- if (class_exists(Comision::class)) {
- $this->addButton('sales', 'comisiones', 'generated-commissions', 'commissions', 'fa-solid fa-percentage', 'Random\\Comisiones', 'Comision');
- }
-
$this->addButton('sales', 'presupuestoscli', 'generated-customer-estimations', 'estimations', 'fa-solid fa-copy', 'Random\\PresupuestosClientes', 'PresupuestoCliente');
$this->addButton('sales', 'pedidoscli', 'generated-customer-orders', 'orders', 'fa-solid fa-copy', 'Random\\PedidosClientes', 'PedidoCliente');
$this->addButton('sales', 'albaranescli', 'generated-customer-delivery-notes', 'delivery-notes', 'fa-solid fa-copy', 'Random\\AlbaranesClientes', 'AlbaranCliente');
diff --git a/Lib/Random/Comisiones.php b/Lib/Random/Comisiones.php
deleted file mode 100644
index e45fafe..0000000
--- a/Lib/Random/Comisiones.php
+++ /dev/null
@@ -1,61 +0,0 @@
-
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Lesser General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this program. If not, see .
- */
-
-namespace FacturaScripts\Plugins\Randomizer\Lib\Random;
-
-use FacturaScripts\Dinamic\Model\Comision;
-use Faker;
-
-/**
- * Description of Comisiones
- *
- * @author Jose Antonio Cuello
- */
-class Comisiones extends NewItems
-{
- use GetIdsTrait;
-
- public static function create(int $number = 50): int
- {
- $faker = Faker\Factory::create('es_ES');
-
- for ($generated = 0; $generated < $number; $generated++) {
- $comision = new Comision();
- $comision->codagente = static::codagente();
- $comision->codcliente = static::codcliente();
- $comision->codfamilia = static::codfamilia();
- $comision->idempresa = static::idempresa();
- $comision->idproducto = static::idproducto();
- $comision->porcentaje = $faker->numberBetween(1, 30);
- $comision->prioridad = $faker->optional(0.1)->numberBetween(1, 10);
-
- if ($comision->exists()) {
- continue;
- }
-
- if (false === $comision->save()) {
- break;
- }
-
- self::setId($comision->primaryColumnValue());
- }
-
- return $generated;
- }
-}