Hello,
juste pour poster une solution... je ne sais pas si c'est la
meilleur...
J'ai modifier mon schema.yml
schema.yml
----------------------------------------------------------------------------------------------------------------------------------
Product:
actAs:
Timestampable: ~
columns:
id: {type: string(4), primary: true, notnull: true}
title: {type: string(200), notnull: true}
relations:
Products:
class: Product
refClass: ProductBrother
foreign: product_brother_id
local: product_id
ProductBrother:
columns:
product_id: {type: string(20), primary: true, notnull: true}
product_brother_id: {type: string(20), primary: true, notnull:
true}
----------------------------------------------------------------------------------------------------------------------------------
Le seul hic c'est qu'à la genération de ProductForm.class.php, il y a
un widget créer pour products_list (product au pluriel) et un pour
product_list. cela est surement un comportement normal...