IRC logs of #tryton for Tuesday, 2010-08-31

chat.freenode.net #tryton log beginning Tue Aug 31 00:00:02 CEST 2010
-!- zodman(~Miranda@200.76.52.125) has joined #tryton00:24
-!- sharoon(~sharoon@vpn7.its.manchester.ac.uk) has joined #tryton00:45
-!- sharoon(~sharoon@vpn7.its.manchester.ac.uk) has left #tryton00:45
-!- sharoon(~sharoon@vpn6.its.manchester.ac.uk) has joined #tryton00:51
-!- sharoon(~sharoon@vpn6.its.manchester.ac.uk) has left #tryton00:51
-!- digitalsatori(~tony@116.233.245.126) has joined #tryton01:28
-!- ikks(~ikks@190.158.116.172) has joined #tryton03:06
-!- yangoon(~mathiasb@p549F7204.dip.t-dialin.net) has joined #tryton05:18
-!- gremly(~gremly@190.26.158.160) has joined #tryton05:27
-!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton06:13
-!- mr_amit(~amit@117.254.26.189) has joined #tryton06:32
-!- tekoholic(~quassel@174-29-176-201.hlrn.qwest.net) has joined #tryton07:19
cedkpheller: could you submit the patch for issue166308:01
phellerEmailed.08:07
phellerand time to go to sleep.  0207 here :-)08:07
phellergood night / morning08:07
-!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton08:32
-!- eLBati(~elbati@94.163.51.230) has joined #tryton08:43
-!- udono(~udono@dynamic-unidsl-85-197-16-204.westend.de) has joined #tryton08:48
-!- enlightx(~enlightx@host166-217-dynamic.0-79-r.retail.telecomitalia.it) has joined #tryton09:16
-!- paepke(~paepke@p5B32B045.dip.t-dialin.net) has joined #tryton09:21
-!- eLBati(~elbati@94.160.25.33) has joined #tryton09:41
-!- paepke_(~paepke@p5B32C01A.dip.t-dialin.net) has joined #tryton10:05
-!- paepke_(~paepke@p5B32C01A.dip.t-dialin.net) has joined #tryton10:28
-!- enlightx_(~enlightx@host234-169-dynamic.11-79-r.retail.telecomitalia.it) has joined #tryton10:56
-!- enlightx(~enlightx@host234-169-dynamic.11-79-r.retail.telecomitalia.it) has joined #tryton10:56
-!- enlightx(~enlightx@109.52.192.174) has joined #tryton11:51
-!- enlightx(~enlightx@host108-206-dynamic.8-87-r.retail.telecomitalia.it) has joined #tryton12:21
-!- Red15(~red15@unaffiliated/red15) has joined #tryton13:13
-!- sharoon(~sharoon@vpn150.its.manchester.ac.uk) has joined #tryton13:16
-!- mfladischer(~fladische@2001:470:1f0b:11df:347b:6bff:feb8:506f) has joined #tryton13:22
-!- mfladischer(~fladische@2001:470:1f0b:11df:347b:6bff:feb8:506f) has joined #tryton14:03
-!- paepke(~paepke@p4FEB1553.dip0.t-ipconnect.de) has joined #tryton14:15
-!- enlightx(~enlightx@host146-203-dynamic.0-87-r.retail.telecomitalia.it) has joined #tryton14:27
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton14:44
-!- enlightx(~enlightx@host146-203-dynamic.0-87-r.retail.telecomitalia.it) has joined #tryton14:50
-!- eLBati(~elbati@93.37.65.125) has joined #tryton14:51
-!- hoRn(~chatzilla@dslb-094-223-211-094.pools.arcor-ip.net) has joined #tryton14:53
hoRnsharoon: here i'am15:07
sharoonhoRn: hi15:07
hoRnsharoon: question repeat for the bot?15:08
sharoonhoRn: yes please15:08
hoRnend_lead() is only writing to sales_opportunity but generates a sale - how works this magic ;/15:08
sharoonhoRn: check http://codereview.appspot.com/779041/patch/73001/4701015:09
-!- enlightx(~enlightx@host42-213-dynamic.8-87-r.retail.telecomitalia.it) has joined #tryton15:09
sharoonhoRn: and http://codereview.appspot.com/779041/patch/73001/4701115:10
sharoonhoRn: check the workflow activity opportunity_activity_converted15:10
-!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton15:13
hoRnsharoon: i have a complete different opportunity.py in my modules folder - (confused)15:13
sharoonhoRn: sale_opportunity is not released officially yet, so the latest patchset is that, or we should wait for cedk to release15:14
hoRnsharoon: my copy of your module ist working - but without def create_sale()15:16
cedksharoon, hoRn: http://hg.tryton.org/hgwebdir.cgi/1.6/modules/sale_opportunity/15:18
hoRnsharoon: confused about myself - how i get your module ;/ -need to update to hg-version, sorry15:21
sharoonthanks cedk15:22
sharoonhoRn: i hope that solves the issue15:22
sharoonhoRn: BTW - its not "my", "your" module - i just started the work, it has too many contributions from others in this community, would prefer to keep the ownership part out of it ;)15:23
hoRnsharoon, cedk :  i was realy perplexed how it works - but i don't had the actual code :)15:24
hoRnpublic property  - i lived 20 years in a socialist country - I can work with different meanings of ownership ;)15:27
-!- pheller(~pheller@c1fw236.constantcontact.com) has joined #tryton16:09
-!- gremly(~gremly@200.106.197.191) has joined #tryton16:09
-!- gremly(~gremly@200.106.197.191) has joined #tryton16:11
-!- sharoon(~sharoon@vpn150.its.manchester.ac.uk) has left #tryton16:30
-!- sharoon(~sharoon@vpn60.its.manchester.ac.uk) has joined #tryton16:35
sharoonpheller: the functionality we discussed yesterday is documented here: http://www.xtuple.org/ReceivingLotSerial16:59
-!- enlightx(~enlightx@host79-209-dynamic.14-87-r.retail.telecomitalia.it) has joined #tryton17:22
-!- enlightx(~enlightx@host227-206-dynamic.14-87-r.retail.telecomitalia.it) has joined #tryton17:46
-!- sharoon(~sharoon@vpn56.its.manchester.ac.uk) has joined #tryton18:02
-!- sharoon(~sharoon@vpn13.its.manchester.ac.uk) has joined #tryton18:13
-!- enlightx(~enlightx@host135-170-dynamic.9-87-r.retail.telecomitalia.it) has joined #tryton18:27
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton18:42
-!- zodman(~Miranda@200.76.52.125) has joined #tryton18:44
-!- sharoon(~sharoon@vpn70.its.manchester.ac.uk) has joined #tryton19:26
-!- enlightx(~enlightx@dynamic-adsl-94-34-211-122.clienti.tiscali.it) has joined #tryton19:33
-!- paepke(~paepke@p4FEB1553.dip0.t-ipconnect.de) has left #tryton20:57
-!- sharoon_(~sharoon@vpn70.its.manchester.ac.uk) has joined #tryton21:43
cedksharoon: hi22:19
sharooncedk: hi22:19
cedksharoon: did you start working on namedtuple ?22:19
sharooncedk: i am on academic holiday till 6th of sep :) will be working on it from then22:20
cedksharoon: it was because I think that if we migrate to SQLAlchemy expression it should be done on it22:21
sharooncedk: ah, i wanted to clarify that with you too, any further descriptions on that? i dint really understand what you meant (sorry!)22:21
cedksharoon: SA is composed of different stuffs22:22
sharoonok22:22
cedksharoon: one is the SQL expression language22:23
cedksharoon: which is a Pythonic way to represent SQL22:23
sharoonthis one? http://www.sqlalchemy.org/docs/05/sqlexpression.html22:23
cedksharoon: yes22:23
sharooncedk: great!22:23
cedkI think we could use it to write SQL in Tryton22:24
sharooncedk: so are we adapting our whole api to this style?22:24
cedksharoon: I tought first to keep current API and use it in ModelSQL22:24
sharooncedk: ok22:24
sharoonsomething like `from tryton.sql import select`22:25
sharoonselect('party.party')22:25
cedksharoon: perhaps22:26
-!- gremly(~gremly@200.106.197.191) has joined #tryton22:26
sharooncedk: what about domain exprs?22:26
cedksharoon: I think we should keep it for now to allow to use it from web services22:27
sharooncedk: got you22:28
sharooncedk: looking at joins, it looks promising too... so easy... but does it have extra overhead?22:28
cedksharoon: but we could add support if SA expression in it22:28
cedksharoon: I thought about using reflection22:29
sharooncedk: for now we could just move all sql queries into http://www.sqlalchemy.org/docs/05/sqlexpression.html#using-text kind of query?22:29
sharooncedk: what is reflection?22:30
cedksharoon: it is a way SA could find the DB scheme22:30
sharooncedk: ok22:31
cedksharoon: I don't think it is good to go with text query22:31
sharooncedk: so we need to move all existing queries into the SA style this time itself! ?22:32
cedksharoon: yes22:33
sharooncedk: http://www.sqlalchemy.org/docs/05/ormtutorial.html#querying22:33
sharooncedk: SA returns named tuples22:34
cedksharoon: good :-)22:34
sharooncedk: so do we move to .order_by / .filter_by instead of the current list of arguments22:35
cedksharoon: I will try to make a prototype in 1 or 2 weeks22:35
sharooncedk: cool22:35
sharooncedk: so i will not work for the moment on namedtuple_fetchX()22:35
cedksharoon: I don't think, we have an extensible way to define this and I don't think the SA way is22:36
sharooncedk: looks like the queries are lazy in SA. wont work in the client server context i guess!22:36
sharooncedk: not at all like the read we have22:37
sharooncedk: i actually did something similar, but more closer to django way for openerp http://sharoonthomas.blogspot.com/2010/02/my-madness-for-new-open-erp-api.html22:38
cedksharoon: I don't see where it the issue?22:40
sharooncedk: if we want to use the API like QS.filter(<condition>) and then in the next statement do QS.order_by(<condition>) then it needs to use lazy loading on search/read etc right? totally unlike what we do at the moment22:41
cedksharoon: I don't think we can do such thing on search because it must be accessible from web services22:43
sharooncedk: exactly, but we could (__future__) have an API which could be used within the code (like browse)22:44
cedksharoon: yes of course, it is in the plan of the Active Record migration22:45
sharooncedk: oh yeh! eagerly waiting for ur prototype... so my immediate priorities are email (which is 90% done... need tests) and ModelEAV22:46
cedksharoon: yes of course nothing to hury. I just wanted to inform you like that you don't go to far with namedtuple22:47

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