IRC logs of #tryton for Monday, 2014-06-30

chat.freenode.net #tryton log beginning Mon Jun 30 00:00:02 CEST 2014
-!- meanmicio(~meanmicio@243.Red-81-38-120.dynamicIP.rima-tde.net) has joined #tryton00:31
-!- meanmicio(~meanmicio@fsf/member/meanmicio) has joined #tryton00:31
-!- frispete(~frispete@p54A9222E.dip0.t-ipconnect.de) has joined #tryton00:41
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:51
-!- digitalsatori(~Thunderbi@116.234.181.110) has joined #tryton01:41
-!- vak0160(~vak0160@36.72.229.107) has joined #tryton02:04
-!- asoleh(~asoleh@125.161.195.15) has joined #tryton04:44
-!- frispete_(~frispete@p54A91721.dip0.t-ipconnect.de) has joined #tryton06:40
-!- mar(~marius@v100.nfq.lt) has joined #tryton06:56
-!- yangoon(~mathiasb@p549F02A7.dip0.t-ipconnect.de) has joined #tryton07:01
-!- grasbauer(~jan@ip92340dc6.dynamic.kabel-deutschland.de) has joined #tryton07:04
-!- udono(~udono@ip-109-90-216-79.unitymediagroup.de) has joined #tryton07:44
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton07:46
-!- jeancavallo(~giovanni@LPuteaux-656-01-230-52.w80-12.abo.wanadoo.fr) has joined #tryton09:03
-!- corro(~corro@46.22.23.85) has joined #tryton09:11
-!- corro(~corro@46.22.23.85) has joined #tryton09:15
-!- pokoli(~pokoli@unaffiliated/pokoli) has joined #tryton09:18
-!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has joined #tryton09:43
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:02
-!- digitalsatori(~Thunderbi@180.169.55.131) has joined #tryton10:30
-!- nicoe(~nicoe@balisto.office.b2ck.com) has joined #tryton10:32
maris it possbile to enable sql logging in tryton?10:32
-!- digitalsatori(~Thunderbi@180.169.55.131) has joined #tryton10:33
pokolimar: just put a print on the cursor.execute method of your database driver10:35
-!- digitalsatori(~Thunderbi@180.169.55.131) has joined #tryton10:49
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton10:50
maris there somewhere written how _datetime + history workds?10:51
mar*works?10:51
cedkmar: simple: put _datetime in context and you will read records at this date10:54
mari wonder why I get None from Property with _datetime in context10:57
marit's cost_value field in Product By Location10:57
marand if I select next date -> i get the value10:57
marthe queries are: http://pastebin.com/JUsnSWtw10:59
cedkmar: probably because at this date there was no value10:59
marbut there was a value before, how can I check it easily?11:10
marlooks like all past dates have no value :/11:12
-!- digitalsatori(~Thunderbi@180.169.55.131) has joined #tryton11:14
marany idea where the problem may be?11:15
pokolimar: no value means that there is no data in the __history table or it is null?11:18
marthere is data, but value is empty11:18
pokolimar: so this is the history11:23
marhow the _history tables get populated?11:27
mardoes tryton do it or postgre does it with some kind of trigger?11:27
pokolimar: tryton does it for you11:27
mardoes it work in test mode / with sqlite?11:31
marsince I can't see insert queries when I'm running a test11:32
mari mean insert queries into __history tables11:33
pokolimar: yes it's work and it's tested on trytond tests11:34
marit's kinda strange since I can see values in Cost History11:36
marbut I can't see values in Products by Location11:36
-!- squat(~quassel@net.srv.multi24.com) has joined #tryton12:26
marSELECT COUNT(*) FROM ir_property__history WHERE (write_date IS NOT NULL AND create_date IS NULL) AND value IS NOT NULL; => 012:42
marit's not normal, right?12:42
marlooks like all property updates fail12:43
-!- smarro(~sebastian@190.105.93.196) has joined #tryton12:54
-!- mfladischer(~fladische@sh144.medunigraz.at) has joined #tryton13:20
-!- kstenger(~karla@200.124.209.158) has joined #tryton14:12
-!- mariomop(~quassel@host13.181-1-204.telecom.net.ar) has joined #tryton15:09
-!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton16:16
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton16:44
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton17:02
-!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton17:20
-!- digitalsatori(~Thunderbi@119.167.117.58) has joined #tryton17:56
-!- smarro(~sebastian@190.105.93.196) has joined #tryton18:27
-!- cjbarnes18(~craig@host109-157-154-182.range109-157.btcentralplus.com) has joined #tryton19:24
-!- rpit(~ralf@dslb-178-011-217-192.pools.arcor-ip.net) has joined #tryton19:58
-!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton20:24
-!- digitalsatori(~Thunderbi@119.167.117.58) has joined #tryton20:46
-!- Telesight(~anthony@77-175-159-159.FTTH.ispfabriek.nl) has joined #tryton21:07
-!- cjbarnes18(~craig@host109-157-154-182.range109-157.btcentralplus.com) has joined #tryton21:27
-!- kstenger(~karla@200.124.209.158) has joined #tryton22:11
-!- pablovannini(~pablo@190.55.77.17) has joined #tryton22:53
-!- marc0s_(~marcos@unaffiliated/marc0s) has joined #tryton23:30

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