Source is optionnal

This commit is contained in:
Laurent Destailleur 2008-10-07 21:54:42 +00:00
parent ac10b7398a
commit 728ac4d205
2 changed files with 3 additions and 1 deletions

View File

@ -47,3 +47,5 @@ alter table llx_commandedet add column import_key varchar(14);
alter table llx_facture_fourn add column import_key varchar(14);
alter table llx_facture_fourn_det add column import_key varchar(14);
alter table llx_commande modify column source smallint NULL;

View File

@ -34,7 +34,7 @@ create table llx_commande
fk_user_author integer, -- createur de la commande
fk_user_valid integer, -- valideur de la commande
fk_user_cloture integer, -- auteur cloture
source smallint NOT NULL,
source smallint,
fk_statut smallint default 0,
amount_ht real default 0,
remise_percent real default 0,