IRC logs of #tryton for Tuesday, 2014-09-16

chat.freenode.net #tryton log beginning Tue Sep 16 00:00:01 CEST 2014
2014-09-16 00:24 -!- smarro(~sebastian@cust-41-45-13-200.trynet.com.ar) has joined #tryton
2014-09-16 01:15 -!- fink(~fink@199.195.61.18) has joined #tryton
2014-09-16 01:45 -!- digitalsatori(~Thunderbi@114.94.140.81) has joined #tryton
2014-09-16 01:52 -!- pilou`(~pilou@181.204.19.93.rev.sfr.net) has joined #tryton
2014-09-16 01:54 -!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton
2014-09-16 01:59 -!- digitalsatori(~Thunderbi@114.94.140.81) has joined #tryton
2014-09-16 02:00 -!- Pilou(~pilou@pdpc/supporter/active/pilou) has joined #tryton
2014-09-16 02:03 -!- digitalsatori1(~Thunderbi@101.87.128.155) has joined #tryton
2014-09-16 03:07 -!- alisonken1home(~alisonken@pool-71-104-227-211.lsanca.dsl-w.verizon.net) has joined #tryton
2014-09-16 03:12 -!- smarro(~sebastian@cust-41-45-13-200.trynet.com.ar) has joined #tryton
2014-09-16 03:36 -!- smarro(~sebastian@cust-41-45-13-200.trynet.com.ar) has joined #tryton
2014-09-16 03:49 -!- digitalsatori(~Thunderbi@101.87.128.155) has joined #tryton
2014-09-16 04:27 -!- fink(~fink@166.137.83.181) has joined #tryton
2014-09-16 05:52 -!- digitalsatori(~Thunderbi@101.87.128.155) has joined #tryton
2014-09-16 06:32 -!- fink(~fink@166.137.93.35) has joined #tryton
2014-09-16 06:41 -!- frispete_(~frispete@p54A92503.dip0.t-ipconnect.de) has joined #tryton
2014-09-16 07:01 -!- yangoon1(~mathiasb@p549F13F1.dip0.t-ipconnect.de) has joined #tryton
2014-09-16 07:26 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-09-16 07:39 -!- nicoe(~nicoe@109.133.154.34) has joined #tryton
2014-09-16 07:50 -!- VaticanCameos(~pritishc@122.177.193.152) has joined #tryton
2014-09-16 08:10 -!- meanmicio(~meanmicio@77.Red-81-37-65.dynamicIP.rima-tde.net) has joined #tryton
2014-09-16 08:10 -!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton
2014-09-16 08:24 <VaticanCameos> I have some fields such as PAN and passport number in my model. I had initially made them Numeric but I figured that Char is a better choice because of the formatting. I want to put a validation on these fields that the strings should be of a specific size. Should I be doing this with on_change/on_change_with?
2014-09-16 08:36 -!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton
2014-09-16 08:56 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-09-16 09:11 -!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton
2014-09-16 09:14 <pokoli> VaticanCameos: if the validation only implies a max size, use the size attribute http://doc.tryton.org/3.2/trytond/doc/ref/models/fields.html?highlight=size#trytond.model.fields.Char.size
2014-09-16 09:16 <VaticanCameos> pokoli: How could I have missed that...thanks!
2014-09-16 09:19 -!- holri(~gregor@chello062178098236.5.12.vie.surfer.at) has joined #tryton
2014-09-16 09:20 <holri> is the ML tryton@googlegroups.com moderated? I just signed up and wrote a message through gmane but it did not get through, instead I got a Delivery Status Falire Mail from googlegroups.
2014-09-16 09:30 <cedk> holri: yes
2014-09-16 09:44 -!- corro(~corro@46.22.23.85) has joined #tryton
2014-09-16 09:48 -!- swayf(~swayf@93.104.202.98) has joined #tryton
2014-09-16 10:30 -!- vernichon1(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton
2014-09-16 10:56 <cedk> holri: see: https://groups.google.com/forum/#!aboutgroup/tryton
2014-09-16 11:35 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has joined #tryton
2014-09-16 11:50 <holri> cedk: I am not sure if the message went through because of the Delivery Status Failure Mail von Google Groups.
2014-09-16 11:57 -!- `Reflector`(~pritishc@122.177.57.27) has joined #tryton
2014-09-16 12:02 -!- digitalsatori(~Thunderbi@101.87.128.155) has joined #tryton
2014-09-16 12:44 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-09-16 12:52 -!- sharkcz(~sharkcz@server.danny.cz) has joined #tryton
2014-09-16 13:02 -!- mariomop(~quassel@host90.186-125-103.telecom.net.ar) has joined #tryton
2014-09-16 13:18 <holri> I am trying to add a field to the invoice line form. I made a new module and copied from analytic_invoice which does the same. unfortunalty the field doesnot show up. I updated the database and restarted the server. in the model the additional fields are there but not on the form. is there any other additional step required, clearing some sort of cache or samethin?. I found no errors in the logs. How can I trace such
2014-09-16 13:18 <holri> a problem?
2014-09-16 13:19 <cedk> holri: update the database
2014-09-16 13:20 <holri> yes I already did, no change
2014-09-16 13:20 <corro> holri: did you restart the client? views are cached if the client isn't started with the --dev option
2014-09-16 13:21 <holri> ah ok, i started it normaly
2014-09-16 13:23 <holri> unfortunaltly no change with dev option
2014-09-16 13:23 <cedk> holri: did you added the field to the view?
2014-09-16 13:24 <holri> I copied the xml files from acount_invoice, adjusted the field names and the tryton.cfg, do i have to do something more?
2014-09-16 13:26 <cedk> holri: this is wrong: http://doc.tryton.org/3.2/trytond/doc/topics/views/extension.html#topics-extension
2014-09-16 13:31 <holri> i think I did this, here are the files: http://gregor-horvath.com/account_invoice_anteile.zip
2014-09-16 13:40 -!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton
2014-09-16 13:47 -!- swayf(~swayf@93.104.202.98) has joined #tryton
2014-09-16 13:51 -!- kstenger(~karla@200.124.209.158) has joined #tryton
2014-09-16 14:19 -!- smarro_(~sebastian@cust-164-45-13-200.trynet.com.ar) has joined #tryton
2014-09-16 14:45 -!- mrteleivo(~mrteleivo@213162068092.public.t-mobile.at) has joined #tryton
2014-09-16 14:50 -!- swayf(~swayf@93.104.202.98) has joined #tryton
2014-09-16 14:55 <mrteleivo> Dear all, I am running server and client (3.2.2) on the same machine. I cannot login to tryton server, because the clients session is always expired. Session.check(user, key) fails, since the clients db entry in ir.session has a create_date value which is 2h behind local time (on my client) and therefore always above the sessions default timeout of 10min. I tried setting the trytond.conf's timezone = Europe/Vienna but this did not
2014-09-16 14:55 <mrteleivo> help. Thanks in advance for any suggestions!
2014-09-16 14:57 <cedk> mrteleivo: normally the timezone of trytond should be utc
2014-09-16 14:57 <cedk> mrteleivo: and so datetime.now should be UTC
2014-09-16 14:59 <cedk> see in trytond/__init__.py: TZ is set to UTC
2014-09-16 14:59 <cedk> mrteleivo: on which OS are you?
2014-09-16 14:59 <mrteleivo> windows 7
2014-09-16 15:00 <cedk> mrteleivo: maybe windows doesn't respect TZ environment
2014-09-16 15:01 <mrteleivo> cedk: so since the 3.2 series, you would not change the trytond timezone anymore since now it runs on UTC?
2014-09-16 15:01 <cedk> mrteleivo: trytond must always run in UTC timezone
2014-09-16 15:06 <cedk> mrteleivo: if you can find a way to enforce timezone on windows, I will be happy to integrate it
2014-09-16 15:08 <mrteleivo> cedk: mhmm, in the python documentation it says it datetime.now returns the current local date and time, whereas datetime.utcnow() returns the current UTC date
2014-09-16 15:09 <cedk> mrteleivo: yes but we set the timezeone via TZ environment to UTC
2014-09-16 15:09 <cedk> mrteleivo: because we want UTC every where
2014-09-16 15:10 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-09-16 15:20 <mrteleivo> cedk: tzset() is not available on windows, thats why the TZ environment variable has no effect :(
2014-09-16 15:21 <cedk> mrteleivo: is there something else available?
2014-09-16 15:45 -!- holri1(~user@089144207244.atnat0016.highway.bob.at) has joined #tryton
2014-09-16 16:04 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-09-16 16:10 -!- holri1(~user@089144207244.atnat0016.highway.bob.at) has left #tryton
2014-09-16 16:11 -!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton
2014-09-16 16:26 -!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton
2014-09-16 16:30 <mrteleivo> cedk: found only one working solution using ctypes: http://www.pceworld.com/view/4360981, on windows people would need to compile python source themselves (re-enabling HAVE_WORKING_TZSET). and then the function time.ctime(seconds) gives the appropriate time
2014-09-16 16:30 -!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton
2014-09-16 16:42 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-09-16 17:00 -!- holri(~user@089144207244.atnat0016.highway.bob.at) has joined #tryton
2014-09-16 18:10 -!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton
2014-09-16 18:11 <notzippy> Anyone around ?
2014-09-16 18:13 -!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton
2014-09-16 18:20 -!- martynushka(~martynush@unaffiliated/martynushka) has joined #tryton
2014-09-16 18:23 <notzippy> Hi marty
2014-09-16 18:24 <martynushka> Hi notzippy
2014-09-16 18:35 -!- holri(~user@82.149.98.35) has joined #tryton
2014-09-16 18:56 -!- mariomop_(~quassel@181.110.67.89) has joined #tryton
2014-09-16 19:06 -!- swayf(~swayf@ipbcc17c06.dynamic.kabel-deutschland.de) has joined #tryton
2014-09-16 19:10 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton
2014-09-16 19:17 -!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton
2014-09-16 19:25 -!- holri(~user@82.149.98.35) has joined #tryton
2014-09-16 19:28 -!- alisonken1home(~alisonken@pool-71-104-227-211.lsanca.dsl-w.verizon.net) has joined #tryton
2014-09-16 19:32 -!- hiaselhans(~Thunderbi@178.115.133.97.wireless.dyn.drei.com) has joined #tryton
2014-09-16 19:53 -!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton
2014-09-16 20:13 -!- hiaselhans(~Thunderbi@178.115.133.97.wireless.dyn.drei.com) has joined #tryton
2014-09-16 20:17 -!- nicoe(~nicoe@109.133.158.235) has joined #tryton
2014-09-16 20:41 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2014-09-16 20:41 -!- smarro(~sebastian@200.13.45.157) has joined #tryton
2014-09-16 20:44 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-09-16 20:44 -!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton
2014-09-16 20:46 -!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton
2014-09-16 21:05 -!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton
2014-09-16 21:47 -!- rpit(~ralf@dslb-088-071-254-074.088.071.pools.vodafone-ip.de) has joined #tryton
2014-09-16 21:54 -!- vernichon1(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton
2014-09-16 21:56 -!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton
2014-09-16 22:02 -!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton
2014-09-16 22:11 -!- smarro(~sebastian@cust-154-45-13-200.trynet.com.ar) has joined #tryton
2014-09-16 22:22 -!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton
2014-09-16 22:39 -!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton
2014-09-16 22:40 -!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton
2014-09-16 23:03 -!- gremly(~gremly@190.85.36.58) has joined #tryton
2014-09-16 23:15 -!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton
2014-09-16 23:48 -!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!