chat.freenode.net #tryton log beginning Fri Dec 13 00:00:02 CET 2013 | ||
2013-12-13 00:01 <pokoli> nicoe: yes it seems to. But only 32 bit, haven't found 64bits (don't know if needed) | ||
2013-12-13 00:01 <pokoli> nicoe: I was reading the porting section https://developer.gnome.org/gtk3/3.2/gtk-migrating-2-to-3.html | ||
2013-12-13 00:02 <pokoli> nicoe: especially https://wiki.gnome.org/Projects/PyGObject/IntrospectionPorting | ||
2013-12-13 00:11 <pokoli> nicoe: So if we are running the client on pygtk 2.24 (I am running it), we can use pygtkcompat to run same code base on both versions | ||
2013-12-13 00:12 <pokoli> I'm going to sleep right now, nice chat :) | ||
2013-12-13 00:38 <nicoe> pokoli: I'm going to sleep to see you ! | ||
2013-12-13 07:17 -!- sharoonthomas(~sharoonth@122.177.175.235) has left #tryton | ||
2013-12-13 09:04 <WUD> digitalsatori: | ||
2013-12-13 09:43 <WUD> hi cedk | ||
2013-12-13 09:43 <WUD> I am trying to use a form_relate from ir.action.keyword in my module, but it's not showing up in the GTK client but does exist as a record in Window.actions | ||
2013-12-13 09:44 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton | ||
2013-12-13 09:45 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton | ||
2013-12-13 09:46 <jeancavallo> WUD: could you pastebin the xml defining the keyword and the related action ? | ||
2013-12-13 09:48 <WUD> http://pastebin.com/HAUdkpRf | ||
2013-12-13 09:49 <WUD> the relate button for my model doesn't show. jeancavallo | ||
2013-12-13 09:51 <WUD> is there somewhere else also where I have to update this relate thing | ||
2013-12-13 09:52 <jeancavallo> WUD: Did you restart your client ? | ||
2013-12-13 09:52 <WUD> yes | ||
2013-12-13 09:52 <WUD> a couple of times at least | ||
2013-12-13 09:53 <WUD> I'm using 3.0.1.0 | ||
2013-12-13 09:54 <jeancavallo> WUD: did you check that both the keyword and the act_window exist in the db ? | ||
2013-12-13 09:54 <WUD> yes. I checked through the client itself | ||
2013-12-13 09:56 <WUD> there is the same action defined and the keyword listed as I described in my xml | ||
2013-12-13 09:57 <pokoli> WUD: module_name is the same name on both acctions? | ||
2013-12-13 09:57 <WUD> nope its different | ||
2013-12-13 09:58 <WUD> I was trying to not write the real names. small mistake. | ||
2013-12-13 09:58 <pokoli> WUD: so both names are correct and existing on the database? | ||
2013-12-13 09:58 <WUD> yeah | ||
2013-12-13 09:58 <WUD> both exist | ||
2013-12-13 09:58 <jeancavallo> WUD: You mean they are not defined in the same module ? | ||
2013-12-13 09:58 <WUD> both exist on the database | ||
2013-12-13 09:58 <WUD> no one is an already existing model | ||
2013-12-13 09:58 <WUD> the model on which i'm putting the keyword is the one I made | ||
2013-12-13 09:58 <pokoli> WUD: so maybe you defined the keyword on the oder way round, and the relate is on the other model | ||
2013-12-13 09:59 <WUD> I checked both the models | ||
2013-12-13 09:59 <WUD> none of them have the relate field active | ||
2013-12-13 09:59 <jeancavallo> WUD: Or you forgot to add the module name before the id in the reference | ||
2013-12-13 09:59 <WUD> i made exactly like this > https://github.com/tryton/sale/blob/28025801f41a954353bfc5550a63abbd79b8a7d3/sale.xml#L77 | ||
2013-12-13 10:00 <jeancavallo> WUD: If the entries are in different modules, the references need to include the module name | ||
2013-12-13 10:00 <jeancavallo> WUD: Something like : <field name="action" ref="module_name.id1"/> | ||
2013-12-13 10:01 <WUD> oh that's not right jeancavallo the id exists in the same xml file | ||
2013-12-13 10:01 <jeancavallo> WUD: Ah, ok | ||
2013-12-13 10:01 <WUD> any more ideas? | ||
2013-12-13 10:01 <WUD> jeancavallo: pokoli | ||
2013-12-13 10:02 <pokoli> WUD: paste your current code :) | ||
2013-12-13 10:02 <pokoli> WUD: probally there is a typo somewhere | ||
2013-12-13 10:02 <WUD> okay | ||
2013-12-13 10:02 <WUD> http://pastebin.com/NrCp6m7J | ||
2013-12-13 10:03 <jeancavallo> WUD: Two other ideas : Remove context and domain and see what it does (check that they are indeed removed after updating, sometimes the update fails on those), or check view_toolbar_get | ||
2013-12-13 10:04 <pokoli> WUD: so you try to open the relate from the product form? | ||
2013-12-13 10:04 <WUD> no. product_node form | ||
2013-12-13 10:06 <pokoli> WUD: the domain of the action is not correct | ||
2013-12-13 10:06 <WUD> yes thats what I feel too | ||
2013-12-13 10:06 <pokoli> WUD: I understand you want Eval('active_id', {}).get('parent') | ||
2013-12-13 10:06 <WUD> i commented the domain and the context | ||
2013-12-13 10:06 <jeancavallo> WUD: Try removing the domain | ||
2013-12-13 10:07 <WUD> but its still showing in the xml | ||
2013-12-13 10:07 <WUD> i mean, the window actions view | ||
2013-12-13 10:07 <jeancavallo> WUD: Change it manually in the db | ||
2013-12-13 10:07 <WUD> okay | ||
2013-12-13 10:07 <jeancavallo> WUD: There is bug on domain updating | ||
2013-12-13 10:10 <WUD> I removed the domain and the context but its still not updating | ||
2013-12-13 10:16 <cedk> WUD: the keyword model is different of the act_window res_model | ||
2013-12-13 10:18 <WUD> so? | ||
2013-12-13 10:20 <jeancavallo> WUD: Remove them manually in the database | ||
2013-12-13 10:21 <cedk> WUD: nothing sorry | ||
2013-12-13 10:36 <WUD> jeancavallo: pokoli its still not working | ||
2013-12-13 10:37 <WUD> I tried changing the domain, removing the context, manually deleting from the db | ||
2013-12-13 10:37 <WUD> it doesn't work | ||
2013-12-13 10:38 <pokoli> WUD: comment action and keywork on xml and upgrade (the keywords should be remove) | ||
2013-12-13 10:38 <pokoli> WUD: then uncoment and they should be loaded correctly on the DB | ||
2013-12-13 10:38 <WUD> okay | ||
2013-12-13 10:40 <WUD> okay ty it works now | ||
2013-12-13 10:42 <pokoli> WUD: you're welcome :) | ||
2013-12-13 11:06 <jeancavallo> WUD: nice :) | ||
2013-12-13 11:08 <WUD> thanks jeancavallo | ||
2013-12-13 11:44 <jeancavallo> Anyone knows if there is a reason why view ids end with "view_form" / "view_list", act_windows with "form_view", end file names with "form" or "list" ? | ||
2013-12-13 13:07 <pokoli> jeancavallo: don't know but i think there are historical reasons for tihs | ||
2013-12-13 14:55 -!- WUD(~WUD@unaffiliated/wud) has left #tryton | ||
2013-12-13 15:35 -!- jeancavallo(~giovanni@APuteaux-551-1-78-210.w92-132.abo.wanadoo.fr) has left #tryton | ||
2013-12-13 16:09 -!- strebitz(~sebastian@91.183.59.105) has left #tryton | ||
2013-12-13 19:22 -!- vcardon(~vcardon@LNeuilly-152-23-15-185.w193-252.abo.wanadoo.fr) has left #tryton | ||
2013-12-13 19:48 -!- jordilopezamat(~jordi@181.167.155.29) has left #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!