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

chat.freenode.net #tryton log beginning Tue Sep 16 00:00:01 CEST 2014
-!- smarro(~sebastian@cust-41-45-13-200.trynet.com.ar) has joined #tryton00:24
-!- fink(~fink@199.195.61.18) has joined #tryton01:15
-!- digitalsatori(~Thunderbi@114.94.140.81) has joined #tryton01:45
-!- pilou`(~pilou@181.204.19.93.rev.sfr.net) has joined #tryton01:52
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton01:54
-!- digitalsatori(~Thunderbi@114.94.140.81) has joined #tryton01:59
-!- Pilou(~pilou@pdpc/supporter/active/pilou) has joined #tryton02:00
-!- digitalsatori1(~Thunderbi@101.87.128.155) has joined #tryton02:03
-!- alisonken1home(~alisonken@pool-71-104-227-211.lsanca.dsl-w.verizon.net) has joined #tryton03:07
-!- smarro(~sebastian@cust-41-45-13-200.trynet.com.ar) has joined #tryton03:12
-!- smarro(~sebastian@cust-41-45-13-200.trynet.com.ar) has joined #tryton03:36
-!- digitalsatori(~Thunderbi@101.87.128.155) has joined #tryton03:49
-!- fink(~fink@166.137.83.181) has joined #tryton04:27
-!- digitalsatori(~Thunderbi@101.87.128.155) has joined #tryton05:52
-!- fink(~fink@166.137.93.35) has joined #tryton06:32
-!- frispete_(~frispete@p54A92503.dip0.t-ipconnect.de) has joined #tryton06:41
-!- yangoon1(~mathiasb@p549F13F1.dip0.t-ipconnect.de) has joined #tryton07:01
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton07:26
-!- nicoe(~nicoe@109.133.154.34) has joined #tryton07:39
-!- VaticanCameos(~pritishc@122.177.193.152) has joined #tryton07:50
-!- meanmicio(~meanmicio@77.Red-81-37-65.dynamicIP.rima-tde.net) has joined #tryton08:10
-!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton08:10
VaticanCameosI 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?08:24
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton08:36
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:56
-!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton09:11
pokoliVaticanCameos: 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.size09:14
VaticanCameospokoli: How could I have missed that...thanks!09:16
-!- holri(~gregor@chello062178098236.5.12.vie.surfer.at) has joined #tryton09:19
holriis 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.09:20
cedkholri: yes09:30
-!- corro(~corro@46.22.23.85) has joined #tryton09:44
-!- swayf(~swayf@93.104.202.98) has joined #tryton09:48
-!- vernichon1(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton10:30
cedkholri: see: https://groups.google.com/forum/#!aboutgroup/tryton10:56
-!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has joined #tryton11:35
holricedk: I am not sure if the message went through because of the Delivery Status Failure Mail von Google Groups.11:50
-!- `Reflector`(~pritishc@122.177.57.27) has joined #tryton11:57
-!- digitalsatori(~Thunderbi@101.87.128.155) has joined #tryton12:02
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton12:44
-!- sharkcz(~sharkcz@server.danny.cz) has joined #tryton12:52
-!- mariomop(~quassel@host90.186-125-103.telecom.net.ar) has joined #tryton13:02
holriI 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 such13:18
holri a problem?13:18
cedkholri: update the database13:19
holriyes I already did, no change13:20
corroholri: did you restart the client? views are cached if the client isn't started with the --dev option13:20
holriah ok, i started it normaly13:21
holriunfortunaltly no change with dev option13:23
cedkholri: did you added the field to the view?13:23
holriI copied the xml files from acount_invoice, adjusted the field names and the tryton.cfg, do i have to do something more?13:24
cedkholri: this is wrong: http://doc.tryton.org/3.2/trytond/doc/topics/views/extension.html#topics-extension13:26
holrii think I did this, here are the files: http://gregor-horvath.com/account_invoice_anteile.zip13:31
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton13:40
-!- swayf(~swayf@93.104.202.98) has joined #tryton13:47
-!- kstenger(~karla@200.124.209.158) has joined #tryton13:51
-!- smarro_(~sebastian@cust-164-45-13-200.trynet.com.ar) has joined #tryton14:19
-!- mrteleivo(~mrteleivo@213162068092.public.t-mobile.at) has joined #tryton14:45
-!- swayf(~swayf@93.104.202.98) has joined #tryton14:50
mrteleivoDear 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 not14:55
mrteleivohelp. Thanks in advance for any suggestions!14:55
cedkmrteleivo: normally the timezone of trytond should be utc14:57
cedkmrteleivo: and so datetime.now should be UTC14:57
cedksee in trytond/__init__.py: TZ is set to UTC14:59
cedkmrteleivo: on which OS are you?14:59
mrteleivowindows 714:59
cedkmrteleivo: maybe windows doesn't respect TZ environment15:00
mrteleivocedk: so since the 3.2 series, you would not change the trytond timezone anymore since now it runs on UTC?15:01
cedkmrteleivo: trytond must always run in UTC timezone15:01
cedkmrteleivo: if you can find a way to enforce timezone on windows, I will be happy to integrate it15:06
mrteleivocedk: mhmm, in the python documentation it says it datetime.now returns the current local date and time, whereas datetime.utcnow() returns the current UTC date15:08
cedkmrteleivo: yes but we set the timezeone via TZ environment to UTC15:09
cedkmrteleivo: because we want UTC every where15:09
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton15:10
mrteleivocedk: tzset() is not available on windows, thats why the TZ environment variable has no effect :(15:20
cedkmrteleivo: is there something else available?15:21
-!- holri1(~user@089144207244.atnat0016.highway.bob.at) has joined #tryton15:45
-!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton16:04
-!- holri1(~user@089144207244.atnat0016.highway.bob.at) has left #tryton16:10
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton16:11
-!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton16:26
mrteleivocedk: 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 time16:30
-!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton16:30
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton16:42
-!- holri(~user@089144207244.atnat0016.highway.bob.at) has joined #tryton17:00
-!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton18:10
notzippyAnyone around ?18:11
-!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton18:13
-!- martynushka(~martynush@unaffiliated/martynushka) has joined #tryton18:20
notzippyHi marty18:23
martynushkaHi notzippy18:24
-!- holri(~user@82.149.98.35) has joined #tryton18:35
-!- mariomop_(~quassel@181.110.67.89) has joined #tryton18:56
-!- swayf(~swayf@ipbcc17c06.dynamic.kabel-deutschland.de) has joined #tryton19:06
-!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton19:10
-!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton19:17
-!- holri(~user@82.149.98.35) has joined #tryton19:25
-!- alisonken1home(~alisonken@pool-71-104-227-211.lsanca.dsl-w.verizon.net) has joined #tryton19:28
-!- hiaselhans(~Thunderbi@178.115.133.97.wireless.dyn.drei.com) has joined #tryton19:32
-!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton19:53
-!- hiaselhans(~Thunderbi@178.115.133.97.wireless.dyn.drei.com) has joined #tryton20:13
-!- nicoe(~nicoe@109.133.158.235) has joined #tryton20:17
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton20:41
-!- smarro(~sebastian@200.13.45.157) has joined #tryton20:41
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton20:44
-!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton20:44
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton20:46
-!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton21:05
-!- rpit(~ralf@dslb-088-071-254-074.088.071.pools.vodafone-ip.de) has joined #tryton21:47
-!- vernichon1(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton21:54
-!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton21:56
-!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton22:02
-!- smarro(~sebastian@cust-154-45-13-200.trynet.com.ar) has joined #tryton22:11
-!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton22:22
-!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton22:39
-!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton22:40
-!- gremly(~gremly@190.85.36.58) has joined #tryton23:03
-!- sharoonthomas(~sharoonth@66.63.86.50) has joined #tryton23:15
-!- alisonken1lap3(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton23:48

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