Well,
I've found a solution: I've made a SQL view -with union- using this method:
http://openobject.com/wiki/index.php/AdvModRepPSQLViewsand I've made a tree view in the partner history, everything works pretty fine
but when I click on a tree line I would open the foreign form
so I've call fields_view_get with :
Code:
def fields_view_get(self, cr, uid, view_id=None, view_type='form', context={}, toolbar=False, submenu=False):
meet = self.pool.get('crm.meeting')
meet_obj = meet.browse(cr, uid, 5, context=context)
result = meet.fields_view_get( cr, uid, view_id, 'form')
return result
- I work only with the meetings for the moment, and 5 is an example ID -
so, with this (fields_view_get) when I click on a tree line it open a meeting form, but with the communication (it's my class's name)'s fields, so I've got many blank fields
My Question :
- is it possible to tell fields_view_get(), use an object for a specific id?
nevertheless if somebody have a better solution, I'm interested
Thanks a lot