コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
4581 ビュー

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'),

アバター
破棄
最善の回答

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'),

アバター
破棄
著作者

thank you THOMAS

関連投稿 返信 ビュー 活動
1
7月 18
3358
0
1月 16
3371
1
6月 15
13536
0
3月 15
7204
0
7月 22
2206