IRC logs of #tryton for Thursday, 2014-04-17

chat.freenode.net #tryton log beginning Thu Apr 17 00:00:02 CEST 2014
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton00:46
-!- sharoonthomas(~sharoonth@c-68-54-44-215.hsd1.fl.comcast.net) has joined #tryton02:00
-!- sharoonthomas(~sharoonth@c-68-54-44-215.hsd1.fl.comcast.net) has left #tryton02:01
-!- digitalsatori(~Thunderbi@114.92.219.220) has joined #tryton02:03
-!- digitalsatori(~Thunderbi@116.234.95.56) has joined #tryton05:05
-!- sharoonthomas(~sharoonth@c-68-54-44-215.hsd1.fl.comcast.net) has joined #tryton05:45
-!- frispete_(~frispete@p54A937A0.dip0.t-ipconnect.de) has joined #tryton06:40
-!- digitalsatori(~Thunderbi@116.234.95.56) has joined #tryton06:47
-!- digitalsatori(~Thunderbi@116.234.95.56) has joined #tryton06:56
-!- yangoon(~mathiasb@p549F09E6.dip0.t-ipconnect.de) has joined #tryton07:01
-!- Streward(~quassel@85.183.31.24) has joined #tryton07:57
-!- digitalsatori(~Thunderbi@116.234.95.56) has joined #tryton08:02
-!- digitalsatori(~Thunderbi@116.234.95.56) has joined #tryton08:18
-!- digitals1(~Thunderbi@116.234.95.56) has joined #tryton08:23
-!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton08:24
-!- jeancavallo(~giovanni@bob75-9-88-181-2-176.fbx.proxad.net) has joined #tryton08:53
-!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton09:02
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:05
-!- bechamel(~Adium@62-197-96-189.teledisnet.be) has joined #tryton09:13
udonoHi, is it possible to provide a context with active_id to a tryton:// url?09:29
udonoI want to call a wizard which internally needs an active_id from context.09:31
cedkudono: use the data parameter09:34
udonocedk: Thanks09:36
udonocedk: is it something like urllib.quote("data={'context': {'active_id: 12'}}")?09:39
udonoanyway, does not work: tryton "tryton://localhost:47700/dev_tryton_dev/wizard/ir.ui.view.show;data=%7B%27context%27%3A%20%7B%27active_id%3A%20203%27%7D%7D"09:44
udonoI would like to solve the automated screenshot problem for documentation, and I thought it is possible with the Show view wizard.09:45
udonoI am talking about this wizard: http://hg.tryton.org/trytond/file/ccacf07602cf/trytond/ir/ui/view.py#l21009:52
cedkudono: no context09:55
udonocedk: tryton "tryton://localhost:47700/dev_tryton_dev/wizard/ir.ui.view.show;data=%7B%27context%27%3A%20%7B%27active_id%3A%20203%27%7D%7D" does not work either09:56
cedkudono: remove context09:58
-!- nicoe(~nicoe@2001:6f8:3aa:0:b699:baff:fe56:2328) has joined #tryton09:59
-!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton10:02
udonocedk: does not work: tryton "tryton://localhost:47700/dev_tryton_dev/wizard/ir.ui.view.show;data=%7B%27active_id%27%3A%20203%7D"10:02
udonocedk: which is: 'tryton "tryton://localhost:47700/dev_tryton_dev/wizard/ir.ui.view.show;data=%s"' % urllib.quote("{'active_id': 203}")10:05
udonono view opens, and no error message10:06
udonothis works to an error http://pastebin.com/stgQxLMk : tryton "tryton://localhost:47700/dev_tryton_dev/wizard/ir.ui.view.show;data=%7B%22active_id%22%3A203%7D"10:17
udonoand active_id is not in the context10:18
cedkudono: so I guess wrong id10:20
udonocedk: no, id is for ir.sequence form view. The active_id is not set in the context.10:23
udonoI have a print serverside http://hg.tryton.org/trytond/file/ccacf07602cf/trytond/ir/ui/view.py#l222 which shows me the context10:24
udonocedk: I think it is not possible, since data seems not to be evaluated and copied into context. I think I have to change the wizard.10:33
-!- akearr(~akearr@tsf-444-wpa-4-071.epfl.ch) has joined #tryton10:34
-!- digitalsatori(~Thunderbi@116.234.95.56) has joined #tryton12:03
-!- jeancavallo1(~giovanni@LPuteaux-656-01-230-52.w80-12.abo.wanadoo.fr) has joined #tryton12:44
-!- giammi_(~giammi@217.193.159.211) has joined #tryton13:01
-!- udono(~udono@ltea-047-067-090-228.pools.arcor-ip.net) has joined #tryton13:07
-!- mariomop(~quassel@host62.200-117-32.telecom.net.ar) has joined #tryton13:28
-!- smarro(~sebastian@190.105.93.196) has joined #tryton14:03
-!- sharoonthomas(~sharoonth@mail.advocatetax.com) has joined #tryton14:33
-!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton15:47
-!- sharoonthomas(~sharoonth@mail.advocatetax.com) has joined #tryton15:54
-!- udono(~udono@ltea-047-067-090-228.pools.arcor-ip.net) has joined #tryton16:00
-!- nicoe(~nicoe@91.179.20.111) has joined #tryton16:12
-!- alisonken1lap(~alisonken@18.18.ultimate-int.uia.net) has joined #tryton16:26
-!- vernichon(~Thunderbi@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton16:53
-!- Telesight(~anthony@77-175-168-222.FTTH.ispfabriek.nl) has joined #tryton18:01
-!- littlebit(~Thunderbi@ulmg-5d8466df.pool.mediaWays.net) has joined #tryton20:09
-!- sharoonthomas(~sharoonth@mail.advocatetax.com) has joined #tryton20:19
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton20:34
-!- sharoonthomas(~sharoonth@mail.advocatetax.com) has joined #tryton20:35
-!- pobsteta(~Thunderbi@4cb54-3-88-160-87-54.fbx.proxad.net) has joined #tryton21:37
-!- plantian(~ian@174.135.6.172) has joined #tryton22:11

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