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

chat.freenode.net #tryton log beginning Tue Jul 27 00:00:01 CEST 2010
-!- pheller(~pheller@140.247.146.95) has joined #tryton00:17
-!- digitalsatori(~tony@116.233.244.8) has joined #tryton00:39
-!- zodman(~Miranda@67.223.236.231) has joined #tryton00:53
-!- pheller(~pheller@140.247.146.95) has joined #tryton00:57
-!- pheller(~pheller@140.247.146.95) has left #tryton00:59
-!- zodman_(~Miranda@67.223.236.231) has joined #tryton02:08
-!- dba(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton06:05
-!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton06:05
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:05
-!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton06:05
-!- cheche(cheche@188.85.213.151) has joined #tryton06:05
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton06:05
-!- ChanServ(ChanServ@services.) has joined #tryton06:05
-!- dba(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton06:08
-!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton06:08
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:08
-!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton06:08
-!- cheche(cheche@188.85.213.151) has joined #tryton06:08
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton06:08
-!- ChanServ(ChanServ@services.) has joined #tryton06:08
-!- dba(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton06:14
-!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton06:14
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:14
-!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton06:14
-!- cheche(cheche@188.85.213.151) has joined #tryton06:14
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton06:14
-!- ChanServ(ChanServ@services.) has joined #tryton06:14
-!- dba_(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton06:18
-!- ChanServ(ChanServ@services.) has joined #tryton06:18
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton06:18
-!- cheche(cheche@188.85.213.151) has joined #tryton06:18
-!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton06:18
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton06:18
-!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton06:18
-!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton06:18
-!- preC(~preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton06:18
-!- plantian(~ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton06:54
-!- mr_amit(~amit@117.254.182.151) has joined #tryton07:12
-!- Timitos(~timitos@88.217.184.172) has joined #tryton07:17
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton07:41
-!- enlightx_(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton08:37
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton08:44
-!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton08:56
-!- bechamel`(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton08:57
-!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton08:58
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:09
-!- eLBati(~elbati@94.163.60.223) has joined #tryton09:38
-!- paepke(~paepke@p4FEB2866.dip0.t-ipconnect.de) has joined #tryton10:36
-!- Red15(~red15@unaffiliated/red15) has joined #tryton11:12
-!- enlightx(~enlightx@dynamic-adsl-78-13-114-43.clienti.tiscali.it) has joined #tryton11:15
-!- udono(~udono@dynamic-unidsl-85-197-16-244.westend.de) has joined #tryton12:19
-!- bechamel(~user@chimie-prtx11.scf.fundp.ac.be) has joined #tryton12:39
-!- essich(~essich@p4FCF8FFD.dip0.t-ipconnect.de) has joined #tryton13:00
-!- Red15(~red15@unaffiliated/red15) has joined #tryton13:01
cedkTimitos: I made the transaction migration in alphabetic order to be sure to not forget modules13:08
-!- tekknokrat(~lila@dslb-188-103-031-071.pools.arcor-ip.net) has joined #tryton13:32
-!- mr_amit(~amit@117.254.23.243) has joined #tryton13:38
-!- eLBati(~elbati@93.37.65.242) has joined #tryton14:45
paepkecedk, 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 useful15:20
cedkpaepke: why do you want to put your lib in trytond.modules?15:22
cedkpaepke: make a Python module15:22
paepkecedk, i mean only the tryton/relatorio specific wrapper for that barcode lib (was not my invention)15:23
Timitoscedk: ok15:24
cedkpaepke: I don't see what is special15:26
paepkecedk, 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.15:30
paepkecedk, no big deal, but it could be useful for others.15:31
paepkecedk, and i want to publish it somewhere.15:31
cedkpaepke: it is more a tip then code15:32
cedkpaepke: how do you want to pass image in other way then StringIO?15:33
paepkecedk, yes, more a tip. won't it be good to have such a functionality (barcode generation) included or as a module?15:35
paepkecedk, i don't want to pass it another way. don't think there isn't another way.15:36
cedkpaepke: I don't see the useful as for me it is just one line15:39
-!- mr_amit(~amit@117.254.25.23) has joined #tryton15:54
paepkecedk, its the whole generation of the code. have to do some stuff but a working example: http://www.dpaste.org/QmtV/15:59
-!- pepeu(~manuel@201.155.193.192) has joined #tryton16:01
-!- tekknokrat(~lila@dslb-188-103-031-071.pools.arcor-ip.net) has joined #tryton16:11
-!- zodman(~Miranda@67.223.236.231) has joined #tryton16:12
-!- digitalsatori(~tony@116.233.244.8) has joined #tryton16:31
-!- pheller(~pheller@c1fw226.constantcontact.com) has joined #tryton16:46
phellerGreetings 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?17:27
cedkpaepke: for me, it is not generic enough to be in a standard module17:36
cedkpaepke: you can write it in the wiki if you want17:36
cedkpaepke: or write a generic module that handle barcode on product17:37
cedkpheller: no we need to have both separated17:37
phellerok, no big deal, was just curious.17:37
cedkpheller: it is required for wizard17:38
phellerah, I see.17:38
paepkecedk, my generic approach was originally have a barcode() function in every report available. but you won't have a modified report.py17:38
paepkecedk, so i went to adding the function to the context17:39
cedkpaepke: but with your code it is not the case17:40
paepkecedk, yes, i know. as i said its not final. currently i can add that barcode function in this example to the sale report.17:42
paepkecedk, give me a hint. what would be generic enough for you?17:43
-!- Hydrant_(~aj@unaffiliated/hydrant) has joined #tryton17:43
cedkpaepke: for me, barcode must be generated at model level17:43
cedkpaepke: like on product (with check about validity)17:44
udonocedk: paepke: hi, but barcode can be related to more models than product.17:47
cedkudono: so write a module for other models17:47
cedkudono, paepke: barcode has some constraints: check sum, lenght etc so they must be enforced at encoding17:48
cedkpheller: next steps will be to store class in pool instead of instance and after use instance instead of browserecord17:49
paepkeat model level as function? hmm. so you have to change the model for having a barcode.17:50
Hydrant_I just installed the tryton client, and I seem to be missing all the images17:52
paepkecedk, 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.17:53
cedkHydrant_: on which OS?17:54
paepkecedk, is see a validity check at the content level. for example combining different fields into one barcode. but thats another topic.17:54
Hydrant_Ubuntu 10.0417:54
Hydrant_I downloaded the client code and built it to try the demo server17:54
cedkHydrant_: I guess you are missing svg support in gtk17:55
cedkpaepke: I don't say to write your own generator of barcode but use a binary function field that returns the image17:55
cedkACTION bbl17:56
Hydrant_gtk.. hrrm, it looked a lot like a Qt interface17:56
paepkecedk, cu.17:56
paepkecedk, 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.17:59
paepkecedk, i'll take a look into adding a function field for a module like product_barcode.18:04
paepkecedk, a last question about function fields. will they be called on every load of one dataset?18:05
udonopaepke: yes, they will. So pay attention to not put them into a list view, because all will be evaluated when open the list view.18:06
paepkeudono, yes. that was my guess.18:07
udonoHydrant_: tryton needs pygtk. It does not have a relation to QT.18:07
phellerudono: You're in .de, yes?18:08
udonopheller: yes18:08
udonopheller: and you?18:08
phellerudono: what city?  I make it over there a few times a year.18:08
phellerudono: I'm in Boston, USA18:08
udonopheller: Aachen, close to cologne and Dusseldorf. But in relation to US distances, everything is close here ;-)18:10
phellerYes, that's true.  I know Aachen.  There is a company there that makes software I was looking at for a previous company (AixpertSoft)18:10
phellernormally, I am visiting Frankfurt, München or ..... Nürburg :-)18:11
udonopheller: Frankfurt and Munich are often on my ways, too.18:14
Timitospheller: i am from munich. would be a pleasure to meet you when you there18:18
phellerTimitos: I'll certainly let you know when I'm in town18:18
udonoACTION afk bbl18:21
cedkACTION back18:31
cedkpaepke: I always tell you that I prefer the function field way but you said that you want it at report level18:32
cedkpaepke: function field are loaded only on request18:32
paepkecedk, 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.18:33
cedkpaepke: maybe it could be good to be able to import a module inside a report18:35
paepkecedk, in my mind is that a guy which makes a report should not necessarily need to code anything in python.18:36
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton18:36
paepkecedk, in my mind is that a guy which makes a report should not necessarily need to code anything in python.18:36
cedkpaepke: but I'm not sure about security18:37
paepkecedk, tell me about security.18:37
cedkpaepke: being able to import any module is not secure18:38
paepkecedk, i cannot follow you. am I proposing this? don't want to.18:39
cedkpaepke: in fact I think it should be added at relatorio level18:46
paepkecedk, 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 lib18:52
paepkecedk, so there are three possible ways to do it: as function in context, as function field, in relatorio.18:53
cedkpaepke: it could be a extra requirement in relatorio18:54
paepkecedk, in relatorio like the "image:" tag as a frame.18:54
cedkpaepke: it is a functionnality that some others report engine has (like reportlab)18:55
paepkecedk, that lpod-project you mentioned in identi.ca will not supersede relatorio? you mentioned it as addition. i don't wanna make useless work.18:57
paepkecedk, 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.19:02
-!- eLBati(~elbati@94.163.18.12) has joined #tryton19:39
cedkpaepke: don't understand19:44
cedkpaepke: relatorio way will be just add a relatorio method to generate barcode19:48
phellercedk: when do you think Issue1320 (SocketServer for netrpc, etc) will be implemented?20:23
phellercedk: will it make 1.8.0 ?20:24
cedkpheller: don't know. I have a lot of other stuff before20:24
phelleryep, I understand.20:24
-!- pheller(~pheller@c1fw226.constantcontact.com) has joined #tryton21:00
-!- paepke(~paepke@p4FEB2866.dip0.t-ipconnect.de) has left #tryton21:04
-!- bechamel(~user@host-85-201-159-186.brutele.be) has joined #tryton21:12
-!- mathesis(~mathesis@unaffiliated/mathesis) has joined #tryton21:49
-!- pheller(~pheller@c1fw226.constantcontact.com) has joined #tryton21:51
-!- zodman(~Miranda@67.223.236.231) has joined #tryton22:11
-!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton22:18
-!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton22:26
-!- zodman(~Miranda@67.223.236.231) has joined #tryton22:26
-!- mathesis(~mathesis@unaffiliated/mathesis) has joined #tryton22:26
-!- udono(~udono@dynamic-unidsl-85-197-16-244.westend.de) has joined #tryton22:26
-!- preC(~preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton22:26
-!- dba(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton22:26
-!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton22:26
-!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton22:26
-!- cheche(cheche@188.85.213.151) has joined #tryton22:26
-!- ChanServ(ChanServ@services.) has joined #tryton22:26
-!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton22:28
-!- zodman(~Miranda@67.223.236.231) has joined #tryton22:28
-!- mathesis(~mathesis@unaffiliated/mathesis) has joined #tryton22:28
-!- udono(~udono@dynamic-unidsl-85-197-16-244.westend.de) has joined #tryton22:28
-!- dba(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton22:28
-!- ChanServ(ChanServ@services.) has joined #tryton22:28
-!- cheche(cheche@188.85.213.151) has joined #tryton22:28
-!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton22:28
-!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton22:28
-!- preC(~preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton22:28
-!- ready(~ready@tiu.ligno.com) has joined #tryton22:30
-!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton22:30
-!- zodman(~Miranda@67.223.236.231) has joined #tryton22:30
-!- mathesis(~mathesis@unaffiliated/mathesis) has joined #tryton22:30
-!- udono(~udono@dynamic-unidsl-85-197-16-244.westend.de) has joined #tryton22:30
-!- preC(~preCTWO@orkan.Informatik.Uni-Oldenburg.DE) has joined #tryton22:30
-!- dba(~daniel@static.88-198-196-34.clients.your-server.de) has joined #tryton22:30
-!- FWiesing(~FWiesing@85-126-100-130.work.xdsl-line.inode.at) has joined #tryton22:30
-!- Milyardo(~zpowers@c-98-209-86-19.hsd1.mi.comcast.net) has joined #tryton22:30
-!- cheche(cheche@188.85.213.151) has joined #tryton22:30
-!- ChanServ(ChanServ@services.) has joined #tryton22:30
-!- mathesis1(~mathesis@189.188.86.98) has joined #tryton22:31
-!- juanfer(~juanfer@201.244.237.64) has joined #tryton22:32
-!- sharkcz(~sharkcz@2001:15c0:6747:160::7) has joined #tryton22:32
-!- cheche(cheche@188.85.213.151) has joined #tryton22:34
-!- tekknokrat(~lila@dslb-188-103-031-071.pools.arcor-ip.net) has joined #tryton22:38
-!- gremly(~gremly@201.244.193.238) has joined #tryton23:29

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