Re: [tryton-dev] Wizard session forwarding

2012-05-29 Thread Jean Cavallo
Wouldn't it be possible to add the session to the Transaction context or something like that ? You can still put the session id in the wizard view and use it in the context of the one2many. Thank you for that, one last question if I may : In terms of performance, is it better to

Re: [tryton-dev] Wizard session forwarding

2012-05-29 Thread Cédric Krier
On 29/05/12 09:15 +0200, Jean Cavallo wrote: Wouldn't it be possible to add the session to the Transaction context or something like that ? You can still put the session id in the wizard view and use it in the context of the one2many. Thank you for that, one last question if I

[tryton] Tryton and external data

2012-05-29 Thread Triztian
Hello all, I've found my self in the need to pull data that is not stored in tryton's database, the data is accessed from an external REST API, however the information that is obtained from said API needs to appear as a tree view, that created a few questions: - Can views be created

[tryton] Re: Auto Id

2012-05-29 Thread Tristian Paul Lopez Azuara
On Friday, May 18, 2012 8:37:54 AM UTC-7, pjalrimba rimbabara wrote: Hai everybody I just to know how to make auto ID example 1,2,3,4,5,6,7, Please help me with coding Actually, as Cedric mentioned, tryton does generate an Id automatically, you can view it in the tree view by

Re: [tryton] Re: Self-Reference and relationship fields aclaration.

2012-05-29 Thread Triztian
On Friday, May 25, 2012 6:45:22 PM UTC-7, Cédric Krier wrote: On 25/05/12 18:01 -0700, Triztian wrote: So I infer that a parent cannot establish a relation to a child without the child specifying a field that relates them to its parent? No, this is a basic design with relational

Re: [tryton] Re: Unable to connect via Huwai mobile device

2012-05-29 Thread Emma
* ashutosh verma [2012-05-28 15:44 +0200]: My device is Huwai- EG612 USB Modem (usable with both desktops Laptops) with data, SMS facility. This 3G internet modem device is working good for internet browsing but unable to connect tryton client to the tryton server. Connecting to

[tryton] Re: Tryton and external data

2012-05-29 Thread Emma
Hi, - Can views be created without necessarily having a ModelSQL ( to show the external data as a tree view )? Well, I guess you can create a class that only extends ModelView and populate the data thru a wizard. To have it outside of a wizard I guess the way to go would be to have

[tryton] Re: Form validation in a wizard (v2.2)

2012-05-29 Thread guly200
On 24 mai, 13:29, Jean Cavallo jean.cava...@gmail.com wrote: Hi, You could try using a StateTransition which would perform the control then return the current state value. class A(Wizard):     real_state = StateView(...)     check_state = StateTransition()     def

Re: [tryton] Re: Form validation in a wizard (v2.2)

2012-05-29 Thread Jean Cavallo
Ok I upgraded to v2.4 and did what you proposed. But i get the same problem as in v2.2 which is that self.raise_user_error causes stops execution and the wizard window is closed on the client... In fact my problem boils down to: how can I display a user message without stoping execution ?

[tryton] Re: Form validation in a wizard (v2.2)

2012-05-29 Thread guly200
On 29 mai, 14:38, Jean Cavallo jean.cava...@gmail.com wrote: Ok I upgraded to v2.4 and did what you proposed. But i get the same problem as in v2.2 which is that self.raise_user_error causes stops execution and the wizard window is closed on the client... In fact my problem boils down to: