IRC logs of #tryton for Friday, 2019-02-22

chat.freenode.net #tryton log beginning Fri Feb 22 00:00:01 CET 2019
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:15
-!- yangoon1(~mathiasb@i59F4AE7D.versanet.de) has joined #tryton03:04
-!- yangoon(~mathiasb@i59F4AF87.versanet.de) has joined #tryton04:00
-!- thaneor(~lenovo3@r186-48-47-17.dialup.adsl.anteldata.net.uy) has joined #tryton05:32
-!- jcm(~jcm@78.194.214.115) has joined #tryton05:39
-!- LordVan(~LordVan@gentoo/developer/LordVan) has joined #tryton07:00
-!- rpit(~rpit@p200300C88F307400957D3B9472BF4AFE.dip0.t-ipconnect.de) has joined #tryton07:04
-!- smorillo(8965d000@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.208.0) has joined #tryton07:28
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton07:42
-!- mrichez(~smuxi@mail.saluc.com) has joined #tryton07:55
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:08
-!- nicoe(~nicoe@2a02:578:858c:500:7e2a:31ff:fe5e:b25d) has joined #tryton08:11
-!- intc(~intc@gateway/tor-sasl/intc) has joined #tryton08:42
-!- rpit(~rpit@p4FFB7256.dip0.t-ipconnect.de) has joined #tryton09:14
-!- intc(~intc@gateway/tor-sasl/intc) has joined #tryton09:24
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton10:42
-!- smorillo(8965d000@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.208.0) has joined #tryton11:27
-!- smorillo(8965d000@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.208.0) has joined #tryton11:42
-!- smorillo(8965d000@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.208.0) has joined #tryton12:05
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton12:07
-!- mariomop(~quassel@host198.201-253-197.telecom.net.ar) has joined #tryton12:08
-!- smorillo(8965d000@gateway/web/cgi-irc/kiwiirc.com/ip.137.101.208.0) has joined #tryton12:46
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton13:37
-!- csotelo(~csotelo@181.67.16.48) has joined #tryton13:38
mrichezhi, i need to convert a timedelta field to integer. Is there a specific way ? Or just doing an alter in database and updating my model do the trick ?13:42
cedkmrichez: there is https://docs.python.org/3.6/library/datetime.html#datetime.timedelta.total_seconds13:46
cedkbut it is a float13:46
mrichezcedk: ok but in my model my field is defined  delay = field.TimeDelta(.... .Can i just replace my field like this delay = field.Integer(....13:51
mrichezcedk: field is empty in database, so i changed the field definition in my model and then alter the table in the database14:02
cedkmrichez: ha you want to migrate a column14:22
cedkmrichez: I do not think alter will work as there is no SQL transformation between duration and integer14:23
mrichezcedk: values are not problem, this is demo data's . I was just wondering if there are extra steps with tryton or if model update himself when updating code and then i need to update database (manually or in the __register__ )14:26
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton14:58
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton16:08
-!- LordVan_(~lordvan@gentoo/developer/LordVan) has joined #tryton17:34
-!- thaneor1(~lenovo3@179.26.23.135) has joined #tryton17:34
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton17:41
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton17:49
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton17:56
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton17:58
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton18:00
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton18:09
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton18:43
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton18:47
-!- smorillo(258799fc@gateway/web/cgi-irc/kiwiirc.com/ip.37.135.153.252) has joined #tryton18:52
-!- smorillo(3e5248ee@gateway/web/cgi-irc/kiwiirc.com/ip.62.82.72.238) has joined #tryton18:58
-!- thaneor(~lenovo3@179.26.23.135) has joined #tryton19:25
-!- semarie(~semarie@unaffiliated/semarie) has joined #tryton21:00
-!- csotelo(~csotelo@181.67.16.48) has joined #tryton22:02

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