A Dilluns, 20 de febrer de 2012 13:36:51, Cédric Krier va escriure: > On 20/02/12 13:08 +0100, Albert Cervera i Areny wrote: > > A Dilluns, 20 de febrer de 2012 01:09:04, Udo Spallek va escriure: > > > > The main limitation of this release is that although it creates > > > > screenshots, they're not from the appropriate view. > > > > > > The screen shot functionality looks promising. Do you have a > > > solution for the login problem, to get the appropriate view for the > > > screen shot? The uri handler in the Tryton client seems to miss a > > > feature for opening a specific tab in a view, or, - as an other > > > possibility, - to ensure a given field name is visible for the > > > screen shot? > > > > That's problematic, yes. Only if tryton client used proteus :) Anyone > > with deeper knowledge of tryton client knows if that is easily > > achievable or we should find another solution? > > You can define the view to use with the tryton URL by using the > parameters `views`. It must be a list of ids encoded in json. > In the view definition we can put the cursor on any fields [1], perhaps > we could add a new parameters to the Tryton URL to allow override it.
Of course, the easier the better, but I don't think the main problem is showing the correct view but how to make tryton connect and login to the trytond server used by sphinx with proteus as defined in conf.py > [1] Just looking at the code, I think the feature only works for now > with widgets that are not hidden by notebooks. But it could be improved > to follow the same way as for invalid field. -- Albert Cervera i Areny http://www.NaN-tic.com Tel: +34 93 553 18 03 http://twitter.com/albertnan http://www.nan-tic.com/blog -- [email protected] mailing list
