chat.freenode.net #tryton log beginning Sat Jun 18 00:00:02 CEST 2011 | ||
2011-06-18 00:03 <version2beta> sharoon: I haven't used codereview :-( It's just the patches? There's not a module for UPS? Probably need to get more into it to understand. | ||
2011-06-18 00:04 <sharoon> version2beta: if you are talking about the tryton module, its justa generic framework around which carriers and rates can be integrated | ||
2011-06-18 00:04 <sharoon> version2beta: its much cleaner than what we did | ||
2011-06-18 00:05 <version2beta> sharoon: I think I follow. But this isn't in 2.0.1 then? | ||
2011-06-18 00:06 <sharoon> version2beta: not yet, its still in review... its something for cedk to say when it will hit the main repos | ||
2011-06-18 00:06 <version2beta> sharoon: Thank you. | ||
2011-06-18 00:09 <version2beta> sharoon: Oh, I see. Each file is +X lines, -0. All the files are new. | ||
2011-06-18 00:10 <sharoon> version2beta: you can download the raw patchset and run the patch tool.. it will recreate the folders and the code | ||
2011-06-18 00:10 <version2beta> sharoon: I figured that out eventually ;-) | ||
2011-06-18 00:12 <version2beta> sharoon: Thank you for your time. I'm afraid I have three kids at home waiting for me to cook dinner and one here at the office waiting for a ride home so she can join them in waiting for me to cook dinner ;-) I best be off. Please do keep in touch. I'll read up on Rabbit MQ and Celery and perhaps you might tolerate my scalability questions. | ||
2011-06-18 00:12 <sharoon> version2beta: no problem | ||
2011-06-18 00:16 <version2beta> sharoon: Yes, now that I see what Rabbit and Celery do, I'd definitely be interested in hearing about your network architecture. That sounds fascinating. Thanks again. Have a safe journey - I hope it's fruitful! | ||
2011-06-18 00:17 <sharoon> version2beta: thanks and have a nice weekend | ||
2011-06-18 00:18 -!- rhubner(~rhubner@177.16.97.49) has joined #tryton | ||
2011-06-18 00:29 -!- sharoon(~sharoon@66.43.120.114) has joined #tryton | ||
2011-06-18 00:29 -!- sharoon_(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton | ||
2011-06-18 00:33 -!- sharoon(~sharoon@66.43.120.114) has joined #tryton | ||
2011-06-18 00:34 -!- sharoon_(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton | ||
2011-06-18 01:35 -!- heg(~heg@dyn.144-85-172-095.dsl.vtx.ch) has left #tryton | ||
2011-06-18 01:55 -!- sharoon(~sharoon@66.43.120.114) has joined #tryton | ||
2011-06-18 01:56 -!- sharoon_(~sharoon@204-232-205-248.static.cloud-ips.com) has joined #tryton | ||
2011-06-18 02:30 -!- ikks(~ikks@186.83.199.77) has joined #tryton | ||
2011-06-18 02:47 -!- ikks(~ikks@186.83.199.77) has joined #tryton | ||
2011-06-18 02:56 -!- ikks(~ikks@186.83.199.77) has joined #tryton | ||
2011-06-18 03:14 -!- rhubner(~rhubner@177.16.97.49) has left #tryton | ||
2011-06-18 04:05 -!- gremly(~gremly@200.106.202.91) has joined #tryton | ||
2011-06-18 04:27 -!- ikks(~ikks@186.83.199.77) has joined #tryton | ||
2011-06-18 04:34 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton | ||
2011-06-18 05:18 -!- yangoon(~mathiasb@p549F1DD9.dip.t-dialin.net) has joined #tryton | ||
2011-06-18 05:28 -!- meanmicio(~lfm@190.195.50.15) has left #tryton | ||
2011-06-18 06:10 -!- meanmicio(~lfm@190.195.50.15) has joined #tryton | ||
2011-06-18 07:07 -!- alimon(~alimon@187.156.103.195) has joined #tryton | ||
2011-06-18 08:43 -!- enlightx(~enlightx@217.203.116.241) has joined #tryton | ||
2011-06-18 08:54 -!- enlightx(~enlightx@2.192.25.224) has joined #tryton | ||
2011-06-18 09:00 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2011-06-18 09:08 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton | ||
2011-06-18 09:56 -!- reichlich(~reichlich@p5793D810.dip.t-dialin.net) has joined #tryton | ||
2011-06-18 10:32 -!- enlightx(~enlightx@2.192.25.224) has joined #tryton | ||
2011-06-18 10:45 -!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton | ||
2011-06-18 11:46 -!- enlightx(~enlightx@2.45.170.95) has joined #tryton | ||
2011-06-18 12:51 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has left #tryton | ||
2011-06-18 13:06 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2011-06-18 13:30 <reichlich> is it possible to get the pool instance from a class that not inherits Model? | ||
2011-06-18 13:53 <reichlich> solved: self.pool = Pool(Transaction().cursor.database_name) | ||
2011-06-18 13:54 -!- enlightx(~enlightx@109.52.102.241) has joined #tryton | ||
2011-06-18 15:13 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton | ||
2011-06-18 17:11 -!- ikks(~ikks@186.83.199.77) has joined #tryton | ||
2011-06-18 17:16 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton | ||
2011-06-18 17:37 -!- enlightx(~enlightx@109.52.102.241) has joined #tryton | ||
2011-06-18 17:44 -!- rhubner(~rhubner@177.16.97.222) has joined #tryton | ||
2011-06-18 18:20 -!- alimon(~alimon@187.156.103.195) has joined #tryton | ||
2011-06-18 18:55 -!- nicoe(~nicoe@137.117-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton | ||
2011-06-18 20:10 -!- gremly(~gremly@200.106.202.91) has joined #tryton | ||
2011-06-18 21:24 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton | ||
2011-06-18 21:48 <rhubner> Hi everyone! | ||
2011-06-18 21:49 <rhubner> I need help to know how does work the XML model to TextBox... | ||
2011-06-18 21:49 <rhubner> Does anyone know something about this? | ||
2011-06-18 21:50 <nicoe> What do you mean by TextBox ? | ||
2011-06-18 21:50 <nicoe> a gtk.TextBox ? | ||
2011-06-18 21:53 <rhubner> nicoe: No! I want to know how is called the class TextBox in tryton client | ||
2011-06-18 21:53 <rhubner> nicoe: http://hg2.tryton.org/tryton/file/c1592bfc9839/tryton/gui/window/view_form/view/form_gtk/textbox.py | ||
2011-06-18 21:54 <rhubner> nicoe: I need to change this call to add a widget, but i still don't know where i do this... | ||
2011-06-18 21:55 <nicoe> The __init__ method setup everything | ||
2011-06-18 21:55 <nicoe> The 'self.widget' is what will be rendered by gtk | ||
2011-06-18 21:56 <nicoe> And the self.textview is where the user will enter all the text | ||
2011-06-18 22:00 <rhubner> nicoe: Ok.. I hato to add a rich text editor. The editor is ready, but i don't know how i will call the widget "rte" and other time a normal editor (as is now) | ||
2011-06-18 22:00 <rhubner> I have to* | ||
2011-06-18 22:01 <rhubner> nicoe: this is my project in gsoc: rhubner.com | ||
2011-06-18 22:03 <rhubner> nicoe: in the first post i added this: "<field name="text" widget="rich_text">" to call the widget, but I don't know which path I follow to do this... | ||
2011-06-18 22:03 <rhubner> nicoe: Did you understand? | ||
2011-06-18 22:07 <nicoe> rhubner: I did | ||
2011-06-18 22:07 <nicoe> Please wait one second so that I can browse my source | ||
2011-06-18 22:09 <rhubner> nicoe: Ok.. thx | ||
2011-06-18 22:10 <nicoe> Take a look to tryton/gui/window/view_form/view/form_gtk/parser.py | ||
2011-06-18 22:11 <nicoe> At the end there is a dict that maps widget type name to class of widgets | ||
2011-06-18 22:12 <nicoe> So you should create a new type of widget : richtextbox.py | ||
2011-06-18 22:12 <nicoe> And add it to this dict | ||
2011-06-18 22:15 <rhubner> nicoe: cool! Instead of call "text" i want to call "rte" in XML, right? | ||
2011-06-18 22:15 <nicoe> rte is not clear in py opinion | ||
2011-06-18 22:15 <nicoe> rich_text is nice | ||
2011-06-18 22:16 <nicoe> the attribute name is the name of the field in the tryton model | ||
2011-06-18 22:17 <nicoe> so your xml should be: '<field name="description" widget="rich_text" />' | ||
2011-06-18 22:18 <rhubner> nicoe: Where can I find a call as ... widget = "text" ... ? | ||
2011-06-18 22:21 <nicoe> any fields.Text in a tryton model will use a text widget | ||
2011-06-18 22:22 <nicoe> So find a fields.Text, and modify the xml of this name and model to add your widget="..." to the xml | ||
2011-06-18 22:23 <nicoe> There are fields.Text fields everywhere (in sale for example) | ||
2011-06-18 22:24 <rhubner> nicoe: Ok... thanks for a while :) | ||
2011-06-18 22:25 <rhubner> nicoe: I'll make some changes to get this |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!