تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
4579 أدوات العرض

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
يوليو 18
3358
0
يناير 16
3370
1
يونيو 15
13536
0
مارس 15
7200
0
يوليو 22
2206