Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
4555 Vistas

i have field called 'emon' of type many2many 'emon':fields.many2many('ewi.recipe','ewi_diet_rel','eval_id','recipe_id','E_monday'),

And for the field 'etue' is it possible to give same relation as 'ewi_diet_rel' in wizard 'etue':fields.many2many('ewi.recipe','ewi_diet_rel','eval_id','recipe_id','E_tuesday'),

Avatar
Descartar
Mejor respuesta

Yes you can, but you must use another table for the second relation :

'emon':fields.many2many('ewi.recipe','ewi_diet_rel_emon','eval_id','recipe_id','E_monday'), 'etue':fields.many2many('ewi.recipe','ewi_diet_rel_etue','eval_id','recipe_id','E_tuesday'),

Avatar
Descartar
Autor

thank you THOMAS

Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 18
3344
0
ene 16
3347
1
jun 15
13523
0
mar 15
7183
0
jul 22
2184