IRC logs of #tryton for Sunday, 2008-12-21

chat.freenode.net #tryton log beginning Sun Dec 21 00:00:01 CET 2008
2008-12-21 01:51 -!- yangoon1(n=mathiasb@p549F4AAE.dip.t-dialin.net) has joined #tryton
2008-12-21 02:26 <CIA-53> tryton: matb roundup * #658/Make translation of title of invoice report independent from invoice.type: [chatting] AFAIS I provided the patch exactly as pointed out on http://code.google.com/p/tryton/wiki/HowtoContribute.
2008-12-21 05:20 -!- yangoon(n=mathiasb@p549F5237.dip.t-dialin.net) has joined #tryton
2008-12-21 05:39 -!- ikks(n=igor@190.12.153.202) has joined #tryton
2008-12-21 06:07 -!- igor(i=igor@190.158.191.42) has joined #tryton
2008-12-21 07:32 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-12-21 07:44 -!- vengfulsquirrel(n=ian@c-71-202-125-182.hsd1.ca.comcast.net) has left #tryton
2008-12-21 09:45 -!- snowch(n=snowch@82.152.13.57) has joined #tryton
2008-12-21 09:50 -!- snowch(n=snowch@82.152.13.57) has left #tryton
2008-12-21 11:26 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-12-21 11:38 -!- bacule(n=bacule@chrisdennis.org.uk) has joined #tryton
2008-12-21 11:58 -!- X0d_of_N0d(i=C-C_C-X@gateway/tor/x-ec1ade5cff833f46) has joined #tryton
2008-12-21 12:09 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-12-21 12:15 <CIA-53> tryton: ced roundup * #658/Make translation of title of invoice report independent from invoice.type: [resolved] On 21/12/08 02:26 +0100, Mathias wrote: > > Mathias <mathias.behrle@gmx.de> added the comment: > > AFAIS I provided the patch exactly ...
2008-12-21 12:16 -!- cedric_b(n=cedric@cam44-3-82-235-75-221.fbx.proxad.net) has joined #tryton
2008-12-21 12:30 -!- snowch(n=snowch@82.152.13.57) has joined #tryton
2008-12-21 12:31 <snowch> hi irc!
2008-12-21 12:39 <Timitos> snowch: hi
2008-12-21 13:25 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-12-21 13:25 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-12-21 13:27 -!- udono(n=udono@dynamic-unidsl-85-197-24-142.westend.de) has joined #tryton
2008-12-21 14:19 -!- Cristi_an(n=Cristi@89.120.211.206) has joined #tryton
2008-12-21 14:19 <Cristi_an> hi
2008-12-21 14:20 <Cristi_an> uninstalling a module feature will be added ?
2008-12-21 14:23 <cedk> Cristi_an: it is not a priority
2008-12-21 14:23 <Cristi_an> oki...
2008-12-21 14:24 <Cristi_an> the fifo stuff ?
2008-12-21 14:24 <Cristi_an> and lifo and some average cost ?
2008-12-21 14:24 <Cristi_an> method
2008-12-21 14:25 <Cristi_an> when do you think that will be added
2008-12-21 14:25 <Cristi_an> apx
2008-12-21 14:25 <cedk> Cristi_an: average cost is already there
2008-12-21 14:25 <cedk> Cristi_an: FIFO will come in one or two months
2008-12-21 14:25 <Cristi_an> execellen news
2008-12-21 14:25 <Cristi_an> by then i wil be ready with my pyhotn
2008-12-21 14:25 <Cristi_an> thx for the python channel tip
2008-12-21 14:26 <Cristi_an> there they respond to any question...no matter how dif or easy is
2008-12-21 14:36 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2008-12-21 14:43 -!- igor(n=igor@190.12.153.202) has joined #tryton
2008-12-21 16:18 <snowch> looking through the code base, there seems to be two patterns "execute" and "execute_cr". why would you choose one over the other. Is it that "execute" runs within its own transaction (via cursor.commit/rollback) whereas "execute_cr" gives the caller control over what to include in the transaction?
2008-12-21 18:00 -!- snowch(n=snowch@82.152.13.57) has left #tryton
2008-12-21 19:39 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-12-21 19:45 -!- snowch(n=snowch@82.152.13.57) has joined #tryton
2008-12-21 20:29 <Cristi_an> just for couriosity: are lambda functions used in tryton ?
2008-12-21 20:35 <snowch> Cristi_an: a search for 'lambda' in the server code download returned 87 matches. Why do you ask?
2008-12-21 20:36 <Cristi_an> well i review now the pythotn tutorial( tryton code is not avalable since i am in windows) and as i said for couriosity (in java i did not saw such things)
2008-12-21 20:41 <snowch> cristi_an: I am also a java developer and getting into python for the purpose of tryton. By the way you should be able to get the source for Windows. However, I use eclipse on linux. I'm currently running the code through the debugger trying to build a mental picture of how things work. The main things i'm struggling with python is the lack of static typing. Sometimes, you can be reading code and have to do a lot of searching to understand what type an o
2008-12-21 20:43 <Cristi_an> thx..when i said i am in wind..( if orgot to mention that i have the ubuntu as weel installed ,where i have tryton)
2008-12-21 20:43 <Cristi_an> but...i am doing serveral things in windows now.
2008-12-21 20:43 <Cristi_an> Yes interesting for a java developer to start using python
2008-12-21 20:44 <Cristi_an> the layers are also in my opinion not separtated.
2008-12-21 20:45 <Cristi_an> java apps is how do i say..build upon the design patterns (GOF)
2008-12-21 20:45 <snowch> cristi_an: i find the layers to be very coupled and difficult to understand - lots of jumping around.
2008-12-21 20:45 <Cristi_an> easier to understand harder to develop :)
2008-12-21 20:45 <Cristi_an> in tryton ?
2008-12-21 20:46 <Cristi_an> yes layers are coupled...from what i asked and understood
2008-12-21 20:46 <Cristi_an> did not had time to actually analize the code since i am newbie in ptyho (statted to learn)
2008-12-21 20:46 <snowch> cristi_an: have you taken a look at groovy - all the benefits of java structure, ide support, yet very clean dynamic language
2008-12-21 20:47 <Cristi_an> you are tired of java too ?
2008-12-21 20:47 <Cristi_an> groovy ,ruby on rails,jruby on rails ...all these are nice...
2008-12-21 20:47 <snowch> cristi_an: no, I would love to see something like tryton ported to grails
2008-12-21 20:48 <Cristi_an> well that would be nice...
2008-12-21 20:48 <Cristi_an> they are wuite ahead...but with a strong comunity effort is possible...
2008-12-21 20:48 <Cristi_an> i asked cedk the same thing...
2008-12-21 20:48 <Cristi_an> and he answered logically.....
2008-12-21 20:49 <snowch> out of interest, why did you choose tryton over openerp?
2008-12-21 20:49 <Cristi_an> what would be the added value to this ?
2008-12-21 20:49 <Cristi_an> i did not know to asnwer to him :) (just because i am java dev ?)
2008-12-21 20:49 <Cristi_an> to answer to you....
2008-12-21 20:50 <Cristi_an> i started with open erp ... did not know about tryton
2008-12-21 20:50 <Cristi_an> ask on forums..
2008-12-21 20:50 <snowch> no support from forums?
2008-12-21 20:50 <Cristi_an> NOT
2008-12-21 20:50 <Cristi_an> not on irc
2008-12-21 20:50 <Cristi_an> too many modules ...i say
2008-12-21 20:51 <Cristi_an> for s begginer is better to stick to something that just started....
2008-12-21 20:51 <snowch> same here. I think OE aren't interested in community, only selling SAAS offering.
2008-12-21 20:51 <Cristi_an> YEP
2008-12-21 20:51 <Cristi_an> i hope the guys will be as responsive as they were...:)
2008-12-21 20:51 <Cristi_an> i told them that the comunity wiull grow...
2008-12-21 20:51 <Cristi_an> woner how they will behave then :)
2008-12-21 20:51 <Cristi_an> in terms of suport ...
2008-12-21 20:52 <snowch> It was a pleasant surprise to come to this forum and get excellent support
2008-12-21 20:52 <Cristi_an> i hope the same
2008-12-21 20:52 <Cristi_an> YEP....but now there are not many people who ask
2008-12-21 20:52 <Cristi_an> they may still have time to answer
2008-12-21 20:52 <Cristi_an> what about aver a year from now....i hope other that will elarn still give suppor t:)
2008-12-21 20:53 <Cristi_an> where are you from ?
2008-12-21 20:56 <snowch> I'm looking for a framework to offer my customers. I found OE to be to proprietary and lacking in support, so the only way forward was to learn the code and support it myself. I think that it may be easier to understand the architecture of OE and then implement similar in java. Location wise i'm from the uk.
2008-12-21 20:57 <Cristi_an> i just figured that,after ip
2008-12-21 20:58 <Cristi_an> sorry for my non-native english :)
2008-12-21 20:58 <snowch> np: where are you from?
2008-12-21 20:58 <Cristi_an> Romanua
2008-12-21 20:58 <Cristi_an> Romania
2008-12-21 20:58 <Cristi_an> btw: this is one of the things that i searched for as well
2008-12-21 20:59 <snowch> are you learning tryton for yourself or on behalf of an organisation
2008-12-21 20:59 <snowch> ?
2008-12-21 21:00 <snowch> I did think about using adempiere, but felt that creating addons would not be as easy and quick as tryton.
2008-12-21 21:00 <Cristi_an> well i work as a contractor,but , since my hobyy are erp appilcations
2008-12-21 21:00 <Cristi_an> in adempiere i spent like 2 weeks
2008-12-21 21:00 <Cristi_an> browsing the code
2008-12-21 21:00 <Cristi_an> understading architecture
2008-12-21 21:01 <Cristi_an> they have like a very nice App Dictionary stuff built by Jorg Janke or so ....
2008-12-21 21:01 <snowch> but?
2008-12-21 21:01 <Cristi_an> but it is an OLD plain jdbc stuff
2008-12-21 21:01 <Cristi_an> code generation based.
2008-12-21 21:02 <snowch> yep - very clunky! in much need of modernising.
2008-12-21 21:02 <Cristi_an> and it is too complicated for my potential customers
2008-12-21 21:02 <Cristi_an> i searched for a framework...that looked like that and i found open erp
2008-12-21 21:02 <snowch> what are your timescales for learning?
2008-12-21 21:02 <Cristi_an> and tryton
2008-12-21 21:03 <Cristi_an> pfff, since day by day i work as a contractor i have my free time for this...(+ a 2 year kid)
2008-12-21 21:03 <Cristi_an> so i ahev no clue :)
2008-12-21 21:03 <Cristi_an> but i struggle to do this as fast as i can
2008-12-21 21:03 <Cristi_an> since i want to adapt this for romania
2008-12-21 21:04 <Cristi_an> i plan to have this in MAY
2008-12-21 21:04 <snowch> I have nearly 3 year old + another due in Feb. I'm not looking to rush maybe over the next year.
2008-12-21 21:04 <Cristi_an> :)
2008-12-21 21:04 <snowch> I quick like the idea of implementing this in grails though!
2008-12-21 21:04 <Cristi_an> do you have your won bussines ?
2008-12-21 21:04 <Cristi_an> won = own
2008-12-21 21:05 <snowch> I'm a contractor too. So work on tryton in my free time.
2008-12-21 21:06 <Cristi_an> i have an old erp custom made...that i have spreade in ro 4 years ago...
2008-12-21 21:06 <Cristi_an> that is why i want to come with somethiong new
2008-12-21 21:06 <Cristi_an> never know how this contracting stuff will last
2008-12-21 21:06 <snowch> have you seen plazma - spring based, not as complex as adempiere?
2008-12-21 21:07 <Cristi_an> sure...
2008-12-21 21:07 <Cristi_an> i talked to Oleh
2008-12-21 21:07 <snowch> what did you make of it?
2008-12-21 21:07 <Cristi_an> he's from Ukraine
2008-12-21 21:07 <Cristi_an> sorry ?
2008-12-21 21:07 <snowch> plazma - what were your findings?
2008-12-21 21:08 <Cristi_an> well....it is RCP ,Spring based...as you said...it has a feature that i wante d to tryton to have as well
2008-12-21 21:08 <Cristi_an> it works with an embedded database.
2008-12-21 21:08 <Cristi_an> as well as with a server
2008-12-21 21:08 <Cristi_an> drawbacks:
2008-12-21 21:09 <Cristi_an> the ui is fsat but not adapted to ease of use...
2008-12-21 21:09 <Cristi_an> jus trun it and you'll figured that out
2008-12-21 21:09 <snowch> I tried it a year or two back and found it to be a bit clunky!
2008-12-21 21:11 <Cristi_an> something like that
2008-12-21 21:12 <snowch> I have thought about a piecemeal approach to porting tryton to grails. Keep the same XML-RPC api, keep the datamodel, keep the clients, but rewrite the server in grails.
2008-12-21 21:12 <Cristi_an> nice ideea
2008-12-21 21:13 <Cristi_an> i told you already
2008-12-21 21:13 <Cristi_an> but you want only web interface ?
2008-12-21 21:13 <Cristi_an> BUt if i ask you the what beck asked me
2008-12-21 21:13 <Cristi_an> what would be the value added to this ?
2008-12-21 21:14 <snowch> If you keep the XML-RPC api the same, both GTK and WEB interface will work unchanged.
2008-12-21 21:14 <Cristi_an> mayeb the a RCP interface may be built :) or swing :)
2008-12-21 21:15 <Cristi_an> tryton do not have right now web interface
2008-12-21 21:15 <Cristi_an> open erp has (some indian company built that)
2008-12-21 21:16 <snowch> SWT/JFACE is nice. OE web clients talks to server using same XML-RPC api. Hopefully, tryton haven't changed the API. In which case, OE web interface will work ok.
2008-12-21 21:19 <Cristi_an> i do not hting that these are compatible
2008-12-21 21:21 <Cristi_an> but why grails
2008-12-21 21:22 <Cristi_an> and not app server from java
2008-12-21 21:22 <Cristi_an> like jboss
2008-12-21 21:22 <Cristi_an> EJB 3.0
2008-12-21 21:23 <snowch> grails has a nice ORM layer based on hibernate, very similar to tryton ORM, + the use of groovy would make addons very similar to code to the python equivalents.
2008-12-21 21:24 <Cristi_an> grailsssss
2008-12-21 21:24 <Cristi_an> soryyyyy
2008-12-21 21:24 <Cristi_an> i thought groovy....
2008-12-21 21:24 <snowch> It may be more appropriate to build the core framework in spring, yet allow plugins in groovy/grails/gorm, etc
2008-12-21 21:26 <snowch> can we paste code to this IRC do you know?
2008-12-21 21:26 <Cristi_an> no
2008-12-21 21:26 <Cristi_an> but ehre is some www.
2008-12-21 21:27 <Cristi_an> http://paste.pocoo.org/
2008-12-21 21:28 <snowch> example data PartnerAddress data mode: http://pastebin.com/m3a45ff6a
2008-12-21 21:28 <Cristi_an> nice
2008-12-21 21:29 <snowch> And corresponding service like code: http://pastebin.com/m5256c849
2008-12-21 21:29 <snowch> Why use python when groovy probably does the same, is cleaner and has full java support?
2008-12-21 21:30 <Cristi_an> did you build something in grails until now ?
2008-12-21 21:31 <snowch> no, I was just playing around with it while learning tryton. I started getting more interested when spring bought grails a few weeks back.
2008-12-21 21:31 -!- yangoon1(n=mathiasb@p549F5237.dip.t-dialin.net) has joined #tryton
2008-12-21 21:32 <snowch> also grails already has a data driven view layer (called scaffold) that may be possible to adapt to create data dictionary driven forms.
2008-12-21 21:32 <Cristi_an> but what web server is behind grails ?
2008-12-21 21:33 <Cristi_an> or how it works (with an app server) ?
2008-12-21 21:33 <snowch> any j2ee web container i think. within netbeans there is a "create war" target.
2008-12-21 21:34 <Cristi_an> cool.
2008-12-21 21:34 <Cristi_an> tomcat ,grizlly...etc
2008-12-21 21:34 <Cristi_an> no need for a app server
2008-12-21 21:35 <snowch> so grails has all the framework in place for building tryton without having to write code for doing orm etc!
2008-12-21 21:35 <Cristi_an> yes but tryton framework code has like 8000 lines od code
2008-12-21 21:35 <Cristi_an> that was the thing that scared me
2008-12-21 21:36 <Cristi_an> and cut my wings when i though what you have in mind now
2008-12-21 21:37 <snowch> orm.py is approx 3200 lines of code!
2008-12-21 21:38 <Cristi_an> BTW
2008-12-21 21:39 <Cristi_an> using a XML RPC protocol...
2008-12-21 21:39 <snowch> it would be wise to replace the orm layer with something like sql alchemy (similar to hibernate), but it is so embedded.
2008-12-21 21:39 <Cristi_an> is not slower then ...
2008-12-21 21:39 <Cristi_an> using an app server for eaxample
2008-12-21 21:39 <Cristi_an> ?
2008-12-21 21:40 <Cristi_an> this is like using xml
2008-12-21 21:40 <Cristi_an> but standard...formats
2008-12-21 21:41 <Cristi_an> compared even to RMI (not mentionig ) an APP server....
2008-12-21 21:41 <Cristi_an> how do you see that is behaving......
2008-12-21 21:43 <snowch> xml-rpc is just a layer on top of a service. when you have the service working for xml-rpc, it should be possible to swap out the xml-rpc layer with something else. especially if using spring, the service could be exported into may different formats.
2008-12-21 21:43 <snowch> ... if the design is clean that is.
2008-12-21 21:43 <Cristi_an> that is a better architecture
2008-12-21 21:44 <Cristi_an> but i still do not understand why you want to change only the server code ?
2008-12-21 21:45 <Cristi_an> if you do that...why not make a complete solution
2008-12-21 21:45 <snowch> the server change is the first step. for me the server code is the biggest risk as it stands. ideally replace the whole lot, but one step at a time.
2008-12-21 21:46 <Cristi_an> and youare ready for this by yourself ?
2008-12-21 21:46 <Cristi_an> a gut named ralvi or so sugested that is better to go with jrubuy on rails...he has pretty much the same arguments you have...
2008-12-21 21:47 <snowch> I have time (unless my contract gets terminated) and nothing to lose.
2008-12-21 21:47 <Cristi_an> but you do this ...for you contract ?
2008-12-21 21:47 <snowch> groovy feels much better aligned with java than jruby (after all it did follow a JSR)...
2008-12-21 21:48 <Cristi_an> or in free time ?
2008-12-21 21:48 <snowch> my contract is something completely different. this is just an interest for my free time.
2008-12-21 21:48 <Cristi_an> i got iy
2008-12-21 21:48 <Cristi_an> it
2008-12-21 21:49 <snowch> that's why I'm not looking for big wins in the short term. In the short term, if I have mastered the tryton code base, I've won also because I can offer tryton/OE based frameworks to other clients with the peace of mind knowing that I can support it.
2008-12-21 21:50 <Cristi_an> that is my main fear !!!!
2008-12-21 21:50 <Cristi_an> i asked cedk how many people know the core
2008-12-21 21:50 <Cristi_an> wel on tryton there are 2 persons
2008-12-21 21:50 <Cristi_an> him and bechamell
2008-12-21 21:50 <Cristi_an> at least now...
2008-12-21 21:51 <Cristi_an> that is why i had the same thought as you have
2008-12-21 21:51 <Cristi_an> to rewrite something in my language (java)
2008-12-21 21:51 <Cristi_an> or related at least
2008-12-21 21:51 <Cristi_an> having a core you master is easier to maintain...etc.etc
2008-12-21 21:51 <snowch> that's too much of a risk for me.
2008-12-21 21:52 <snowch> imagine though if tryton manage to swap out orm for something like sql alchemy, suddenly the core becomes much smaller.
2008-12-21 21:53 <Cristi_an> i do not knw details from pyton world but from what i understood that is something like hibernate or jpa
2008-12-21 21:53 <Cristi_an> so ...indeed the core will become smaller
2008-12-21 21:53 <Cristi_an> can we continue on private ?
2008-12-21 21:54 <Cristi_an> guys maybe are not interested...
2008-12-21 21:54 <snowch> yes, that would be good
2008-12-21 21:56 <snowch> what are your contact details?
2008-12-21 21:57 <Cristi_an> i wrote to you on private ?
2008-12-21 21:57 <Cristi_an> you did not get my questions...?
2008-12-21 22:31 -!- Cristi_an(n=Cristi@89.120.211.206) has joined #tryton

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