IRC logs of #tryton for Thursday, 2018-03-08

chat.freenode.net #tryton log beginning Thu Mar 8 00:00:01 CET 2018
-!- cryptic(~cryptic@142.196.170.87) has joined #tryton23:00
-!- cryptic(~cryptic@142.196.170.87) has joined #tryton23:01
-!- robink(~quassel@unaffilated/robink) has joined #tryton23:05
-!- cryptic(~cryptic@142.196.170.87) has joined #tryton23:11
-!- cryptic(~cryptic@142.196.170.87) has joined #tryton23:42
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton23:55
-!- cdchapman(~perturbed@73.98.169.97) has joined #tryton00:30
-!- robink(~quassel@unaffilated/robink) has joined #tryton00:39
-!- csotelo(~csotelo@2001:1388:49c6:5729:fbf8:6db:4ee2:edf2) has joined #tryton01:21
-!- thaneor1(~ldlc6@179.26.143.158) has joined #tryton01:59
-!- yangoon1(~mathiasb@i59F5FC07.versanet.de) has joined #tryton03:57
-!- caf_(~caf@corp-179-49-46-5.uio.puntonet.ec) has joined #tryton05:34
-!- _2cadz(~2cadz@82-64-14-213.subs.proxad.net) has joined #tryton06:11
-!- cdchapman(~perturbed@73.98.169.148) has joined #tryton06:34
-!- slackmare(~jordi@139.47.12.106) has joined #tryton07:08
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:15
-!- cdchapman(~perturbed@73.98.169.103) has joined #tryton07:51
-!- mrichez(~smuxi@212.166.19.82) has joined #tryton07:54
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton08:12
-!- bechamel(c21d6290@gateway/web/thelounge/ip.194.29.98.144) has joined #tryton08:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:21
-!- rpit(~rpit@p200300C88F306C0056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton08:36
-!- jmousset(~jeremy@176.158.167.193) has joined #tryton08:44
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton08:49
-!- cdchapman(~perturbed@73.98.169.170) has joined #tryton08:49
-!- catonano(~user@151.50.134.28) has joined #tryton09:17
-!- thaneor(~ldlc6@179.26.143.158) has joined #tryton10:04
-!- meigallodixital(~meigallod@162.200.26.77.dynamic.reverse-mundo-r.com) has joined #tryton13:26
-!- caf_(~caf@corp-190-12-31-162.cue.puntonet.ec) has joined #tryton13:55
-!- thaneor1(~ldlc6@179.26.22.98) has joined #tryton14:01
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton14:15
-!- catonano(~user@151.50.134.28) has joined #tryton14:33
-!- alex_(~alex@179.43.97.56) has joined #tryton15:35
-!- alex_(~alex@179.43.97.56) has joined #tryton15:36
-!- lalo_(~lalo@179.43.97.56) has joined #tryton15:38
alex_hello comjunity, I have an issue with date time fields, I am at GMT -0500, on tryton, I dont have any issue on time view on the forms, however when I print a report with a time field, the time is printed on UTC15:38
lalo_hello15:38
alex_any suggest?15:39
cedkalex_: server is always UTC15:43
cedkalex_: make a conversion to the desired timezone15:44
alex_cedk: so you mean just printing in the desired timezone15:48
alex_its not necesary to set timezone in python right?15:49
cedkalex_: you must set the timezone to the datetime15:55
alex_cedk: thanks!15:59
-!- cdchapman(~perturbed@73.98.169.213) has joined #tryton16:04
cedkalex_: you should use something like: pytz.UTC.localize(d).astimezone(tz).strftime('%x %X %Z')16:09
csotelo_at_workalex_, company configuratoin have the time zone setting16:14
csotelo_at_workI guess it is more related to a report setting like setting default languaje16:15
csotelo_at_workcedk, I have a similar issue on a report, the time on the tryton is ok since I am using the time zone configuration for company, however when I print a report, the time is printed on UTC16:34
csotelo_at_workI mean, the issue is just on report16:34
csotelo_at_worksince I am using the datime from a model field, no setting it as part of the context a a hard coded value16:35
csotelo_at_workI also noticed on reports that a default languaje is set on report, is there something similar for time zone on reports?16:36
cedkcsotelo_at_work: no, each report must take care of how datetime should be printed16:40
cedkbut I think we could have a format_datetime in the default Report context which could take a timezone as optional paramter and take care of the conversion16:41
csotelo_at_workan dthe """how datetime should be printed""" is set on some place? or could be better to convert it and set as individual value on context dict?16:41
cedkcsotelo_at_work: do not understand16:43
csotelo_at_workI mean, as you said,  """each report must take care of how datetime should be printed""" then, where date time or time zone must be set: as a value on context dict? probably a link to a module printing date times?16:45
cedkcsotelo_at_work: as it will be a parameter of format_datetime, it will come from where the developer will take it16:50
csotelo_at_workperfect! thanks a lot cedk16:51
cedkI never said I will do it16:52
cedkhttps://bugs.tryton.org/issue720217:00
-!- NeonKing(~Neonking@176.179.38.86) has joined #tryton17:03
sisalphello evybody ! How is Tryton for accounting in Switzerland ?17:32
-!- rmu(~robert@cpe90-146-69-94.liwest.at) has joined #tryton17:33
-!- rmu(~robert@cpe90-146-69-94.liwest.at) has joined #tryton17:50
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton17:58
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton18:15
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:26
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:57
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:59
-!- cdchapman(~perturbed@73.98.169.213) has joined #tryton19:06
-!- mariomop(~quassel@186.153.82.253) has joined #tryton19:08
-!- lalo_(~lalo@179.43.97.56) has joined #tryton19:10
-!- catonano(~user@151.50.134.28) has joined #tryton19:25
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:29
-!- caf_(~caf@corp-190-12-31-162.cue.puntonet.ec) has joined #tryton19:36
-!- cdchapman(~perturbed@73.98.169.205) has joined #tryton19:52
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:57
-!- cdchapman(~perturbed@73.98.169.205) has joined #tryton20:07
-!- cdchapman(~perturbed@73.98.169.205) has joined #tryton20:21
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton21:00
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton21:31
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton21:40

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