Cesta
Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given in C:dolibarrwwwdolibarrhtdocslibdatabasesmysqli.lib.php on line 457
No permite adicionar articulos
saludos
error en TPV
Es una instalación limpia de la v3.0?
2byte.es Preferred Partner de Dolibarr.
¿Quieres soporte profesional? Contacta con nosotros
¿Quieres soporte profesional? Contacta con nosotros
-
- Novato
- Mensajes: 12
- Registrado: Lun, 27/06/2011, 20:03
¿Se ha encontrado solución a esto?
A mí me ocurre lo mismo en una instalación limpia en un alojamiento compartido.
Aparece ese mensaje de error y el TPV no funciona.
A mí me ocurre lo mismo en una instalación limpia en un alojamiento compartido.
Aparece ese mensaje de error y el TPV no funciona.
Esta Solucion me dio Juanjo Menent:
1.- crea la siguiente tabla (te paso el sql entero):
CREATE TABLE llx_pos_tmp (
id integer AUTO_INCREMENT PRIMARY KEY,
fk_article integer NOT NULL,
qte real NOT NULL,
fk_tva integer NOT NULL,
remise_percent real NOT NULL,
remise real NOT NULL,
total_ht double(24,8) NOT NULL,
total_tva double(24,8) NOT NULL,
total_ttc double(24,8) NOT NULL
) ENGINE=innodb;
2.- Configurar en el módulo de facturas el Módulo de numeración de facturas y notas de crédito.
1.- crea la siguiente tabla (te paso el sql entero):
CREATE TABLE llx_pos_tmp (
id integer AUTO_INCREMENT PRIMARY KEY,
fk_article integer NOT NULL,
qte real NOT NULL,
fk_tva integer NOT NULL,
remise_percent real NOT NULL,
remise real NOT NULL,
total_ht double(24,8) NOT NULL,
total_tva double(24,8) NOT NULL,
total_ttc double(24,8) NOT NULL
) ENGINE=innodb;
2.- Configurar en el módulo de facturas el Módulo de numeración de facturas y notas de crédito.
-
- Novato
- Mensajes: 12
- Registrado: Lun, 27/06/2011, 20:03
Gracias, funciono perfecto
Es posible que sea un bug. O que en el scrip de creacion de la BDD no conste CREATE TABLE llx_pos_tmp (
id integer AUTO_INCREMENT PRIMARY KEY,
fk_article integer NOT NULL,
qte real NOT NULL,
fk_tva integer NOT NULL,
remise_percent real NOT NULL,
remise real NOT NULL,
total_ht double(24,8) NOT NULL,
total_tva double(24,8) NOT NULL,
total_ttc double(24,8) NOT NULL
) ENGINE=innodb;
id integer AUTO_INCREMENT PRIMARY KEY,
fk_article integer NOT NULL,
qte real NOT NULL,
fk_tva integer NOT NULL,
remise_percent real NOT NULL,
remise real NOT NULL,
total_ht double(24,8) NOT NULL,
total_tva double(24,8) NOT NULL,
total_ttc double(24,8) NOT NULL
) ENGINE=innodb;
-
- Novato
- Mensajes: 9
- Registrado: Mar, 09/08/2011, 06:10
Funciono muy bien gracias miles, el problema que tengo ahora que no descuenta el stock del usuario, en configuración-> módulos-> stcok, dice que solo hace decremento cuando se factura del almacén 1, alguna sugenrencia ? el versión 3.1 decrementa de diferentes almaces ?