I am currently developing a module for the management of role-playing scale.
Basically my items are as follows:

> jdb.world: a world in which a game is played
> jdb.game: a game
> jdb.game.character: a character of the game
> jdb.game.character.team: a team game
> jdb.game.character.team.rel: a relationship between a person and their team 
> with attributes such as function, responsibility, ...


Relations are as follows:

> jdb.game.character is connected to jdb.game by the field game_id type many2one
> jdb.game.character.team is connected to jdb.game by the field game_id type 
> many2one
> Object "jdb.game.character" is connected to "jdb.game.character.team" through 
> the object "jdb.game.character.team.rel" by the "team_id" and "character_id" 
> both are type many2one.
> 

The relationships seem to work properly once the items created and defined.

My problem is this: when I create a new relationship between a character and a 
team, I can not find how to filter the selection list so that only the teams of 
the game which the character appears.
Perhaps there but I did not find an equivalent in other modules OpenErp.

Thank you for your help.




-------------------- m2f --------------------

--
http://www.openobject.com/forum/viewtopic.php?p=32573#32573

-------------------- m2f --------------------


_______________________________________________
Tinyerp-users mailing list
http://tiny.be/mailman/listinfo/tinyerp-users

Reply via email to