Fix: Error in adding article

This commit is contained in:
Laurent Destailleur 2010-09-15 14:36:44 +00:00
parent 5b24b7cf46
commit 4b771e3750
2 changed files with 5 additions and 2 deletions

View File

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

View File

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