Basically first-time OE developer here with a problem on buttons. I have a module that inherits from product, and has a related project. I would like to have a button to click that shows Issues that have the same project.

So clicking "Related Issues" should load:

But I'm having trouble getting the Search button to show criteria as occurs when you click the Meetings / Calls / Opportunities buttons on the customers form, for example.
Here's the code I'm working with so far, but likely with mistakes in Action & Button!Appliance Issues project.issue ir.actions.act_window form tree,form [('project_id','=', active_id)]
Edit: 02/05/14
Ok, I did learn something here. If I change this line
[('project_id','=', active_id)]
To this:
[('project_id','=', 'martinsauto')]
Then the lookup works as I expected. 'martinsauto' is the text string value of the 'name' field. So how can I access the string value of the 'name' field? I tried the following, but it doesn't work...
[('project_id','=', active_id.name)]
Any help here for a beginner?
TIA!
Click to create a new issue.
This is the list of all the Issues related to this Appliance Server.