View unanswered posts | View active topics
|
Page 1 of 1
|
[ 1 post ] |
|
| Author |
Message |
|
larscwallin
|
Post subject: Bi-directional many2many in OpenObject GUI? (cross-posted) Posted: Fri Feb 26, 2010 10:59 am |
|
Joined: Wed Jan 13, 2010 8:27 pm Posts: 21 Location: Sweden
|
|
Hi yall
I am adding the possibility to add many2many Contacts to Teams.
I did this:
1. Added the many2many field "x_contact_team_ids" to "res.partner.contact"
2. Added the many2many field "x_team_contact_ids" to "res.partner.team"
3. Set up tree widgets in both objects form-views using the relation fields above.
4. Tested the relation by adding a Team to Contact.
5. Went over to the Team form view to see that the Contact ended up in the tree-widget there as well... Which it had not
6. So i realized that i had not specified any relation table to be created.
7. Went into the "x_contact_team_id" field and found that i had no way of specifying this relationship?!
How do i do this in the IDE (the OpenObject GUI tools)?
Thanks,
Lars
(This post was originally posted without success in the developer fourm.)
|
|
| Top |
|
 |
|
Page 1 of 1
|
[ 1 post ] |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum
|