Hi, I would like to bring some attention on the issue1422[1]. I think we should try to fix this before release 1.6.0. There is a possible solution that will work only for PostgreSQL:
CREATE UNIQUE INDEX "index" ON "table" ("name", COALESCE("parent", 0));
Is there anybody who has better solution?
[1] http://bugs.tryton.org/roundup/issue1422
--
Cédric Krier
B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/
pgpz1w3Ri9DAa.pgp
Description: PGP signature
