Fix: ajout possibilit d'ajouter des ligne de produits personnalises dans les commandes fournisseurs

This commit is contained in:
Regis Houssin
2007-12-14 19:43:27 +00:00
parent 6224f42ed8
commit 3e17508ee0
5 changed files with 267 additions and 133 deletions

View File

@@ -1163,4 +1163,6 @@ ALTER TABLE llx_societe_remise_except ADD CONSTRAINT fk_societe_remise_fk_factur
-- V4.1 update llx_societe_remise_except as re set re.fk_facture = (select fk_facture from llx_facturedet as fd where fd.rowid = re.fk_facture_line), re.fk_facture_line = NULL where re.fk_facture_line in (select rowid from llx_facturedet where description = '(CREDIT_NOTE)');
-- V4.1 delete from llx_facturedet where description = '(CREDIT_NOTE)';
DELETE FROM llx_const WHERE name = 'PRODUIT_CHANGE_PROD_DESC';
DELETE FROM llx_const WHERE name = 'PRODUIT_CHANGE_PROD_DESC';
ALTER TABLE llx_commande_fournisseurdet MODIFY fk_product integer;

View File

@@ -23,7 +23,7 @@ create table llx_commande_fournisseurdet
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
fk_commande integer NOT NULL,
fk_product integer NOT NULL,
fk_product integer,
ref varchar(50),
label varchar(255),
description text,