Re: [tryton-dev] Move origin issue when in same period

2018-05-08 Thread Cédric Krier
On 2018-05-08 22:46, Richard PALO wrote: > BTW, why does save(), for example on a move, automatically save() its lines? > Is the problem because origin is unidirectional? Because proteus simulate the behavior of other clients. -- Cédric Krier - B2CK SPRL Email/Jabber: cedric.kr...@b2ck.com Tel:

Re: [tryton-dev] Move origin issue when in same period

2018-05-08 Thread Richard PALO
Le 08/05/2018 à 19:56, Cédric Krier a écrit : The origin must be saved before being assigned if you want to store the saved id. I submitted https://bugs.tryton.org/issue7421 to prevent the exception raising. Ok, I'm trying the following, based upon what I see e.g. in modelstorage.py:

Re: [tryton-dev] Missing translations for release 4.8

2018-05-08 Thread 'Udo Spallek' via tryton-dev
Hi, Mon, 7 May 2018 14:45:39 +0200 Sergi Almacellas Abellana : >El 07/05/18 a les 14:38, Udo Spallek ha escrit: >> Is it correct that there are more than 5000 entries to edit? >This probably because you get results from country and currency >modules. Skipping this modules gives

Re: [tryton-dev] Move origin issue when in same period

2018-05-08 Thread Cédric Krier
On 2018-05-08 18:48, Richard PALO wrote: > I came across a difficulty noticed during FEC generation (French plan) where I > get the following exception: > >... > > File "/trytond/modules/account_fr/account.py", line 315, in get_reference > > return line.move.origin.rec_name > >

[tryton-dev] Move origin issue when in same period

2018-05-08 Thread Richard PALO
I came across a difficulty noticed during FEC generation (French plan) where I get the following exception: ... File "/trytond/modules/account_fr/account.py", line 315, in get_reference return line.move.origin.rec_name AttributeError: 'str' object has no attribute 'rec_name' To briefly

Re: [tryton-dev] NSIS new string PreviousInstall

2018-05-08 Thread 'Udo Spallek' via tryton-dev
Tue, 8 May 2018 10:30:43 +0200 Udo Spallek : >Tue, 8 May 2018 00:15:32 +0200 >Cédric Krier : >>LangString PreviousInstall ${CURLANG} "Tryton is already >> installed.$\n$\nClick `OK` to remove the previous version or `Cancel` >> to cancel this

Re: [tryton-dev] NSIS new string PreviousInstall

2018-05-08 Thread Xavier Codinas
On 08/05/18 09:41, Sergi Almacellas Abellana wrote: El 08/05/18 a les 00:15, Cédric Krier ha escrit: Hi, @translators, I'm working on support automatic uninstallation of previous version on Windows [1]. For that, the string PreviousInstall has changed and must be retranslated:

Re: [tryton-dev] NSIS new string PreviousInstall

2018-05-08 Thread Udo Spallek
Tue, 8 May 2018 00:15:32 +0200 Cédric Krier : >LangString PreviousInstall ${CURLANG} "Tryton is already > installed.$\n$\nClick `OK` to remove the previous version or `Cancel` > to cancel this upgrade." German: "Tryton ist bereits installiert.$\n$\nWählen Sie `OK` um

Re: [tryton-dev] NSIS new string PreviousInstall

2018-05-08 Thread Sergi Almacellas Abellana
El 08/05/18 a les 00:15, Cédric Krier ha escrit: > Hi, > > @translators, I'm working on support automatic uninstallation of > previous version on Windows [1]. For that, the string PreviousInstall > has changed and must be retranslated: > > LangString PreviousInstall ${CURLANG} "Tryton is