Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Is it possible to use many2many relation for other many2many field in wizard

By
Maniganda
on 5/14/13, 2:45 AM 1,070 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'),

0
Clément THOMAS
On 5/14/13, 6:07 AM

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

Maniganda
on 5/14/13, 7:24 AM

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 5/14/13, 2:45 AM
Seen: 1070 times
Last updated: 3/16/15, 8:10 AM