Re: [tryton] Issues when writing one2one relationship

2016-05-26 Thread Pedro Moretto Rodriguez



Hi, I uploaded it to https://github.com/guzmanico23/cefiro 

I changed the names of the clases but the logic is the same:

1) At formulario.py: within Formulario class I have the One2One field 
"formularioViviendaTrabajo"
2) At formVivTrabajo.py: I have two classes "FormularioViviendaTrabajo" and 
"AuxFormVivTrabajo" (similar to Formviviendatrabajo and Formvivtrabtarget)

The views involved are hc.xml and hcVivTrab.xml

I also post here the error message when trying to opening a new 
"Formulario" (now it can be saved but not properly shown)




El jueves, 26 de mayo de 2016, 8:22:12 (UTC-3), Sergi Almacellas Abellana 
escribió:
>
> El 26/05/16 a les 12:52, Pedro Moretto Rodriguez ha escrit: 
> > I mean, I have the module almost finished, I just need to make this 
> > one2one relation to work. I am trying to run it on a newer tryton server 
> > version without success. 
> > 
> > El miércoles, 25 de mayo de 2016, 16:30:05 (UTC-3), Pedro Moretto 
> > Rodriguez escribió: 
> > 
> > Well, I am using Tryton 2.4.0 and now tried to upgrade it to 4.0. 
> > 
> > But now it's not possible to load my module, I created a tryton.cfg 
> > file and edited __init.py__ on the folder's module. I don't know 
> > exactly what I need to upgrade it and get the module work properly. 
> Can not give any guidance without the source code, so maybe you can 
> upload it somewhere so we can review it. 
>
>
> PS: Please don't top-post on this mailing list, see 
> http://groups.tryton.org/netiquette 
>
> -- 
> Sergi Almacellas Abellana 
> www.koolpi.com 
> Twitter: @pokoli_srk 
>

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/9129d982-fa07-4d5b-91c4-f606dc60f157%40googlegroups.com.


Re: [tryton] Tryton 3.8.6 windows and mac installers

2016-05-26 Thread Sergi Almacellas Abellana

El 25/05/16 a les 17:31, Cédric Krier ha escrit:

On 2016-05-25 06:34, Wolfgang Silbermayr wrote:

>I just wanted to download the version 3.8.6 of the Tryton client for
>windows, when I found out that there is none available on
>https://downloads.tryton.org/3.8/. The latest version which can be found
>there for windows and mac is 3.8.4. I would be glad to find the updated
>installers there.

I'm still busy on my free time with the release 4.0 (writing Ebuilds ≃30).
Once it is done, I will work on building latest clients.

By the way, if someone wants to help on building releases, we can give
access rights to the Foundation machines. But only if the person commit
to do it frequently.
Maybe it's a crazy idea, but won't be possible to trigger the builds on 
mac and windows machines via a hook on mercurial a new tag is pushed?


P.S: It's also applicable to uploading releases to pypi.

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

--
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/5746A0E5.80407%40koolpi.com.


Re: [tryton] Issues when writing one2one relationship

2016-05-26 Thread Pedro Moretto Rodriguez
I mean, I have the module almost finished, I just need to make this one2one 
relation to work. I am trying to run it on a newer tryton server version 
without success.

El miércoles, 25 de mayo de 2016, 16:30:05 (UTC-3), Pedro Moretto Rodriguez 
escribió:
>
> Well, I am using Tryton 2.4.0 and now tried to upgrade it to 4.0.
>
> But now it's not possible to load my module, I created a tryton.cfg file 
> and edited __init.py__ on the folder's module. I don't know exactly what I 
> need to upgrade it and get the module work properly.
>
> El miércoles, 25 de mayo de 2016, 12:55:04 (UTC-3), Cédric Krier escribió:
>>
>> On 2016-05-24 09:40, Pedro Moretto Rodriguez wrote: 
>> > I based on the following links but didn't work as you can see: 
>> >   
>> > [1] 
>> http://doc.tryton.org/2.0/trytond/doc/ref/models/fields.html#one2one, 
>> > [2] 
>> > 
>> http://hg.tryton.org/trytond/file/14a0a4d4e03b/trytond/test/test.py#l359 
>> > [3] 
>> > 
>> http://hg.tryton.org/trytond/file/14a0a4d4e03b/trytond/tests/test_fields.py#l2083
>>  
>>
>> Release 2.2 is almost 5 years old, it is no more supported since 2.5 
>> years. I think the first thing to do is to work on recent/supported 
>> version. 
>> Many improvement and especially the ordering stuffs have been improved 
>> thanks to python-sql. 
>>
>> -- 
>> Cédric Krier - B2CK SPRL 
>> Email/Jabber: cedric...@b2ck.com 
>> Tel: +32 472 54 46 59 
>> Website: http://www.b2ck.com/ 
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"tryton" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton/110cb812-ec88-4ffd-88b3-6ef36be98cb2%40googlegroups.com.


[tryton-fr] Gérer plusieurs séquences de facturation

2016-05-26 Thread LédiFrance
Bonjour,

Je voudrais pouvoir générer des factures selon plusieurs séquences, avec un 
préfixe différent selon le canal de vente. Est-ce que tryton peut être 
configuré pour ça ?

-- 
Vous recevez ce message, car vous êtes abonné au groupe Google Groupes 
tryton-fr.
Cette discussion peut être lue sur le Web à l'adresse 
https://groups.google.com/d/msgid/tryton-fr/9eb7a316-3e33-4283-9d0e-842cdb5b000b%40googlegroups.com.