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.


[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.

-- 
Cédric Krier

B2CK SPRL
Rue de Rotterdam, 4
4000 Liège
Belgium
Tel: +32 472 54 46 59
Email/Jabber: [email protected]
Website: http://www.b2ck.com/

Attachment: pgpaLrLrOKx7f.pgp
Description: PGP signature

Reply via email to