IRC logs of #tryton for Thursday, 2010-08-05

chat.freenode.net #tryton log beginning Thu Aug 5 00:00:01 CEST 2010
2010-08-05 01:11 -!- sharoon(~sharoon@opg066b.halls.manchester.ac.uk) has joined #tryton
2010-08-05 02:03 -!- digitalsatori(~tony@116.233.249.147) has joined #tryton
2010-08-05 03:55 -!- ikks(~ikks@190.158.116.213) has joined #tryton
2010-08-05 04:32 -!- juanfer(~juanfer@190.27.84.91) has joined #tryton
2010-08-05 04:54 -!- gremly(~gremly@201.244.193.238) has joined #tryton
2010-08-05 06:40 -!- mr_amit(~amit@117.254.177.188) has joined #tryton
2010-08-05 06:46 -!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton
2010-08-05 06:47 -!- digitalsatori(~tony@116.233.249.147) has joined #tryton
2010-08-05 07:09 -!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton
2010-08-05 07:38 -!- tekknokrat(~lila@dslb-188-102-055-145.pools.arcor-ip.net) has joined #tryton
2010-08-05 07:45 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-08-05 07:46 -!- pheller(~pheller@pool-173-48-216-195.bstnma.fios.verizon.net) has joined #tryton
2010-08-05 07:47 -!- Timitos(~timitos@88.217.184.172) has joined #tryton
2010-08-05 08:16 <pheller> cedk: you there?
2010-08-05 08:16 <pheller> I'd like to fix this last thing in sale before I go to sleep.
2010-08-05 08:17 <pheller> but I'm not quite sure what is wrong here: http://codereview.appspot.com/1892048/diff/9001/10002#newcode334
2010-08-05 08:42 <cedk> pheller: there was a context created with get_tax_context
2010-08-05 08:42 <cedk> pheller: but it was not used
2010-08-05 08:43 <cedk> pheller: in fact it must be used for the call tax_obj.compute
2010-08-05 08:43 <cedk> ACTION bbl
2010-08-05 08:43 -!- digitalsatori(~tony@116.233.249.147) has joined #tryton
2010-08-05 08:50 -!- eLBati(~elbati@94.163.67.33) has joined #tryton
2010-08-05 09:08 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-08-05 09:14 -!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton
2010-08-05 09:58 -!- johbo(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2010-08-05 10:15 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton
2010-08-05 10:56 <cedk> ecarreras: hi
2010-08-05 10:56 <ecarreras> hi cedk :)
2010-08-05 10:58 <ecarreras> I'm definitely moving to tryton :)
2010-08-05 10:59 <ecarreras> next week I've holidays, I'll spent some time to study migration process
2010-08-05 11:05 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2010-08-05 11:09 <cedk> ecarreras: do you know your requirements?
2010-08-05 11:11 <ecarreras> well I've to move openerp modules code to tryton code
2010-08-05 11:12 <cedk> ecarreras: which ones?
2010-08-05 11:12 <ecarreras> are client specific
2010-08-05 11:13 <cedk> ecarreras: but which fonctionnality do you use from OE? To see if you will have all of them in Tryton
2010-08-05 11:13 <ecarreras> the backend of database, and easy development
2010-08-05 11:14 <ecarreras> I've been using OpenERP as a framework
2010-08-05 11:14 <ecarreras> to develop a platform on top
2010-08-05 11:15 <ecarreras> I think all functionalities that I use in OE are in Tryton too :)
2010-08-05 11:16 <cedk> ecarreras: yes if you don't use any module
2010-08-05 11:16 -!- blast_hardcheese(~blast_har@dsl092-043-124.lax1.dsl.speakeasy.net) has joined #tryton
2010-08-05 11:17 -!- bechamel(~user@host-85-201-159-186.brutele.be) has joined #tryton
2010-08-05 11:17 <ecarreras> I'm using base for partners that's all
2010-08-05 11:17 <cedk> ecarreras: you will even have more functionalities like historization, WebDAV, PYSON etc.
2010-08-05 11:17 <ecarreras> yeah and a lot of bugfixes done :)
2010-08-05 11:18 <ecarreras> first day in the fork in tryton, the remote code execution in pickle were solved
2010-08-05 11:18 <ecarreras> (via NET-RPC)
2010-08-05 11:19 <ecarreras> (now) OpenERP gtkclient have remote code execution when connecting to a malicious ERP server with net-rpc protocol
2010-08-05 11:20 <ecarreras> and decimal problem...
2010-08-05 11:21 -!- paepke(~paepke@p4FEB006C.dip0.t-ipconnect.de) has joined #tryton
2010-08-05 11:21 <ecarreras> and the last... the date widget... How can they say that the date is invalid?? lol 1850-12-23 seems valid for me...
2010-08-05 11:22 <ecarreras> anyway, I'll make the change :D
2010-08-05 11:23 <cedk> ecarreras: it comes from Python datetime strptime method
2010-08-05 11:23 <cedk> ecarreras: they have limitation on some OS (like Window$)
2010-08-05 11:25 <cedk> ecarreras: in fact, you will see that when OE addes new features they do it fast but don't go in deep
2010-08-05 11:26 <ecarreras> cedk, totally agree
2010-08-05 11:26 <ecarreras> security in openerp doesn't seems important
2010-08-05 11:27 <cedk> ecarreras: not only security but the all software
2010-08-05 11:27 <ecarreras> they don't have codereview
2010-08-05 11:28 <ecarreras> and they aren't proactives to accept patches, they only want that OPENERP S.A. have the all copyrighted code
2010-08-05 11:29 <ecarreras> like changing the license to Affero without asking
2010-08-05 11:31 <ecarreras> I'm tired to fight in launchpad with some workers of OpenERP S.A. which don't know the code of OpenERP in deep
2010-08-05 11:32 <ecarreras> anyway, I'm totally convided to migrate to tryton :)
2010-08-05 11:32 <ecarreras> s/convided/convinced/g
2010-08-05 12:05 -!- eLBati(~elbati@94.162.29.80) has joined #tryton
2010-08-05 13:27 -!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton
2010-08-05 13:39 <cedk> ecarreras: I guess no need to tell you that if you have issues to migrate on Tryton, you can ask on irc or tryton-dev mailing list
2010-08-05 13:39 <ecarreras> thanks cedk :)
2010-08-05 14:06 -!- woakas(~woakas@pcsp163-59.supercabletv.net.co) has joined #tryton
2010-08-05 14:08 -!- mr_amit(~amit@117.254.177.188) has joined #tryton
2010-08-05 14:24 -!- digitalsatori(~tony@116.233.249.147) has joined #tryton
2010-08-05 15:51 -!- eLBati(~elbati@93.37.82.47) has joined #tryton
2010-08-05 16:08 -!- mr_amit(~amit@117.254.17.126) has joined #tryton
2010-08-05 16:09 -!- zodman(~Miranda@67.223.236.231) has joined #tryton
2010-08-05 16:24 -!- Red15(~red15@unaffiliated/red15) has joined #tryton
2010-08-05 16:39 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-08-05 16:47 -!- gremly(~gremly@201.244.193.238) has joined #tryton
2010-08-05 16:49 -!- gremly(~gremly@201.244.193.238) has joined #tryton
2010-08-05 16:52 -!- pheller(~pheller@pool-173-48-216-195.bstnma.fios.verizon.net) has joined #tryton
2010-08-05 17:01 <pheller> cedk: you there?
2010-08-05 17:06 <cedk> pheller: yes
2010-08-05 17:06 <pheller> cedk: just emailed you a comment on that last issue in Sale
2010-08-05 17:11 <cedk> pheller: the context should be used for tax compute
2010-08-05 17:14 <pheller> so something like "with Transaction().set_context(self.get_tax_context(vals)):" just before "for tax in tax_obj.compute(...." ?
2010-08-05 17:15 <pheller> I'm sorry, I'm a little confused because "ctx", which was the new context, was not passed as an argument in the original version....
2010-08-05 17:17 <cedk> pheller: yes it was an error
2010-08-05 17:18 <pheller> ah ha, so the context argument to tax_obj.compute should have been context=ctx ?
2010-08-05 17:19 <pheller> .... but the other functions in that for loop (invoice_obj._compute_tax) -- this should still use the standard context?
2010-08-05 17:36 <cedk> pheller: yes
2010-08-05 17:47 <pheller> ok, changes uploaded to codereview
2010-08-05 17:48 <pheller> ok, lunch time. back in an hour
2010-08-05 17:53 -!- paepke_(~paepke@p4FEB006C.dip0.t-ipconnect.de) has joined #tryton
2010-08-05 18:05 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has left #tryton
2010-08-05 18:27 -!- pheller(~pheller@c1fw226.constantcontact.com) has joined #tryton
2010-08-05 18:33 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-08-05 18:52 <pheller> cedk: oops! I thought the multiplication occurred inside parentheses, hence why I removed the line continuation. I've put it back.
2010-08-05 19:16 -!- tekknokrat(~lila@dslb-188-102-055-145.pools.arcor-ip.net) has joined #tryton
2010-08-05 19:52 -!- paepke(~paepke@p4FEB006C.dip0.t-ipconnect.de) has left #tryton
2010-08-05 20:24 -!- magt1(~Tushar@27.107.111.79) has joined #tryton
2010-08-05 20:30 -!- magt(~Tushar@27.107.80.94) has joined #tryton
2010-08-05 20:50 -!- eLBati(~elbati@94.162.55.169) has joined #tryton
2010-08-05 22:00 -!- paepke(~paepke@p5B32C2CA.dip.t-dialin.net) has joined #tryton
2010-08-05 23:06 -!- juanfer(~juanfer@190.27.84.91) has joined #tryton
2010-08-05 23:06 <cedk> pheller: I don't change code that is not modified by the Transaction switch
2010-08-05 23:07 <pheller> ah, ok
2010-08-05 23:07 <pheller> I won't make those comments on your code then
2010-08-05 23:08 <pheller> I have changed a few of the line continuation bits, but that is all....
2010-08-05 23:08 <pheller> I'll just stick to fixes of the Transaction() thing now
2010-08-05 23:09 <cedk> pheller: it is a matter of quality, changeset must be focus on one thing
2010-08-05 23:09 <pheller> yes, I understand.
2010-08-05 23:10 <cedk> pheller: those change could be not in an other changeset
2010-08-05 23:11 <pheller> ok
2010-08-05 23:12 <cedk> pheller: but keep the testing :-)
2010-08-05 23:13 <pheller> I will. this is good practice for me. I've never done much team oriented development.
2010-08-05 23:13 <pheller> I wish rietveld integrated with eclipse ;-)
2010-08-05 23:14 <cedk> pheller: you can ask guido :-)
2010-08-05 23:14 <pheller> My guess is that guido's development environment is emacs or vim, and nothing else.
2010-08-05 23:15 <cedk> pheller: I don't know but I know that he debugs with print statement
2010-08-05 23:16 <pheller> ouch
2010-08-05 23:16 <cedk> pheller: I do the same ;-)
2010-08-05 23:16 <cedk> pheller: never used pdb
2010-08-05 23:17 <pheller> are you using emacs or vi?
2010-08-05 23:17 <cedk> pheller: vim
2010-08-05 23:18 <pheller> cedk: you should try eclipse+pydev+vwrapper
2010-08-05 23:18 <pheller> cedk: vwrapper gives you vim style editing in the editor windows, but you can still use the mouse, and commands like copy/cut/paste if you want
2010-08-05 23:18 <cedk> pheller: I hate mouse
2010-08-05 23:19 <cedk> pheller: I almost never use it
2010-08-05 23:19 <pheller> cedk: well, it's no problem to make keyboard shortcuts for everything in eclipse too
2010-08-05 23:19 <pheller> cedk: it's most useful for debugging, though.
2010-08-05 23:20 <cedk> pheller: I'm well with print statement
2010-08-05 23:20 <pheller> cedk: breakpoints, variable watches, stepping through the code visually
2010-08-05 23:20 <pheller> cedk: no worries, just sharing my experience
2010-08-05 23:20 <cedk> pheller: I know debuggers, I used gdb a lot when developping in C
2010-08-05 23:21 <pheller> ah, ok
2010-08-05 23:21 <cedk> pheller: but I find Python doesn't require one because you don't have the same error then in C
2010-08-05 23:21 <pheller> this is true, normally the stack trace is quite informative
2010-08-05 23:22 <cedk> pheller: yes, most of the time I fix bug with only traceback
2010-08-05 23:22 <cedk> pheller: and I just check if it is well fixed by testing
2010-08-05 23:22 <cedk> pheller: if not, then a few print statement and I understand what is happening
2010-08-05 23:22 <pheller> cedk: an example of when I find it most useful -- finding places where code blocks; like synchronous sockets, etc
2010-08-05 23:23 <cedk> pheller: but of course this is because I know well the code
2010-08-05 23:24 <pheller> cedk: yep. so you worked at tiny before?
2010-08-05 23:25 <cedk> pheller: yes
2010-08-05 23:25 <pheller> cedk: this explains why you know the code well!
2010-08-05 23:26 <pheller> cedk: I've noticed in doing some of these conversions that the unittests do not yet have really wide coverage -- is this in the roadmap?
2010-08-05 23:27 <cedk> pheller: we have focus effort of unittest on the core first
2010-08-05 23:27 <cedk> pheller: the coverage of the core is quiet good
2010-08-05 23:27 <cedk> pheller: but still misses some part
2010-08-05 23:28 <pheller> cedk: makes sense. I think this is they way to avoid the problems openerp has with calculating things incorrectly....
2010-08-05 23:28 <cedk> pheller: but new code now is always tested
2010-08-05 23:28 <pheller> cedk: and to prevent regressions, naturally
2010-08-05 23:29 <cedk> pheller: but we lake of devs
2010-08-05 23:30 <cedk> pheller: that is why I tried to start the bugs of the month
2010-08-05 23:30 <cedk> I don't know if it will work as I had any feedback until now
2010-08-05 23:30 <pheller> cedk: yep. I will try to help with this, after the Transaction() work is finished.
2010-08-05 23:31 <cedk> pheller: yes of course
2010-08-05 23:32 <pheller> cedk: and I hope that the one2one can be in the near future too....
2010-08-05 23:32 -!- paepke_(~paepke@p5B32DA75.dip.t-dialin.net) has joined #tryton
2010-08-05 23:32 <pheller> cedk: it occurs to me that the other thing I mentioned (product attributes, then product instances with values for the attributes) -- is the "entity attribute value" model which was discussed on the openerp-experts-framework list recently
2010-08-05 23:33 <cedk> pheller: I don't think
2010-08-05 23:34 <cedk> pheller: they talked about added attributes on the product model instead of extending it by adding new columns in the table
2010-08-05 23:34 <pheller> cedk: I think the concept I am looking for is similar, but maybe not exactly the same
2010-08-05 23:36 <cedk> pheller: I think you need some kind of serial number with lists of attributes
2010-08-05 23:37 <pheller> cedk: yes, but I want to define that list of attributes on the product, and then define the values for these attributes with the serial number
2010-08-05 23:37 <cedk> pheller: yes
2010-08-05 23:37 <pheller> cedk: for instance, one of these attributes would actually be "serial number"
2010-08-05 23:37 <pheller> I started working on a module to add all of this, but I decided to wait until the transaction work is done
2010-08-05 23:38 <cedk> pheller: yes I talked about serial number because I don't have yet better name for this
2010-08-05 23:39 <pheller> cedk: "instance" ?
2010-08-05 23:39 <cedk> pheller: don't know yet
2010-08-05 23:56 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton

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