From 1fd641ce9b5b5efbea66a4bb24dc8a6f1f37b990 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Sat, 11 Oct 2003 13:34:02 +0000 Subject: [PATCH] Positionne le fk_product a 0 par default --- mysql/tables/llx_facturedet.sql | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mysql/tables/llx_facturedet.sql b/mysql/tables/llx_facturedet.sql index a8fc330cffd..4f0ffbfcfca 100644 --- a/mysql/tables/llx_facturedet.sql +++ b/mysql/tables/llx_facturedet.sql @@ -23,12 +23,12 @@ create table llx_facturedet ( rowid integer AUTO_INCREMENT PRIMARY KEY, fk_facture integer NOT NULL, - fk_product integer, + fk_product integer NOT NULL default 0, description text, - tva_taux real default 19.6, -- taux tva - qty real, -- quantité - remise_percent real default 0, -- pourcentage de remise - remise real default 0, -- montant de la remise - subprice real, -- prix avant remise - price real -- prix final + tva_taux real default 19.6, -- taux tva + qty real, -- quantité + remise_percent real default 0, -- pourcentage de remise + remise real default 0, -- montant de la remise + subprice real, -- prix avant remise + price real -- prix final );