On 20/02/12 15:31 +0100, Udo Spallek wrote:
> Mon, 20 Feb 2012 15:20:16 +0100
> Cédric Krier <[email protected]>:
> > On 20/02/12 14:12 +0100, Albert Cervera i Areny wrote:
> > > 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
> > So just use neso.
> What is the benefit in using neso instead of a flexible setup of
> tryton, trytond and proteus? 

Having a client to make screenshots.
By the way, I think it will be even better to not have to use a database
instance. We could get informations from the trytond instance and read
XML and po files to get information about records and translations.

> Is neso able to skip the login dialog? 

Not really but perhaps with some monkey patching.

> How is an automated process able to login in the client to get a
> screenshot? AFAIR we had this discussion with the URI interface:
> tryton://user:password@tryton....

I'm still against the usage of user:password in URI.

Indeed, I'm just thinking that we don't need to get the login/password
if the client is already running and logged.

-- 
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: pgpzkedWcGo8p.pgp
Description: PGP signature

Reply via email to