diff --git a/htdocs/cashdesk/sql/llx_tmp_caisse.sql b/htdocs/cashdesk/sql/llx_tmp_caisse.sql index d6c65dc0ce1..f31a18133fa 100644 --- a/htdocs/cashdesk/sql/llx_tmp_caisse.sql +++ b/htdocs/cashdesk/sql/llx_tmp_caisse.sql @@ -7,7 +7,7 @@ CREATE TABLE `llx_tmp_caisse` ( `id` int(11) NOT NULL auto_increment, - `fk_article` tinyint(4) NOT NULL, + `fk_article` int(11) NOT NULL, `qte` int(11) NOT NULL, `fk_tva` int(11) NOT NULL, `remise_percent` int(11) NOT NULL, diff --git a/htdocs/install/mysql/migration/2.8.0-2.9.0.sql b/htdocs/install/mysql/migration/2.8.0-2.9.0.sql index 147b631e7a4..44cd0529a00 100755 --- a/htdocs/install/mysql/migration/2.8.0-2.9.0.sql +++ b/htdocs/install/mysql/migration/2.8.0-2.9.0.sql @@ -315,7 +315,7 @@ INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (23, ' INSERT INTO llx_c_forme_juridique (fk_pays, code, libelle, active) VALUES (23, '2313', 'Sociedad en Comandita por Acciones (arts. 315 a 324, LSC)', 1); -delete from llx_const where name='USER_PASSWORD_GENERATED' and value='default'; +DELETE from llx_const where name='USER_PASSWORD_GENERATED' and value='default'; ALTER TABLE llx_boxes_def DROP INDEX uk_boxes_def; @@ -328,3 +328,6 @@ UPDATE llx_bank_url SET type='payment' WHERE type='?' AND label='(payment)' AND update llx_const set value ='eldy' where name = 'MAIN_THEME' and (value= 'rodolphe' or value='dev' or value='bluelagoon'); update llx_user_param set value ='eldy' where param = 'MAIN_THEME' and (value= 'rodolphe' or value='dev' or value='bluelagoon'); + + +ALTER TABLE llx_tmp_caisse MODIFY fk_article int(11) NOT NULL;