Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
4637 มุมมอง

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

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ก.ค. 18
3384
0
ม.ค. 16
3425
1
มิ.ย. 15
13568
0
มี.ค. 15
7256
0
ก.ค. 22
2270