How to add relations to my module to the list?

The module ‘Party’.

Would you help me to point to what class and what field I should update to have my module to be listed here:

Add_to_relations at Jul 29 14-22-14

How this list is populated?

I have every item in my module is connected to a particular Party (via Many2One). I want to see all items, that are connected to some Party.

On your module you should define a new action windows which accepts Eval(‘active_ids’) as value of it’s domain. This will be filled by the client with the ids of the cureent parties.

Then you should use the form_relate keyword to add this action available on the relate dropdown (this is how the option of your image is called)

There a lot of examples on the source code of the tryton modules.

Hope it helps!