IRC logs of #tryton for Monday, 2011-09-05

chat.freenode.net #tryton log beginning Mon Sep 5 00:00:02 CEST 2011
2011-09-05 00:11 -!- elbenfreund(~elbenfreu@f055057255.adsl.alicedsl.de) has joined #tryton
2011-09-05 00:31 -!- alimon(~alimon@189.154.55.187) has joined #tryton
2011-09-05 00:49 -!- smarro(~sebastian@190.51.92.162) has joined #tryton
2011-09-05 02:25 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton
2011-09-05 03:02 -!- alimon_(~alimon@189.154.55.187) has joined #tryton
2011-09-05 03:06 -!- alimon(~alimon@189.154.55.187) has joined #tryton
2011-09-05 06:25 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton
2011-09-05 07:34 -!- ndn_pit(~ndn_pit@92.47.220.247) has joined #tryton
2011-09-05 07:34 -!- ndn_pit(~ndn_pit@92.47.220.247) has left #tryton
2011-09-05 07:56 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton
2011-09-05 08:45 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton
2011-09-05 08:48 -!- okko1(~okko@62.58.29.41) has joined #tryton
2011-09-05 08:49 -!- vladimirek(~vladimire@bband-dyn34.178-40-42.t-com.sk) has joined #tryton
2011-09-05 08:55 -!- elbenfreund(~elbenfreu@g227009173.adsl.alicedsl.de) has joined #tryton
2011-09-05 08:57 -!- meanmicio(~lfm@190.195.50.15) has joined #tryton
2011-09-05 09:13 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-09-05 09:20 -!- hoRn(~jan@dslb-178-005-144-249.pools.arcor-ip.net) has joined #tryton
2011-09-05 09:35 -!- elbenfreund(~elbenfreu@g227009173.adsl.alicedsl.de) has joined #tryton
2011-09-05 09:40 -!- pjstevns(~pjstevns@a82-94-5-133.adsl.xs4all.nl) has joined #tryton
2011-09-05 09:40 -!- pjstevns(~pjstevns@a82-94-5-133.adsl.xs4all.nl) has left #tryton
2011-09-05 09:50 -!- udono(~udono@ip-95-222-129-145.unitymediagroup.de) has joined #tryton
2011-09-05 09:58 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-09-05 10:13 -!- ccomb(~ccomb@anj75-1-82-226-210-96.fbx.proxad.net) has joined #tryton
2011-09-05 10:21 -!- elbenfreund(~elbenfreu@p54B924F0.dip.t-dialin.net) has joined #tryton
2011-09-05 10:43 -!- ecarreras(~under@81.184.3.75.static.user.ono.com) has joined #tryton
2011-09-05 10:43 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton
2011-09-05 10:45 -!- nicoe(~nicoe@ced.homedns.org) has joined #tryton
2011-09-05 10:49 <meanmicio> Good morning all. Do we plan to have the "default value" option for fields in the GTK, or is it already implemented ?
2011-09-05 10:50 <cedk> meanmicio: it is already removed :-)
2011-09-05 10:50 <meanmicio> cedk : :-)
2011-09-05 10:51 <meanmicio> cedk : why ?
2011-09-05 10:51 <cedk> meanmicio: it was a buggy concept
2011-09-05 10:51 <cedk> meanmicio: we think it is better to use Singleton for configuration
2011-09-05 10:55 <meanmicio> cedk: but it was useful in terms of repetitive actions for a specific user. If you have any pointers about how to implement it, great !
2011-09-05 10:58 <meanmicio> cedk : another quick question. If I want to search for an specific field in a many2one, what's the best way to implement it ? For example. I put a select="1" in patient. Now, I would like to search not only for the patient name, but for the ID or ther info
2011-09-05 11:00 <cedk> meanmicio: https://groups.google.com/d/topic/tryton-dev/pMa0SKKITxk/discussion
2011-09-05 11:01 <cedk> meanmicio: override search_rec_name
2011-09-05 11:03 <meanmicio> cedk: the idea is to be able to search for different values (so I can any field the ID, lastname, name ) all in the same search field.
2011-09-05 11:04 <cedk> meanmicio: so create function field for each one
2011-09-05 11:06 -!- hoRn(~jan@dslb-178-005-144-249.pools.arcor-ip.net) has left #tryton
2011-09-05 11:23 -!- hoRn(~jan@dslb-178-005-144-249.pools.arcor-ip.net) has joined #tryton
2011-09-05 11:26 -!- ralf58_(~quassel@dslb-088-070-157-015.pools.arcor-ip.net) has joined #tryton
2011-09-05 11:27 -!- ndn_pit(~ndn_pit@92.47.220.247) has joined #tryton
2011-09-05 11:28 <ndn_pit> how can i get user ogject? "Transaction().user" gives me user id, but i want to get object with attributes...
2011-09-05 11:28 <ndn_pit> i know: self.pool.get('res.user').browse(Transaction().user), but is there another way?
2011-09-05 11:29 <cedk> ndn_pit: no
2011-09-05 11:29 -!- ndn_pit(~ndn_pit@92.47.220.247) has left #tryton
2011-09-05 11:33 -!- woakas(~woakas@200.106.218.64) has joined #tryton
2011-09-05 12:03 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-09-05 12:10 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2011-09-05 14:02 -!- smarro(~sebastian@190.51.92.162) has joined #tryton
2011-09-05 14:07 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton
2011-09-05 14:21 -!- heg(~heg@dyn.144-85-139-138.dsl.vtx.ch) has joined #tryton
2011-09-05 14:58 -!- okko1(~okko@62.58.29.41) has joined #tryton
2011-09-05 15:57 -!- ccomb(~ccomb@anj75-1-82-226-210-96.fbx.proxad.net) has joined #tryton
2011-09-05 15:57 -!- smarro(~sebastian@186-129-248-247.static.speedy.com.ar) has joined #tryton
2011-09-05 15:58 <hoRn> Hi
2011-09-05 16:00 <hoRn> I need to parse stock-quanties to an application outside tryton: so i set context['stock_date_end']=datetime.date.today() in the xml-rpc-request. this results in "cannot marshal <type 'datetime.date'> objects"
2011-09-05 16:01 <hoRn> Am I trying something stupid again?
2011-09-05 16:02 <cedk> hoRn: you must patch xmlrpclib to allow to marshall date
2011-09-05 16:02 <cedk> hoRn: look in trytond/protocols/xmlrpc.py
2011-09-05 16:02 <hoRn> cedk: ok - will take a look - thank you
2011-09-05 16:15 -!- alimon(alimon@189.154.55.187) has joined #tryton
2011-09-05 16:48 <hoRn> cedk: i wrapped the method in a own method
2011-09-05 16:48 <hoRn> cedk: seems more clean
2011-09-05 16:57 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2011-09-05 16:58 <zodman> cedk: in your review http://codereview.tryton.org/99002/ i see on sql string a "%%s"
2011-09-05 16:58 <zodman> how is called it ?
2011-09-05 16:58 <zodman> i unknow that ...
2011-09-05 17:00 <nicoe> zodman: it's probably because this string will be interpreted by python '%' operator
2011-09-05 17:00 <cedk> zodman: it is just to escape '%' in string formatting
2011-09-05 17:01 <zodman> only works on cursor.execute ?
2011-09-05 17:01 <zodman> or it is valid for python strings ? "aaaa%%s" % ("b",) ?
2011-09-05 17:02 <cedk> zodman: python will tell that it is missing a %s
2011-09-05 17:04 <zodman> ooh yes i found it the documentation of dbapitext :) tnx ced and nicoe
2011-09-05 17:20 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton
2011-09-05 17:49 -!- dfamorato(~dfamorato@173-9-190-185-miami.txt.hfc.comcastbusiness.net) has joined #tryton
2011-09-05 19:36 -!- enlightx(~enlightx@dynamic-adsl-94-34-209-153.clienti.tiscali.it) has joined #tryton
2011-09-05 19:47 -!- enlightx(~enlightx@dynamic-adsl-94-34-209-153.clienti.tiscali.it) has joined #tryton
2011-09-05 20:04 -!- enlightx(~enlightx@dynamic-adsl-94-34-209-153.clienti.tiscali.it) has joined #tryton
2011-09-05 21:13 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2011-09-05 21:13 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has left #tryton
2011-09-05 21:20 -!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton
2011-09-05 22:03 -!- gremly(~gremly@200.106.218.64) has joined #tryton
2011-09-05 22:54 -!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-09-05 23:21 -!- ccomb(~ccomb@vau75-2-81-57-244-84.fbx.proxad.net) has joined #tryton
2011-09-05 23:30 -!- elbenfreund(~elbenfreu@g227009173.adsl.alicedsl.de) has joined #tryton
2011-09-05 23:46 -!- okko1(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!