I have just relized that if I create a many2many field and I put it in a view, then when you click on the button to add a new record, a blank popup appears with the buttons create and cancel. If I press create, a form is shown to fill in the fields of the new record, which is right. But, why is there an intermediate window? Can I remove it?
I know how to remove it, I can change the type of the field to a one2many pointing to an intermediate table which will have two many2one fields pointing to the models which were connected by the many2many (Before: model_1 <- many2many -> model_2, Now: model_1 -> one2many -> model_rel <- many2one <- model_1, model_2)
Is there any better way to do it?
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
|Asked: 10/16/14, 10:48 AM|
|Seen: 451 times|
|Last updated: 3/16/15, 8:10 AM|