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

chat.freenode.net #tryton log beginning Tue Aug 31 00:00:02 CEST 2010
2010-08-31 00:24 -!- zodman(~Miranda@200.76.52.125) has joined #tryton
2010-08-31 00:45 -!- sharoon(~sharoon@vpn7.its.manchester.ac.uk) has joined #tryton
2010-08-31 00:45 -!- sharoon(~sharoon@vpn7.its.manchester.ac.uk) has left #tryton
2010-08-31 00:51 -!- sharoon(~sharoon@vpn6.its.manchester.ac.uk) has joined #tryton
2010-08-31 00:51 -!- sharoon(~sharoon@vpn6.its.manchester.ac.uk) has left #tryton
2010-08-31 01:28 -!- digitalsatori(~tony@116.233.245.126) has joined #tryton
2010-08-31 03:06 -!- ikks(~ikks@190.158.116.172) has joined #tryton
2010-08-31 05:18 -!- yangoon(~mathiasb@p549F7204.dip.t-dialin.net) has joined #tryton
2010-08-31 05:27 -!- gremly(~gremly@190.26.158.160) has joined #tryton
2010-08-31 06:13 -!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton
2010-08-31 06:32 -!- mr_amit(~amit@117.254.26.189) has joined #tryton
2010-08-31 07:19 -!- tekoholic(~quassel@174-29-176-201.hlrn.qwest.net) has joined #tryton
2010-08-31 08:01 <cedk> pheller: could you submit the patch for issue1663
2010-08-31 08:07 <pheller> Emailed.
2010-08-31 08:07 <pheller> and time to go to sleep. 0207 here :-)
2010-08-31 08:07 <pheller> good night / morning
2010-08-31 08:32 -!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton
2010-08-31 08:43 -!- eLBati(~elbati@94.163.51.230) has joined #tryton
2010-08-31 08:48 -!- udono(~udono@dynamic-unidsl-85-197-16-204.westend.de) has joined #tryton
2010-08-31 09:16 -!- enlightx(~enlightx@host166-217-dynamic.0-79-r.retail.telecomitalia.it) has joined #tryton
2010-08-31 09:21 -!- paepke(~paepke@p5B32B045.dip.t-dialin.net) has joined #tryton
2010-08-31 09:41 -!- eLBati(~elbati@94.160.25.33) has joined #tryton
2010-08-31 10:05 -!- paepke_(~paepke@p5B32C01A.dip.t-dialin.net) has joined #tryton
2010-08-31 10:28 -!- paepke_(~paepke@p5B32C01A.dip.t-dialin.net) has joined #tryton
2010-08-31 10:56 -!- enlightx_(~enlightx@host234-169-dynamic.11-79-r.retail.telecomitalia.it) has joined #tryton
2010-08-31 10:56 -!- enlightx(~enlightx@host234-169-dynamic.11-79-r.retail.telecomitalia.it) has joined #tryton
2010-08-31 11:51 -!- enlightx(~enlightx@109.52.192.174) has joined #tryton
2010-08-31 12:21 -!- enlightx(~enlightx@host108-206-dynamic.8-87-r.retail.telecomitalia.it) has joined #tryton
2010-08-31 13:13 -!- Red15(~red15@unaffiliated/red15) has joined #tryton
2010-08-31 13:16 -!- sharoon(~sharoon@vpn150.its.manchester.ac.uk) has joined #tryton
2010-08-31 13:22 -!- mfladischer(~fladische@2001:470:1f0b:11df:347b:6bff:feb8:506f) has joined #tryton
2010-08-31 14:03 -!- mfladischer(~fladische@2001:470:1f0b:11df:347b:6bff:feb8:506f) has joined #tryton
2010-08-31 14:15 -!- paepke(~paepke@p4FEB1553.dip0.t-ipconnect.de) has joined #tryton
2010-08-31 14:27 -!- enlightx(~enlightx@host146-203-dynamic.0-87-r.retail.telecomitalia.it) has joined #tryton
2010-08-31 14:44 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-08-31 14:50 -!- enlightx(~enlightx@host146-203-dynamic.0-87-r.retail.telecomitalia.it) has joined #tryton
2010-08-31 14:51 -!- eLBati(~elbati@93.37.65.125) has joined #tryton
2010-08-31 14:53 -!- hoRn(~chatzilla@dslb-094-223-211-094.pools.arcor-ip.net) has joined #tryton
2010-08-31 15:07 <hoRn> sharoon: here i'am
2010-08-31 15:07 <sharoon> hoRn: hi
2010-08-31 15:08 <hoRn> sharoon: question repeat for the bot?
2010-08-31 15:08 <sharoon> hoRn: yes please
2010-08-31 15:08 <hoRn> end_lead() is only writing to sales_opportunity but generates a sale - how works this magic ;/
2010-08-31 15:09 <sharoon> hoRn: check http://codereview.appspot.com/779041/patch/73001/47010
2010-08-31 15:09 -!- enlightx(~enlightx@host42-213-dynamic.8-87-r.retail.telecomitalia.it) has joined #tryton
2010-08-31 15:10 <sharoon> hoRn: and http://codereview.appspot.com/779041/patch/73001/47011
2010-08-31 15:10 <sharoon> hoRn: check the workflow activity opportunity_activity_converted
2010-08-31 15:13 -!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton
2010-08-31 15:13 <hoRn> sharoon: i have a complete different opportunity.py in my modules folder - (confused)
2010-08-31 15:14 <sharoon> hoRn: sale_opportunity is not released officially yet, so the latest patchset is that, or we should wait for cedk to release
2010-08-31 15:16 <hoRn> sharoon: my copy of your module ist working - but without def create_sale()
2010-08-31 15:18 <cedk> sharoon, hoRn: http://hg.tryton.org/hgwebdir.cgi/1.6/modules/sale_opportunity/
2010-08-31 15:21 <hoRn> sharoon: confused about myself - how i get your module ;/ -need to update to hg-version, sorry
2010-08-31 15:22 <sharoon> thanks cedk
2010-08-31 15:22 <sharoon> hoRn: i hope that solves the issue
2010-08-31 15:23 <sharoon> hoRn: 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 ;)
2010-08-31 15:24 <hoRn> sharoon, cedk : i was realy perplexed how it works - but i don't had the actual code :)
2010-08-31 15:27 <hoRn> public property - i lived 20 years in a socialist country - I can work with different meanings of ownership ;)
2010-08-31 16:09 -!- pheller(~pheller@c1fw236.constantcontact.com) has joined #tryton
2010-08-31 16:09 -!- gremly(~gremly@200.106.197.191) has joined #tryton
2010-08-31 16:11 -!- gremly(~gremly@200.106.197.191) has joined #tryton
2010-08-31 16:30 -!- sharoon(~sharoon@vpn150.its.manchester.ac.uk) has left #tryton
2010-08-31 16:35 -!- sharoon(~sharoon@vpn60.its.manchester.ac.uk) has joined #tryton
2010-08-31 16:59 <sharoon> pheller: the functionality we discussed yesterday is documented here: http://www.xtuple.org/ReceivingLotSerial
2010-08-31 17:22 -!- enlightx(~enlightx@host79-209-dynamic.14-87-r.retail.telecomitalia.it) has joined #tryton
2010-08-31 17:46 -!- enlightx(~enlightx@host227-206-dynamic.14-87-r.retail.telecomitalia.it) has joined #tryton
2010-08-31 18:02 -!- sharoon(~sharoon@vpn56.its.manchester.ac.uk) has joined #tryton
2010-08-31 18:13 -!- sharoon(~sharoon@vpn13.its.manchester.ac.uk) has joined #tryton
2010-08-31 18:27 -!- enlightx(~enlightx@host135-170-dynamic.9-87-r.retail.telecomitalia.it) has joined #tryton
2010-08-31 18:42 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-08-31 18:44 -!- zodman(~Miranda@200.76.52.125) has joined #tryton
2010-08-31 19:26 -!- sharoon(~sharoon@vpn70.its.manchester.ac.uk) has joined #tryton
2010-08-31 19:33 -!- enlightx(~enlightx@dynamic-adsl-94-34-211-122.clienti.tiscali.it) has joined #tryton
2010-08-31 20:57 -!- paepke(~paepke@p4FEB1553.dip0.t-ipconnect.de) has left #tryton
2010-08-31 21:43 -!- sharoon_(~sharoon@vpn70.its.manchester.ac.uk) has joined #tryton
2010-08-31 22:19 <cedk> sharoon: hi
2010-08-31 22:19 <sharoon> cedk: hi
2010-08-31 22:19 <cedk> sharoon: did you start working on namedtuple ?
2010-08-31 22:20 <sharoon> cedk: i am on academic holiday till 6th of sep :) will be working on it from then
2010-08-31 22:21 <cedk> sharoon: it was because I think that if we migrate to SQLAlchemy expression it should be done on it
2010-08-31 22:21 <sharoon> cedk: ah, i wanted to clarify that with you too, any further descriptions on that? i dint really understand what you meant (sorry!)
2010-08-31 22:22 <cedk> sharoon: SA is composed of different stuffs
2010-08-31 22:22 <sharoon> ok
2010-08-31 22:23 <cedk> sharoon: one is the SQL expression language
2010-08-31 22:23 <cedk> sharoon: which is a Pythonic way to represent SQL
2010-08-31 22:23 <sharoon> this one? http://www.sqlalchemy.org/docs/05/sqlexpression.html
2010-08-31 22:23 <cedk> sharoon: yes
2010-08-31 22:23 <sharoon> cedk: great!
2010-08-31 22:24 <cedk> I think we could use it to write SQL in Tryton
2010-08-31 22:24 <sharoon> cedk: so are we adapting our whole api to this style?
2010-08-31 22:24 <cedk> sharoon: I tought first to keep current API and use it in ModelSQL
2010-08-31 22:24 <sharoon> cedk: ok
2010-08-31 22:25 <sharoon> something like `from tryton.sql import select`
2010-08-31 22:25 <sharoon> select('party.party')
2010-08-31 22:26 <cedk> sharoon: perhaps
2010-08-31 22:26 -!- gremly(~gremly@200.106.197.191) has joined #tryton
2010-08-31 22:26 <sharoon> cedk: what about domain exprs?
2010-08-31 22:27 <cedk> sharoon: I think we should keep it for now to allow to use it from web services
2010-08-31 22:28 <sharoon> cedk: got you
2010-08-31 22:28 <sharoon> cedk: looking at joins, it looks promising too... so easy... but does it have extra overhead?
2010-08-31 22:28 <cedk> sharoon: but we could add support if SA expression in it
2010-08-31 22:29 <cedk> sharoon: I thought about using reflection
2010-08-31 22:29 <sharoon> cedk: for now we could just move all sql queries into http://www.sqlalchemy.org/docs/05/sqlexpression.html#using-text kind of query?
2010-08-31 22:30 <sharoon> cedk: what is reflection?
2010-08-31 22:30 <cedk> sharoon: it is a way SA could find the DB scheme
2010-08-31 22:31 <sharoon> cedk: ok
2010-08-31 22:31 <cedk> sharoon: I don't think it is good to go with text query
2010-08-31 22:32 <sharoon> cedk: so we need to move all existing queries into the SA style this time itself! ?
2010-08-31 22:33 <cedk> sharoon: yes
2010-08-31 22:33 <sharoon> cedk: http://www.sqlalchemy.org/docs/05/ormtutorial.html#querying
2010-08-31 22:34 <sharoon> cedk: SA returns named tuples
2010-08-31 22:34 <cedk> sharoon: good :-)
2010-08-31 22:35 <sharoon> cedk: so do we move to .order_by / .filter_by instead of the current list of arguments
2010-08-31 22:35 <cedk> sharoon: I will try to make a prototype in 1 or 2 weeks
2010-08-31 22:35 <sharoon> cedk: cool
2010-08-31 22:35 <sharoon> cedk: so i will not work for the moment on namedtuple_fetchX()
2010-08-31 22:36 <cedk> sharoon: I don't think, we have an extensible way to define this and I don't think the SA way is
2010-08-31 22:36 <sharoon> cedk: looks like the queries are lazy in SA. wont work in the client server context i guess!
2010-08-31 22:37 <sharoon> cedk: not at all like the read we have
2010-08-31 22:38 <sharoon> cedk: 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.html
2010-08-31 22:40 <cedk> sharoon: I don't see where it the issue?
2010-08-31 22:41 <sharoon> cedk: 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 moment
2010-08-31 22:43 <cedk> sharoon: I don't think we can do such thing on search because it must be accessible from web services
2010-08-31 22:44 <sharoon> cedk: exactly, but we could (__future__) have an API which could be used within the code (like browse)
2010-08-31 22:45 <cedk> sharoon: yes of course, it is in the plan of the Active Record migration
2010-08-31 22:46 <sharoon> cedk: oh yeh! eagerly waiting for ur prototype... so my immediate priorities are email (which is 90% done... need tests) and ModelEAV
2010-08-31 22:47 <cedk> sharoon: yes of course nothing to hury. I just wanted to inform you like that you don't go to far with namedtuple

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