IRC logs of #tryton for Monday, 2015-09-14

chat.freenode.net #tryton log beginning Mon Sep 14 00:00:02 CEST 2015
-!- gyKa_(~allez@78.56.151.78) has joined #tryton00:30
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton01:00
-!- digitalsatori(~Thunderbi@125.7.119.155) has joined #tryton02:54
-!- notzippy(~sabayonus@d207-216-251-90.bchsia.telus.net) has joined #tryton04:04
-!- digitalsatori1(~Thunderbi@125.7.119.155) has joined #tryton04:15
-!- ciupicri(~ciupicri@unaffiliated/ciupicri) has joined #tryton04:46
-!- sunny_dealmeida(~quassel@203.115.74.208) has joined #tryton06:09
-!- yangoon(~mathiasb@p549F0CFC.dip0.t-ipconnect.de) has joined #tryton07:01
-!- sunny_dealmeida(~quassel@203.115.83.61) has joined #tryton07:01
-!- nicoe(~nicoe@2a02:a03f:30ad:7d00:ee55:f9ff:fe7b:f7ac) has joined #tryton07:25
-!- frispete_(~frispete@p54A911CF.dip0.t-ipconnect.de) has joined #tryton07:40
-!- rpit(~rpit@2a02:908:e670:3a80:2157:e807:dfac:78d3) has joined #tryton07:56
-!- bechamel(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton08:12
-!- Timitos(~kpreisler@host-88-217-184-172.customer.m-online.net) has joined #tryton08:20
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:35
-!- aroncero_(~aroncero@209.228.132.37.dynamic.jazztel.es) has joined #tryton09:06
-!- udono(~udono@ip-178-202-238-79.hsi09.unitymediagroup.de) has joined #tryton09:26
-!- vcardon(~vcardon@bureau-sdsl.tranquil.it) has joined #tryton10:10
-!- dj_xatra(d9a65382@gateway/web/freenode/ip.217.166.83.130) has joined #tryton10:25
-!- nicoe(~nicoe@balisto.wifi.b2ck.com) has joined #tryton11:10
-!- mariomop(~quassel@host245.190-229-209.telecom.net.ar) has joined #tryton12:42
-!- kstenger(~karla@200.124.209.158) has joined #tryton13:53
-!- ciupicri(~ciupicri@unaffiliated/ciupicri) has joined #tryton14:19
dj_xatraI'm following the library example (http://tryton-documentation.readthedocs.org/en/latest/developer_guide/example_library_1.html). I've installed the module, but when I click "Books" in the menu I get this traceback: http://dpaste.com/0W10HKR14:23
-!- bvillasanti(~bvillasan@190.105.65.239) has joined #tryton14:48
pokolidj_xatra: this error means that the server is unable to find some view of your models15:02
pokolidj_xatra: check that files exists in the view directory15:02
dj_xatraAh, looks like I need to add 'view/*.xml' to package_data in setup.py.15:23
dj_xatraHm, that wasn't it.15:32
-!- intart_(~intart@190.167.23.114) has joined #tryton15:32
pokolidj_xatra: check that view names are difined correctly on xml file15:34
dj_xatraMy ir.ui.view name is book_tree (http://dpaste.com/326ESCJ) and I have a file view/book_tree.xml. Looks ok to me.15:39
pokolidj_xatra: looks ok to me to15:43
pokolidj_xatra: not sure if it's related but you miss the form view definition ;)15:43
dj_xatraI thought so: the tutorial mentions book_form.xml and book_tree.xml in the beginning, but later on it seems to only list the content of book_tree.xml.15:48
dj_xatraOr maybe I'm just mixing things up.15:48
kstengerdj_xatra: the xml defined here http://tryton-documentation.readthedocs.org/en/latest/developer_guide/example_library_1.html#creating-the-view is the form. In this case you can create the tree view by removing the labels from this one and rename the "form" tags by "tree".15:54
kstengerand you don't need the col or the colspan attributes15:56
-!- smarro(~sebastian@181.16.4.44) has joined #tryton15:56
dj_xatraI see, so that was an exercise for the reader then. Then my library.xml probably needs another ir.ui.view element?15:59
kstengeryes16:00
dj_xatraCan't get it to work. I'll have another go at it tomorrow. Thanks for the help.16:08
-!- dj_xatra(d9a65382@gateway/web/freenode/ip.217.166.83.130) has left #tryton16:15
-!- vernichon(~Icedove@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton16:41
-!- michael-kohlhaas(~michael-k@unaffiliated/michael-kohlhaas) has joined #tryton17:31
-!- vernichon(~Icedove@gex01-1-78-234-55-95.fbx.proxad.net) has joined #tryton17:48
-!- Telesight(~anthony@4dae0c97.ftth.telfortglasvezel.nl) has joined #tryton18:34
-!- rpit(~rpit@aftr-37-201-212-135.unity-media.net) has joined #tryton18:52
-!- sunny_dealmeida(~quassel@203.115.83.61) has joined #tryton19:15
-!- bechamel1(~Adium@host-85-201-213-94.dynamic.voo.be) has joined #tryton20:13
-!- sisalp(~sisalpuse@boxoo.sisalp.net) has joined #tryton22:58

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