IRC logs of #tryton for Tuesday, 2010-07-27

chat.freenode.net #tryton log beginning Tue Jul 27 00:00:01 CEST 2010
2010-07-27 00:17 -!- pheller(~pheller@140.247.146.95) has joined #tryton
2010-07-27 00:39 -!- digitalsatori(~tony@116.233.244.8) has joined #tryton
2010-07-27 00:53 -!- zodman(~Miranda@67.223.236.231) has joined #tryton
2010-07-27 00:57 -!- pheller(~pheller@140.247.146.95) has joined #tryton
2010-07-27 00:59 -!- pheller(~pheller@140.247.146.95) has left #tryton
2010-07-27 02:08 -!- zodman_(~Miranda@67.223.236.231) has joined #tryton
2010-07-27 06:05 -!- dba(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton
2010-07-27 06:05 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2010-07-27 06:05 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-07-27 06:05 -!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton
2010-07-27 06:05 -!- cheche(cheche@188.85.213.151) has joined #tryton
2010-07-27 06:05 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2010-07-27 06:05 -!- ChanServ(ChanServ@services.) has joined #tryton
2010-07-27 06:08 -!- dba(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton
2010-07-27 06:08 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2010-07-27 06:08 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-07-27 06:08 -!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton
2010-07-27 06:08 -!- cheche(cheche@188.85.213.151) has joined #tryton
2010-07-27 06:08 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2010-07-27 06:08 -!- ChanServ(ChanServ@services.) has joined #tryton
2010-07-27 06:14 -!- dba(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton
2010-07-27 06:14 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2010-07-27 06:14 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-07-27 06:14 -!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton
2010-07-27 06:14 -!- cheche(cheche@188.85.213.151) has joined #tryton
2010-07-27 06:14 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2010-07-27 06:14 -!- ChanServ(ChanServ@services.) has joined #tryton
2010-07-27 06:18 -!- dba_(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton
2010-07-27 06:18 -!- ChanServ(ChanServ@services.) has joined #tryton
2010-07-27 06:18 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2010-07-27 06:18 -!- cheche(cheche@188.85.213.151) has joined #tryton
2010-07-27 06:18 -!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton
2010-07-27 06:18 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-07-27 06:18 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2010-07-27 06:18 -!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton
2010-07-27 06:18 -!- preC(~preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton
2010-07-27 06:54 -!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2010-07-27 07:12 -!- mr_amit(~amit@117.254.182.151) has joined #tryton
2010-07-27 07:17 -!- Timitos(~timitos@88.217.184.172) has joined #tryton
2010-07-27 07:41 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-07-27 08:37 -!- enlightx_(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-07-27 08:44 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-07-27 08:56 -!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton
2010-07-27 08:57 -!- bechamel`(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton
2010-07-27 08:58 -!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton
2010-07-27 09:09 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-07-27 09:38 -!- eLBati(~elbati@94.163.60.223) has joined #tryton
2010-07-27 10:36 -!- paepke(~paepke@p4FEB2866.dip0.t-ipconnect.de) has joined #tryton
2010-07-27 11:12 -!- Red15(~red15@unaffiliated/red15) has joined #tryton
2010-07-27 11:15 -!- enlightx(~enlightx@dynamic-adsl-78-13-114-43.clienti.tiscali.it) has joined #tryton
2010-07-27 12:19 -!- udono(~udono@dynamic-unidsl-85-197-16-244.westend.de) has joined #tryton
2010-07-27 12:39 -!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton
2010-07-27 13:00 -!- essich(~essich@p4FCF8FFD.dip0.t-ipconnect.de) has joined #tryton
2010-07-27 13:01 -!- Red15(~red15@unaffiliated/red15) has joined #tryton
2010-07-27 13:08 <cedk> Timitos: I made the transaction migration in alphabetic order to be sure to not forget modules
2010-07-27 13:32 -!- tekknokrat(~lila@dslb-188-103-031-071.pools.arcor-ip.net) has joined #tryton
2010-07-27 13:38 -!- mr_amit(~amit@117.254.23.243) has joined #tryton
2010-07-27 14:45 -!- eLBati(~elbati@93.37.65.242) has joined #tryton
2010-07-27 15:20 <paepke> cedk, i finally got my barcode stuff working via the context of a report. is it ok to have a module with only my barcode lib, __init__.py and __tryton__.py in it? to access it like "tryton.modules.barcode". Wan't to pack it somewhere its useful
2010-07-27 15:22 <cedk> paepke: why do you want to put your lib in trytond.modules?
2010-07-27 15:22 <cedk> paepke: make a Python module
2010-07-27 15:23 <paepke> cedk, i mean only the tryton/relatorio specific wrapper for that barcode lib (was not my invention)
2010-07-27 15:24 <Timitos> cedk: ok
2010-07-27 15:26 <cedk> paepke: I don't see what is special
2010-07-27 15:30 <paepke> cedk, its special in the way relatorio wants a size and the image as StringIO for my generated barcode. To supply this the way relatorio wants it i have written a small wrapper.
2010-07-27 15:31 <paepke> cedk, no big deal, but it could be useful for others.
2010-07-27 15:31 <paepke> cedk, and i want to publish it somewhere.
2010-07-27 15:32 <cedk> paepke: it is more a tip then code
2010-07-27 15:33 <cedk> paepke: how do you want to pass image in other way then StringIO?
2010-07-27 15:35 <paepke> cedk, yes, more a tip. won't it be good to have such a functionality (barcode generation) included or as a module?
2010-07-27 15:36 <paepke> cedk, i don't want to pass it another way. don't think there isn't another way.
2010-07-27 15:39 <cedk> paepke: I don't see the useful as for me it is just one line
2010-07-27 15:54 -!- mr_amit(~amit@117.254.25.23) has joined #tryton
2010-07-27 15:59 <paepke> cedk, its the whole generation of the code. have to do some stuff but a working example: http://www.dpaste.org/QmtV/
2010-07-27 16:01 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-07-27 16:11 -!- tekknokrat(~lila@dslb-188-103-031-071.pools.arcor-ip.net) has joined #tryton
2010-07-27 16:12 -!- zodman(~Miranda@67.223.236.231) has joined #tryton
2010-07-27 16:31 -!- digitalsatori(~tony@116.233.244.8) has joined #tryton
2010-07-27 16:46 -!- pheller(~pheller@c1fw226.constantcontact.com) has joined #tryton
2010-07-27 17:27 <pheller> Greetings cedric. I saw the changes to wrap everything in a Transaction() to eliminate the need to pass user, cursor, and context to each object method. I think that will simplify things greatly. Is there a plan to eventually combine ModelSQL and ModelView inheritance so that Models need only inherit from a single object?
2010-07-27 17:36 <cedk> paepke: for me, it is not generic enough to be in a standard module
2010-07-27 17:36 <cedk> paepke: you can write it in the wiki if you want
2010-07-27 17:37 <cedk> paepke: or write a generic module that handle barcode on product
2010-07-27 17:37 <cedk> pheller: no we need to have both separated
2010-07-27 17:37 <pheller> ok, no big deal, was just curious.
2010-07-27 17:38 <cedk> pheller: it is required for wizard
2010-07-27 17:38 <pheller> ah, I see.
2010-07-27 17:38 <paepke> cedk, my generic approach was originally have a barcode() function in every report available. but you won't have a modified report.py
2010-07-27 17:39 <paepke> cedk, so i went to adding the function to the context
2010-07-27 17:40 <cedk> paepke: but with your code it is not the case
2010-07-27 17:42 <paepke> cedk, yes, i know. as i said its not final. currently i can add that barcode function in this example to the sale report.
2010-07-27 17:43 <paepke> cedk, give me a hint. what would be generic enough for you?
2010-07-27 17:43 -!- Hydrant_(~aj@unaffiliated/hydrant) has joined #tryton
2010-07-27 17:43 <cedk> paepke: for me, barcode must be generated at model level
2010-07-27 17:44 <cedk> paepke: like on product (with check about validity)
2010-07-27 17:47 <udono> cedk: paepke: hi, but barcode can be related to more models than product.
2010-07-27 17:47 <cedk> udono: so write a module for other models
2010-07-27 17:48 <cedk> udono, paepke: barcode has some constraints: check sum, lenght etc so they must be enforced at encoding
2010-07-27 17:49 <cedk> pheller: next steps will be to store class in pool instead of instance and after use instance instead of browserecord
2010-07-27 17:50 <paepke> at model level as function? hmm. so you have to change the model for having a barcode.
2010-07-27 17:52 <Hydrant_> I just installed the tryton client, and I seem to be missing all the images
2010-07-27 17:53 <paepke> cedk, yes, cause of that i use a library which makes it all for me. even 2d barcode is quite complex to generate. that validity is done there.
2010-07-27 17:54 <cedk> Hydrant_: on which OS?
2010-07-27 17:54 <paepke> cedk, is see a validity check at the content level. for example combining different fields into one barcode. but thats another topic.
2010-07-27 17:54 <Hydrant_> Ubuntu 10.04
2010-07-27 17:54 <Hydrant_> I downloaded the client code and built it to try the demo server
2010-07-27 17:55 <cedk> Hydrant_: I guess you are missing svg support in gtk
2010-07-27 17:55 <cedk> paepke: I don't say to write your own generator of barcode but use a binary function field that returns the image
2010-07-27 17:56 <cedk> ACTION bbl
2010-07-27 17:56 <Hydrant_> gtk.. hrrm, it looked a lot like a Qt interface
2010-07-27 17:56 <paepke> cedk, cu.
2010-07-27 17:59 <paepke> cedk, i think there are two different approaches to get to the same result. you led me first to that context level, now youre going to tell me use the function field. well most of my work was done in trying to find out how to get the right format for the report and modifying the lib. using it at the function field level wouldn't be that hard.
2010-07-27 18:04 <paepke> cedk, i'll take a look into adding a function field for a module like product_barcode.
2010-07-27 18:05 <paepke> cedk, a last question about function fields. will they be called on every load of one dataset?
2010-07-27 18:06 <udono> paepke: yes, they will. So pay attention to not put them into a list view, because all will be evaluated when open the list view.
2010-07-27 18:07 <paepke> udono, yes. that was my guess.
2010-07-27 18:07 <udono> Hydrant_: tryton needs pygtk. It does not have a relation to QT.
2010-07-27 18:08 <pheller> udono: You're in .de, yes?
2010-07-27 18:08 <udono> pheller: yes
2010-07-27 18:08 <udono> pheller: and you?
2010-07-27 18:08 <pheller> udono: what city? I make it over there a few times a year.
2010-07-27 18:08 <pheller> udono: I'm in Boston, USA
2010-07-27 18:10 <udono> pheller: Aachen, close to cologne and Dusseldorf. But in relation to US distances, everything is close here ;-)
2010-07-27 18:10 <pheller> Yes, that's true. I know Aachen. There is a company there that makes software I was looking at for a previous company (AixpertSoft)
2010-07-27 18:11 <pheller> normally, I am visiting Frankfurt, München or ..... Nürburg :-)
2010-07-27 18:14 <udono> pheller: Frankfurt and Munich are often on my ways, too.
2010-07-27 18:18 <Timitos> pheller: i am from munich. would be a pleasure to meet you when you there
2010-07-27 18:18 <pheller> Timitos: I'll certainly let you know when I'm in town
2010-07-27 18:21 <udono> ACTION afk bbl
2010-07-27 18:31 <cedk> ACTION back
2010-07-27 18:32 <cedk> paepke: I always tell you that I prefer the function field way but you said that you want it at report level
2010-07-27 18:32 <cedk> paepke: function field are loaded only on request
2010-07-27 18:33 <paepke> cedk, i wanted it kind of generic (like to define every field as a barcode) maybe i misunderstood. i'll take a look into the function field stuff.
2010-07-27 18:35 <cedk> paepke: maybe it could be good to be able to import a module inside a report
2010-07-27 18:36 <paepke> cedk, in my mind is that a guy which makes a report should not necessarily need to code anything in python.
2010-07-27 18:36 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-07-27 18:36 <paepke> cedk, in my mind is that a guy which makes a report should not necessarily need to code anything in python.
2010-07-27 18:37 <cedk> paepke: but I'm not sure about security
2010-07-27 18:37 <paepke> cedk, tell me about security.
2010-07-27 18:38 <cedk> paepke: being able to import any module is not secure
2010-07-27 18:39 <paepke> cedk, i cannot follow you. am I proposing this? don't want to.
2010-07-27 18:46 <cedk> paepke: in fact I think it should be added at relatorio level
2010-07-27 18:52 <paepke> cedk, i thought about this, too. but cause it has not a plugin architecture its will generate more dependancies to relatorio. at least my modified barcode lib
2010-07-27 18:53 <paepke> cedk, so there are three possible ways to do it: as function in context, as function field, in relatorio.
2010-07-27 18:54 <cedk> paepke: it could be a extra requirement in relatorio
2010-07-27 18:54 <paepke> cedk, in relatorio like the "image:" tag as a frame.
2010-07-27 18:55 <cedk> paepke: it is a functionnality that some others report engine has (like reportlab)
2010-07-27 18:57 <paepke> cedk, that lpod-project you mentioned in identi.ca will not supersede relatorio? you mentioned it as addition. i don't wanna make useless work.
2010-07-27 19:02 <paepke> cedk, for relatorio: i'm not aware about other formats in relatorio beyond openoffice. what about generating other output? i'm not sure about the tex handler in relatorio.
2010-07-27 19:39 -!- eLBati(~elbati@94.163.18.12) has joined #tryton
2010-07-27 19:44 <cedk> paepke: don't understand
2010-07-27 19:48 <cedk> paepke: relatorio way will be just add a relatorio method to generate barcode
2010-07-27 20:23 <pheller> cedk: when do you think Issue1320 (SocketServer for netrpc, etc) will be implemented?
2010-07-27 20:24 <pheller> cedk: will it make 1.8.0 ?
2010-07-27 20:24 <cedk> pheller: don't know. I have a lot of other stuff before
2010-07-27 20:24 <pheller> yep, I understand.
2010-07-27 21:00 -!- pheller(~pheller@c1fw226.constantcontact.com) has joined #tryton
2010-07-27 21:04 -!- paepke(~paepke@p4FEB2866.dip0.t-ipconnect.de) has left #tryton
2010-07-27 21:12 -!- bechamel(~user@host-85-201-159-186.brutele.be) has joined #tryton
2010-07-27 21:49 -!- mathesis(~mathesis@unaffiliated/mathesis) has joined #tryton
2010-07-27 21:51 -!- pheller(~pheller@c1fw226.constantcontact.com) has joined #tryton
2010-07-27 22:11 -!- zodman(~Miranda@67.223.236.231) has joined #tryton
2010-07-27 22:18 -!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton
2010-07-27 22:26 -!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton
2010-07-27 22:26 -!- zodman(~Miranda@67.223.236.231) has joined #tryton
2010-07-27 22:26 -!- mathesis(~mathesis@unaffiliated/mathesis) has joined #tryton
2010-07-27 22:26 -!- udono(~udono@dynamic-unidsl-85-197-16-244.westend.de) has joined #tryton
2010-07-27 22:26 -!- preC(~preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton
2010-07-27 22:26 -!- dba(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton
2010-07-27 22:26 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2010-07-27 22:26 -!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton
2010-07-27 22:26 -!- cheche(cheche@188.85.213.151) has joined #tryton
2010-07-27 22:26 -!- ChanServ(ChanServ@services.) has joined #tryton
2010-07-27 22:28 -!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton
2010-07-27 22:28 -!- zodman(~Miranda@67.223.236.231) has joined #tryton
2010-07-27 22:28 -!- mathesis(~mathesis@unaffiliated/mathesis) has joined #tryton
2010-07-27 22:28 -!- udono(~udono@dynamic-unidsl-85-197-16-244.westend.de) has joined #tryton
2010-07-27 22:28 -!- dba(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton
2010-07-27 22:28 -!- ChanServ(ChanServ@services.) has joined #tryton
2010-07-27 22:28 -!- cheche(cheche@188.85.213.151) has joined #tryton
2010-07-27 22:28 -!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton
2010-07-27 22:28 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2010-07-27 22:28 -!- preC(~preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton
2010-07-27 22:30 -!- ready(~ready@tiu.ligno.com) has joined #tryton
2010-07-27 22:30 -!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton
2010-07-27 22:30 -!- zodman(~Miranda@67.223.236.231) has joined #tryton
2010-07-27 22:30 -!- mathesis(~mathesis@unaffiliated/mathesis) has joined #tryton
2010-07-27 22:30 -!- udono(~udono@dynamic-unidsl-85-197-16-244.westend.de) has joined #tryton
2010-07-27 22:30 -!- preC(~preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton
2010-07-27 22:30 -!- dba(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton
2010-07-27 22:30 -!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton
2010-07-27 22:30 -!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton
2010-07-27 22:30 -!- cheche(cheche@188.85.213.151) has joined #tryton
2010-07-27 22:30 -!- ChanServ(ChanServ@services.) has joined #tryton
2010-07-27 22:31 -!- mathesis1(~mathesis@189.188.86.98) has joined #tryton
2010-07-27 22:32 -!- juanfer(~juanfer@201.244.237.64) has joined #tryton
2010-07-27 22:32 -!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton
2010-07-27 22:34 -!- cheche(cheche@188.85.213.151) has joined #tryton
2010-07-27 22:38 -!- tekknokrat(~lila@dslb-188-103-031-071.pools.arcor-ip.net) has joined #tryton
2010-07-27 23:29 -!- gremly(~gremly@201.244.193.238) has joined #tryton

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