This question has been flagged
1 Reply
3646 Views

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
Discard
Best Answer

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
Discard
Author

thank you THOMAS