dolibarr-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-dev] Bugfix: missing FK in llx_commandefournisseur_det. Doliba


From: CF
Subject: [Dolibarr-dev] Bugfix: missing FK in llx_commandefournisseur_det. Dolibarr 3.1 beta, GIT repo
Date: Thu, 11 Aug 2011 17:43:21 +0200
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0) Gecko/20110808 Thunderbird/6.0

That should reference llx_commandefournisseur.

This is causing troubles in ORMs (dblinq, hibernate) which does not allow to add details in instanciating a class.

ALTER TABLE `llx_commande_fournisseurdet`
ADD CONSTRAINT `fk_cmmandefournisseurdet_fk_commandefournisseur` FOREIGN KEY (`fk_commande`) REFERENCES `llx_commande_fournisseur` (`rowid`);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]