On Monday, May 20, 2013 11:17:34 AM UTC-6, Cédric Krier wrote: > > On 18/05/13 21:19 -0700, Martín Guzmán wrote: > > Hi all. > > > > I'm new using tryton. I created a test module named hjpii_test4. Within > > this module I created the model hjpii.test4 (py file: [1]). This model > only > > has a field 'patient', a Many2One field to party.party. > > > > Within this module I also created views (tree and form) for this model > as > > well as the Action Windows and Menu Items (xml file: [2]). In this xml I > > also created two simple views (tree and form) for the model party.party > and > > I just wanted to use them in the 'patient' field of my model > hjpii.test4. > > > > I tried to use view_ids, as you can see in the xml file (line 27 on > [2]). > > However, my model uses only the first element in the view_ids list and > I'm > > not sure why... I need to use both views in the field 'patient': the > tree > > view when someone press the search button and the form view when someone > > press the new record button > > > > What I'm missing? How I can correct it? > > I guess it is a bug. >
Ok! Thank you! I'll create an issue on the issue tracker ASAP
