Works on product canvas and templates

!! WARNING : not stable !!
This commit is contained in:
Regis Houssin 2010-05-02 15:03:32 +00:00
parent cd27d9463b
commit 13ea97cb87

View File

@ -213,3 +213,6 @@ ALTER TABLE llx_categorie_member ADD INDEX idx_categorie_member_fk_member (fk_me
ALTER TABLE llx_categorie_member ADD CONSTRAINT fk_categorie_member_categorie_rowid FOREIGN KEY (fk_categorie) REFERENCES llx_categorie (rowid);
ALTER TABLE llx_categorie_member ADD CONSTRAINT fk_categorie_member_member_rowid FOREIGN KEY (fk_member) REFERENCES llx_adherent (rowid);
UPDATE llx_product SET canvas = 'default' WHERE fk_product_type = 0 AND canvas = '';
UPDATE llx_product SET canvas = 'service' WHERE fk_product_type = 1 AND canvas = '';