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 #tryton00:03
-!- cryptic(~cryptic@142.196.170.87) has joined #tryton00:03
-!- robink(~quassel@unaffilated/robink) has joined #tryton00:03
-!- cryptic(~cryptic@142.196.170.87) has joined #tryton00:03
-!- cryptic(~cryptic@142.196.170.87) has joined #tryton00:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:03
-!- cdchapman(~perturbed@73.98.169.97) has joined #tryton01:03
-!- robink(~quassel@unaffilated/robink) has joined #tryton01:03
-!- csotelo(~csotelo@2001:1388:49c6:5729:fbf8:6db:4ee2:edf2) has joined #tryton02:03
-!- thaneor1(~ldlc6@179.26.143.158) has joined #tryton02:03
-!- yangoon1(~mathiasb@i59F5FC07.versanet.de) has joined #tryton04:03
-!- caf_(~caf@corp-179-49-46-5.uio.puntonet.ec) has joined #tryton06:03
-!- _2cadz(~2cadz@82-64-14-213.subs.proxad.net) has joined #tryton07:03
-!- cdchapman(~perturbed@73.98.169.148) has joined #tryton07:03
-!- slackmare(~jordi@139.47.12.106) has joined #tryton08:03
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:03
-!- cdchapman(~perturbed@73.98.169.103) has joined #tryton08:03
-!- mrichez(~smuxi@212.166.19.82) has joined #tryton08:03
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton09:03
-!- bechamel(c21d6290@gateway/web/thelounge/ip.194.29.98.144) has joined #tryton09:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:03
-!- rpit(~rpit@p200300C88F306C0056EE75FFFE0DD3C7.dip0.t-ipconnect.de) has joined #tryton09:03
-!- jmousset(~jeremy@176.158.167.193) has joined #tryton09:03
-!- nicoe(~nicoe@host-85-201-184-151.dynamic.voo.be) has joined #tryton09:03
-!- cdchapman(~perturbed@73.98.169.170) has joined #tryton09:03
-!- catonano(~user@151.50.134.28) has joined #tryton10:03
-!- thaneor(~ldlc6@179.26.143.158) has joined #tryton11:03
-!- meigallodixital(~meigallod@162.200.26.77.dynamic.reverse-mundo-r.com) has joined #tryton14:03
-!- caf_(~caf@corp-190-12-31-162.cue.puntonet.ec) has joined #tryton14:03
-!- thaneor1(~ldlc6@179.26.22.98) has joined #tryton15:03
-!- tafelgeschirr(~tafelgesc@5.104.149.54) has joined #tryton15:03
-!- catonano(~user@151.50.134.28) has joined #tryton15:03
-!- alex_(~alex@179.43.97.56) has joined #tryton16:03
-!- alex_(~alex@179.43.97.56) has joined #tryton16:03
-!- lalo_(~lalo@179.43.97.56) has joined #tryton16:03
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 UTC16:03
lalo_hello16:03
alex_any suggest?16:03
cedkalex_: server is always UTC16:03
cedkalex_: make a conversion to the desired timezone16:03
alex_cedk: so you mean just printing in the desired timezone16:03
alex_its not necesary to set timezone in python right?16:03
cedkalex_: you must set the timezone to the datetime16:03
alex_cedk: thanks!16:03
-!- cdchapman(~perturbed@73.98.169.213) has joined #tryton17:03
cedkalex_: you should use something like: pytz.UTC.localize(d).astimezone(tz).strftime('%x %X %Z')17:03
csotelo_at_workalex_, company configuratoin have the time zone setting17:03
csotelo_at_workI guess it is more related to a report setting like setting default languaje17:03
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 UTC17:03
csotelo_at_workI mean, the issue is just on report17:03
csotelo_at_worksince I am using the datime from a model field, no setting it as part of the context a a hard coded value17:03
csotelo_at_workI also noticed on reports that a default languaje is set on report, is there something similar for time zone on reports?17:03
cedkcsotelo_at_work: no, each report must take care of how datetime should be printed17:03
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 conversion17:03
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?17:03
cedkcsotelo_at_work: do not understand17:03
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?17:03
cedkcsotelo_at_work: as it will be a parameter of format_datetime, it will come from where the developer will take it17:03
csotelo_at_workperfect! thanks a lot cedk17:03
cedkI never said I will do it17:03
cedkhttps://bugs.tryton.org/issue720218:03
-!- NeonKing(~Neonking@176.179.38.86) has joined #tryton18:03
sisalphello evybody ! How is Tryton for accounting in Switzerland ?18:03
-!- rmu(~robert@cpe90-146-69-94.liwest.at) has joined #tryton18:03
-!- rmu(~robert@cpe90-146-69-94.liwest.at) has joined #tryton18:03
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton18:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton19:03
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:03
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:03
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton19:03
-!- cdchapman(~perturbed@73.98.169.213) has joined #tryton20:03
-!- mariomop(~quassel@186.153.82.253) has joined #tryton20:03
-!- lalo_(~lalo@179.43.97.56) has joined #tryton20:03
-!- catonano(~user@151.50.134.28) has joined #tryton20:03
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton20:03
-!- caf_(~caf@corp-190-12-31-162.cue.puntonet.ec) has joined #tryton20:03
-!- cdchapman(~perturbed@73.98.169.205) has joined #tryton20:03
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton20:03
-!- cdchapman(~perturbed@73.98.169.205) has joined #tryton21:03
-!- cdchapman(~perturbed@73.98.169.205) has joined #tryton21:03
-!- semarie_(~semarie@unaffiliated/semarie) has joined #tryton22:03
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton22:03
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton22:03

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