IRC logs of #tryton for Thursday, 2016-03-31

chat.freenode.net #tryton log beginning Thu Mar 31 00:00:01 CEST 2016
-!- shrox(shrox@nat/iiit/x-keahyuwgoaoyoiqh) has joined #tryton00:35
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton00:39
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton00:42
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton00:45
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton00:55
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton01:00
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton01:06
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton01:14
udonoI have problems with the tryton dev client. The client interface is not translated. Ideas?01:24
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:47
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton01:56
udonoThe content of views is translated correct. But not the client interface. I set the client language, database language and user language to de_DE, de_DE is translatable and all modules are updated.02:00
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton02:42
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton02:48
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton02:55
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton03:10
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton03:20
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton03:29
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton03:36
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton03:48
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton04:01
-!- JosDzGx(~Thunderbi@189.148.188.4) has joined #tryton04:25
-!- JosDzGx(~Thunderbi@187.188.72.35) has joined #tryton04:31
-!- kstenger1(~karla@r186-54-187-193.dialup.adsl.anteldata.net.uy) has joined #tryton05:13
-!- shrox1(shrox@nat/iiit/x-asiyzjepbipsaoia) has joined #tryton05:33
shrox1 /msg nickserv identify05:36
-!- shrox(shrox@nat/iiit/x-dycbrdxsaiuwfekg) has joined #tryton05:36
-!- shrox(shrox@nat/iiit/x-dycbrdxsaiuwfekg) has left #tryton05:36
-!- shrox(shrox@nat/iiit/x-dycbrdxsaiuwfekg) has joined #tryton05:36
-!- kstenger(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton05:38
-!- cedk(0e8b5206@gateway/web/cgi-irc/kiwiirc.com/ip.14.139.82.6) has joined #tryton05:40
-!- ccaz(~ccr@ax313-1-82-66-159-99.fbx.proxad.net) has joined #tryton07:31
-!- frispete_(~frispete@p54A917E9.dip0.t-ipconnect.de) has joined #tryton07:40
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton07:50
-!- dj_xatra(~dj_xatra@217.166.83.130) has joined #tryton08:13
-!- rpit(~rpit@2a02:908:e672:9420:56ee:75ff:fe0d:d3c7) has joined #tryton09:01
-!- meigallodixital(~meigallod@249.135.116.91.static.reverse-mundo-r.com) has joined #tryton09:19
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton09:53
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:16
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:31
-!- francesc(~user@162.Red-88-9-36.dynamicIP.rima-tde.net) has joined #tryton12:26
-!- aroncero(~aroncero@86.63.19.153) has joined #tryton12:50
-!- mariomop(~quassel@host124.186-108-233.telecom.net.ar) has joined #tryton12:56
-!- JosDzGx(~Thunderbi@187.188.72.35) has joined #tryton13:19
-!- Pilou`(~Pilou@181.204.19.93.rev.sfr.net) has joined #tryton13:22
-!- kstenger(~karla@r186-54-187-193.dialup.adsl.anteldata.net.uy) has joined #tryton13:23
-!- Guest1013(580759ef@gateway/web/freenode/ip.88.7.89.239) has joined #tryton13:28
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton14:04
-!- kstenger(~karla@r186-54-187-193.dialup.adsl.anteldata.net.uy) has joined #tryton14:48
-!- bvillasanti(~bvillasan@181.16.50.158) has joined #tryton15:04
-!- andrespoliti(~andrespol@250-183-89-200.fibertel.com.ar) has joined #tryton15:11
andrespolitiHi, in the client, is there any way to hide the default fields (id, create_date, create_uid, write_date, write_uid) from the filters list?15:12
cedkandrespoliti: no15:26
andrespolitiis it possible to define the character for thousand separation of numbers?15:33
cedkandrespoliti: in the language15:34
andrespolitithanks!15:38
-!- aroncero(~aroncero@86.63.19.153) has joined #tryton16:00
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton17:14
-!- kstenger1(~karla@r186-54-27-185.dialup.adsl.anteldata.net.uy) has joined #tryton17:15
-!- seb_(~seb@ldd.lo.ldd.fr) has joined #tryton17:20
-!- sebd(~seb@ldd.lo.ldd.fr) has joined #tryton17:29
-!- ccaz(~ccr@125-117-190-109.dsl.ovh.fr) has joined #tryton18:08
-!- JosDzGx(~Thunderbi@187.188.72.35) has joined #tryton18:40
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:03
-!- Pilou(~Pilou@pdpc/supporter/active/pilou) has joined #tryton19:52
-!- sebd(~seb@ldd.lo.ldd.fr) has joined #tryton20:11
-!- JosDzG(~Thunderbi@187.188.72.35) has joined #tryton21:13
-!- mariomop(~quassel@host167.190-137-85.telecom.net.ar) has joined #tryton21:17
-!- zdenek(~quassel@d172-219-180-73.abhsia.telus.net) has joined #tryton21:59
zdenekHello, is there a simple way to create a party instance using proteus without automatically creating an address?22:01
zdenekUsing the example given in the proteus readme, two addresses are created: a mostly blank address and the address with zip set to '42'.22:02
zdenekI'd like to create a party with no address.22:02
kstenger1zdenek: I don't know which example you are following, but if you put no address it will be created blank by default. Why does the blank address bother you?22:05
zdenekIt's a minor point, but I'm trying to understand if there is a way to do it.22:06
zdenekkstenger: the example is at https://github.com/tryton/proteus. It's in the readme at section "Creating an address for the party".22:07
zdenekkstenger: I saw a suggestion similar to passing {'addresses': False} to the create method, but I'm not sure how to do this with Proteus.22:08
kstengerzdenek: maybe party.address = None but I don't know the implications... I fear a few. What's the reason of your question?22:10
kstengerzdenek: actually, it would be like deletting all of them, so yes, you can assign None, but it should be after you save and then save again.22:12
kstengerbut it seems kind of nonsense :-)22:12
cedkzdenek: party has a default value for addresses to get one address created22:13
zdenekkstenger: setting address = None doesn't seem to work. An address record is still created.22:13
kstengerzdenek: yes, that's the default as cedk said, so if you want to delete it, you assign None after you save22:14
cedkso if you don't what you must remove it like this: party.addresses.remove(party.addresses[0])22:14
zdenekkstenger: I know it's a strange request, I have parties without addresses, so that was the reason. I'll just live with it or delete the record afterwards.22:14
zdenekcedk: Thanks, that'll work.22:14
cedkzdenek: but we create a default address because we think it is good even if you don't have it now22:15
kstengerACTION melts in embarrasment, sorry for missleading :-D22:18
zdenekThanks for both of your feedback.22:19
cedkkstenger: proteus tries to similate the client, so you always have to think how you will do it on the client22:19
cedkkstenger: so buttons are methods22:19
kstengercedk: yes, I was actually thinking on the button... didn't think further though :)22:20
aroncerozdnek: I had the same problem when I migrate and if I created a address proteus created 2, one blank and the good one22:43
aroncerozdnek: nasty solution22:44
aronceroif first:22:45
aroncero                        party.addresses[0] = address_new22:45
aroncero                        first = False22:45
aroncero                    else:22:45
aronceroups, sorry22:45
cedkaroncero: you can simply do: address, = party.addresses22:47
cedkand just update the address22:47
cedkjust like you will do on the client22:48
aroncerocedk: but I never understood why party.addresses.append(address_new) did not work22:49
aroncerocedk: It was my first proteus script and I though in openerp way22:49
cedkaroncero: you should almost never use append for a one2many22:52
cedkaroncero: indeed you should use: party.addresses.new()22:52
aroncerocedk: now I read a lot of Tryton code and I understand, in the past no :D22:54
aronceroIn pootle, all translation must be suggestion?23:51
cedkaroncero: what do you mean?23:51
aronceroI am translate product_calissification23:52
aroncerofor example, Active I am pretty sure that is Activo in Spanish23:52
aroncerobut I only have the suggest button23:52
cedkaroncero: which language?23:52
aroncerospanish23:52
cedkaroncero: there are many spanish23:53
aroncerosorry23:53
aronceroes_ES23:53
cedkaroncero: you must request the admin of es_ES to get write access23:54
cedkaroncero: it is jesteve23:55
aroncerocedk: ok. I send an email to Jordi23:56
aroncerocedk: thanks23:56
cedkaroncero: https://pootle.tryton.org/user/jesteve/23:56

Generated by irclog2html.py 2.11.0 by Marius Gedminas - find it at mg.pov.lt!