IRC logs of #tryton for Tuesday, 2011-04-26

chat.freenode.net #tryton log beginning Tue Apr 26 00:00:01 CEST 2011
2011-04-26 01:01 -!- rhubner(~rhubner@189.58.56.17.dynamic.adsl.gvt.net.br) has joined #tryton
2011-04-26 01:01 -!- rhubner(~rhubner@189.58.56.17.dynamic.adsl.gvt.net.br) has left #tryton
2011-04-26 01:34 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-04-26 01:46 -!- FWiesing(~franz@mail.tryton.at) has left #tryton
2011-04-26 03:43 -!- ikks(~ikks@186.83.198.61) has joined #tryton
2011-04-26 04:48 -!- alimon(~alimon@187.156.26.215) has joined #tryton
2011-04-26 05:03 -!- alimon(~alimon@187.156.26.215) has joined #tryton
2011-04-26 05:12 -!- alimon(~alimon@187.156.26.215) has joined #tryton
2011-04-26 05:18 -!- yangoon(~mathiasb@p549F3C42.dip.t-dialin.net) has joined #tryton
2011-04-26 05:19 -!- curlynostrill(~curlynost@96.57.28.108) has joined #tryton
2011-04-26 05:20 -!- alimon(~alimon@187.156.26.215) has joined #tryton
2011-04-26 07:00 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-04-26 07:17 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-04-26 07:42 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-04-26 08:08 -!- paepke(~paepke@pD954704D.dip.t-dialin.net) has joined #tryton
2011-04-26 08:22 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-04-26 08:50 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-04-26 09:41 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-04-26 09:45 -!- paepke(~paepke@85.115.14.130) has joined #tryton
2011-04-26 09:47 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-04-26 10:16 -!- gavinf(~gavinf@196-210-248-58.dynamic.isadsl.co.za) has joined #tryton
2011-04-26 10:17 -!- gavinf(~gavinf@196-210-248-58.dynamic.isadsl.co.za) has left #tryton
2011-04-26 10:31 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-04-26 10:53 -!- silverfox1971(~sysadmin0@office.delfi2000.ru) has joined #tryton
2011-04-26 12:00 -!- nicoe(~nicoe@2001:6f8:3aa:0:217:f2ff:fef3:4e9) has joined #tryton
2011-04-26 12:14 -!- Cazou(~Cazou@188.188.81.18) has joined #tryton
2011-04-26 12:34 -!- silverfox1971(~sysadmin0@office.delfi2000.ru) has left #tryton
2011-04-26 12:41 -!- ikks(~ikks@186.83.198.61) has joined #tryton
2011-04-26 13:13 -!- vladimirek(~vladimire@adsl-dyn88.91-127-104.t-com.sk) has joined #tryton
2011-04-26 13:26 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-04-26 14:55 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-04-26 15:02 -!- rhubner(~rhubner@189.26.93.141.dynamic.adsl.gvt.net.br) has joined #tryton
2011-04-26 15:03 <rhubner> Hi sharoon!
2011-04-26 15:05 <rhubner> sharoon: you are my mentor in gsoc :)
2011-04-26 15:11 <paepke> rhubner: what is your gsoc project?
2011-04-26 15:12 <rhubner> paepke: "A Rich Text Editor for Tryton Client"
2011-04-26 15:13 <rhubner> paepke: WYSIWYG editor...
2011-04-26 15:14 <sharoon> hi rhubner
2011-04-26 15:14 <sharoon> rhubner: that's good news :)
2011-04-26 15:14 <paepke> rhubner: great!
2011-04-26 15:14 <paepke> sharoon, rhubner good luck you guys. very intresting feature.
2011-04-26 15:15 <rhubner> sharoon: cool ... I didn't speak with you yesterday because it was my birthday too :)
2011-04-26 15:15 <sharoon> paepke: thanks, this GSOC has lot to give to tryton
2011-04-26 15:15 <rhubner> paepke: thanks!
2011-04-26 15:16 <sharoon> rhubner: Oh! belated birthday wishes and guess the GSOC announcement was a good b'day gift
2011-04-26 15:16 <sharoon> rhubner: do you have the proposal on a blog ?
2011-04-26 15:16 <rhubner> sharoon, paepke: 4 proposal was accept in Tryton! \o/
2011-04-26 15:17 <rhubner> sharoon: yes is was...
2011-04-26 15:17 <sharoon> rhubner: paepke: infact its 5
2011-04-26 15:18 <rhubner> sharoon: I have a blog with this proposal
2011-04-26 15:18 <sharoon> rhubner: do you want to discuss your project now ?
2011-04-26 15:18 <rhubner> sharoon: 5?? great!
2011-04-26 15:20 <rhubner> sharoon: we can talk a little about it now...
2011-04-26 15:22 <rhubner> sharoon: I need to know exactly to start...
2011-04-26 15:22 <sharoon> rhubner: I think you need to first familarise yourself with Tryton and see how modules work.
2011-04-26 15:23 <paepke> sharoon: great gsoc :-)
2011-04-26 15:23 <dfamorato> hello all, i am so happy to announce that I was also accepted for GSOC
2011-04-26 15:23 <paepke> dfamorato: pretty cool
2011-04-26 15:23 <dfamorato> my project is : Add full text search capabilities on Tryton records
2011-04-26 15:23 <dfamorato> but i don't know who is my mentor
2011-04-26 15:24 <sharoon> rhubner: you need to know fields are defined on the server side and how the client gets the field specification
2011-04-26 15:24 <sharoon> dfamorato: bechamel is your mentor
2011-04-26 15:24 <dfamorato> sharoon: thanks !
2011-04-26 15:24 <dfamorato> bechamel: ping
2011-04-26 15:24 <paepke> what was additionally accepted? is there somewhere a page i missed?
2011-04-26 15:24 <rhubner> sharoon: Ok... I already installed all....
2011-04-26 15:25 <sharoon> rhubner: cool
2011-04-26 15:26 <rhubner> sharoon: I studied a little submitting a patch...
2011-04-26 15:26 <sharoon> rhubner: did u see how fields are defined ? and did u see the text field
2011-04-26 15:26 <sharoon> rhubner: http://doc.tryton.org/1.8/trytond/doc/ref/models/fields.html#text
2011-04-26 15:27 -!- alimon(~alimon@187.156.77.20) has joined #tryton
2011-04-26 15:27 -!- ikks(~ikks@186.83.198.61) has joined #tryton
2011-04-26 15:28 <sharoon> cedk: are all text fields going to be RTF or is there a specific flag that needs to be set for the project 'A Rich Text Editor for Tryton Client'
2011-04-26 15:29 <cedk> sharoon: I think we will use a specific widget
2011-04-26 15:30 <rhubner> sharoon: I seeing! After I knowing well how does modules works, I thought beginning code the text editor out of project..
2011-04-26 15:31 <sharoon> cedk: is it like current system where widget is specifiedd in xml ? so there will be no changes on server side
2011-04-26 15:31 <rhubner> sharoon: When i finished the first version, i'll integrate the text editor in client
2011-04-26 15:33 <sharoon> rhubner: just a second, its important to know the exact specification you need to implement. like what is the xml attribute (if any) or field option which throws up the rich text editor
2011-04-26 15:33 <rhubner> sharoon: ok!
2011-04-26 15:33 -!- alimon(~alimon@187.156.77.20) has joined #tryton
2011-04-26 15:34 <sharoon> rhubner: we already have a minor widget system where you can specify widget="<name>" on xml and the client renders the corresponding idget. for example when you add contact mechanisms for party and the widget can be email, sip, callto, url etc
2011-04-26 15:35 <rhubner> sharoon: humm
2011-04-26 15:36 <rhubner> sharoon: is the widget becomes the fiel text editor optional?
2011-04-26 15:38 <rhubner> sharoon: if you added widget="rtf" for example in text field, would it apper the rich text?
2011-04-26 15:40 <sharoon> rhubner: not yet, i think that is exactly your project, wait for cedk to confirm
2011-04-26 15:40 <bechamel> hi dfamorato
2011-04-26 15:40 <bechamel> I was afk
2011-04-26 15:41 -!- zxq9(~yagami_i@FL1-119-244-163-208.okn.mesh.ad.jp) has joined #tryton
2011-04-26 15:42 <zxq9> Is there currently any way to make the invoice .odt template documents language-specific?
2011-04-26 15:42 <zxq9> For example, in Japan, Korea, China, etc. addresses are formatted very differently than in Europe and America.
2011-04-26 15:42 <sharoon> cedk: is hg.tryton.org down ?
2011-04-26 15:43 <zxq9> Is there a way to make a "sale_jp.odt" version of the "sale.odt" document that contains the appropriate formatting based on the preferred language of the party being invoiced?
2011-04-26 15:44 -!- alimon(~alimon@187.156.77.20) has joined #tryton
2011-04-26 15:44 <zxq9> sharoon: I can't get on it, either.
2011-04-26 15:46 <zxq9> sharoon: Seems back up now.
2011-04-26 15:46 <dfamorato> bechamel: hi there
2011-04-26 15:47 <dfamorato> bechamel: sharoon told me you are my mentor
2011-04-26 15:47 <bechamel> dfamorato: yes
2011-04-26 15:47 <nicoe> zxq9: you can use a "if" construct to use different formatting
2011-04-26 15:47 <sharoon> rhubner: http://hg2.tryton.org/1.8/modules/party/file/d0a4781ef8b0/contact_mechanism.xml#l35
2011-04-26 15:48 <cedk> sharoon: back
2011-04-26 15:48 <dfamorato> bechamel: please to meet you... So, any guidance on where should I start
2011-04-26 15:48 <dfamorato> bechamel: i am reading the docs on sphix search
2011-04-26 15:49 <bechamel> dfamorato: I will re-read your proposal to re-fresh my mind
2011-04-26 15:49 <sharoon> cedk: thanks, could you suggest the approach rhubner must take? is it new widget="rtf" / widget="rich_text" something like that, what's your take ?
2011-04-26 15:49 <zxq9> nicoe: You mean inside of the .odf, somewhere in a Tryton form, or somewhere in the module code?
2011-04-26 15:50 <dfamorato> bechamel: here is my proposal http://bit.ly/f8vEak
2011-04-26 15:50 <sharoon> zxq9: inside the report, in the sale/invoice you can already see an if logic being used to say what kind of form it is (Order, Quotation etc)
2011-04-26 15:50 <bechamel> dfamorato: thanks, I was lost in the melange website :)
2011-04-26 15:51 <cedk> sharoon: yes something like that
2011-04-26 15:51 <cedk> sharoon: don't know yet the name it should have
2011-04-26 15:51 <sharoon> cedk: thanks, rhubner: so you have the blueprint now
2011-04-26 15:52 <rhubner> sharoon: I understood so so ...
2011-04-26 15:53 <zxq9> Ah... so by expanding the <when> and <if> statement flow in the form I can test for language, and have the correct style selected?
2011-04-26 15:53 <sharoon> zxq9: rather according to language you can set content (something like a switch...case on language code)
2011-04-26 15:54 <rhubner> sharoon: is already exist the widget attr to use on project or it would be add?
2011-04-26 15:54 <sharoon> rhubner: widget attribute already exists
2011-04-26 15:54 <sharoon> rhubner: see example usage here http://hg2.tryton.org/1.8/modules/party/file/d0a4781ef8b0/contact_mechanism.xml#l35
2011-04-26 15:54 <bechamel> dfamorato: the first question is where to plug sphinx, ie on the database level vs the application (python code) level
2011-04-26 15:55 <bechamel> IMO it's on the application level
2011-04-26 15:55 <rhubner> sharoon: Haaa Ok! I'll study this!
2011-04-26 15:55 <dfamorato> bechamel: i think on application level as well
2011-04-26 15:56 <dfamorato> bechamel: because then we can take advantage of the abstractions
2011-04-26 15:56 <bechamel> dfamorato: which will solve the support for sqlite
2011-04-26 15:56 <sharoon> bechamel: dfamorato: the latest version of sphinx seems to natively support sqlite
2011-04-26 15:56 <zxq9> sharoon: Is there a reference for the in-line mark-up being used? (Is this Python/Tryton specific, or is this an odt scripting thing?)
2011-04-26 15:57 <sharoon> zxq9: its genshi http://relatorio.openhex.org/
2011-04-26 15:57 <dfamorato> bechamel: I saw that sharoon also implemented MongoDB for tryton attributes
2011-04-26 15:57 <bechamel> sharoon: ok, it was just an observation :)
2011-04-26 15:57 <zxq9> sharoon: Thanks!
2011-04-26 15:57 <rhubner> sharoon: do you think I can start code the rich text out of project and after add it with widget?
2011-04-26 15:58 <cedk> rhubner: yes you can
2011-04-26 15:58 <bechamel> dfamorato: iirc sphinx offer more thant just "searching for text", it's also able to understand slight variation between related words
2011-04-26 15:58 <sharoon> rhubner: yep
2011-04-26 15:59 <rhubner> thx cedk, thx sharoon!
2011-04-26 15:59 <rhubner> i'm going to college now!
2011-04-26 15:59 <rhubner> see you later!
2011-04-26 16:00 <sharoon> rhubner: good luck
2011-04-26 16:00 <bechamel> dfamorato: from the website "...morphology and synonym processing through word forms dictionaries and stemmers..."
2011-04-26 16:00 <rhubner> sharoon: and nice to meet you mentor! :)
2011-04-26 16:01 -!- alimon(~alimon@187.156.77.20) has joined #tryton
2011-04-26 16:02 -!- cugg(~cugg@228.225-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-04-26 16:03 <bechamel> dfamorato: I thought you were talking about using mongodb for indexing, but now i understand that you were just talking about the current backend
2011-04-26 16:03 <cugg> hi
2011-04-26 16:04 <dfamorato> dfamorato: yes, I saw that sharoon released an extension for the product model
2011-04-26 16:04 <bechamel> cugg: hi
2011-04-26 16:04 <dfamorato> bechamel: yes, I saw that member:sharoon released an extension for the product model
2011-04-26 16:04 <bechamel> dfamorato: yes
2011-04-26 16:05 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-04-26 16:05 <bechamel> dfamorato: the first obvious thing to index is the "rec_name"
2011-04-26 16:05 <bechamel> do you know what it is ?
2011-04-26 16:05 <dfamorato> bechamel: and integrating on application level would also be beneficial for any future integrations
2011-04-26 16:06 <dfamorato> bechamel: is it the name of the record in the DB ?
2011-04-26 16:06 <dfamorato> bechamel: like invoice number, product reference and so on ?
2011-04-26 16:10 <bechamel> dfamorato: yes, it's the name under which a record appear when it's referenced
2011-04-26 16:11 <bechamel> dfamorato: and there is already a mechanism that allow some flexibility for it
2011-04-26 16:13 <bechamel> dfamorato: by default the 'name' field is show, it can be changed to a custom field via the _rec_name attribute on the class or it can be completly dynamic with the get_rec_name method (grep those name in the source to find examples)
2011-04-26 16:15 -!- rhubner(~rhubner@189.26.93.141.dynamic.adsl.gvt.net.br) has left #tryton
2011-04-26 16:15 <dfamorato> bechamel: in the trytond or the modules source ?
2011-04-26 16:16 <bechamel> dfamorato: both
2011-04-26 16:17 <dfamorato> bechamel:
2011-04-26 16:17 <dfamorato> ok
2011-04-26 16:17 <dfamorato> bechamel: doing it now... i want to get a feel how many different rec_names whe have currently
2011-04-26 16:19 <bechamel> dfamorato: to you know "ack" ? http://betterthangrep.com/, this may help you
2011-04-26 16:20 <dfamorato> bechamel: i didn't know...but i love the fact it also has integration with Textmate. I'm a apple user =D
2011-04-26 16:22 <dfamorato> bechamel: in order to clone the modules repo, it suggests to use forrest extension, which is not beeing maintained anymore. subrepos replaced the forrest... should i sue subrepos for cloning tryton repo ?
2011-04-26 16:23 <bechamel> dfamorato: we use hg nested
2011-04-26 16:23 <dfamorato> ok
2011-04-26 16:23 -!- zodman(~andres-va@foresight/developer/zodman) has joined #tryton
2011-04-26 16:23 <bechamel> dfamorato: http://code.google.com/p/hgnested/
2011-04-26 16:24 <bechamel> dfamorato: more info with mercurial http://code.google.com/p/tryton/wiki/InstallationMercurial
2011-04-26 16:24 <dfamorato> bechamel: thanks
2011-04-26 16:31 <cedk> dfamorato: where did you see reference to forrest?
2011-04-26 16:32 <dfamorato> cedk: http://www.tryton.org/downloads.html
2011-04-26 16:33 <cedk> dfamorato: thx
2011-04-26 16:59 -!- paepke(~paepke@85.115.14.130) has joined #tryton
2011-04-26 17:01 -!- paepke(~paepke@85.115.14.130) has joined #tryton
2011-04-26 18:19 -!- FWiesing(~franz@mail.tryton.at) has joined #tryton
2011-04-26 18:21 -!- reichlich(~reichlich@p5793DE6F.dip.t-dialin.net) has joined #tryton
2011-04-26 18:28 -!- reichlich_(~reichlich@p5793DA21.dip.t-dialin.net) has joined #tryton
2011-04-26 18:33 -!- enlightx_(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-04-26 18:44 -!- bechamel(~user@85.201.144.79) has joined #tryton
2011-04-26 18:56 -!- alimon(~alimon@201.158.247.118) has joined #tryton
2011-04-26 19:08 -!- elbenfreund(~elbenfreu@p54B929CE.dip.t-dialin.net) has joined #tryton
2011-04-26 19:13 -!- heg(~heg@dyn.144-85-138-187.dsl.vtx.ch) has joined #tryton
2011-04-26 20:03 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-04-26 20:33 -!- lem0na(~lem0na@95.87.233.210) has joined #tryton
2011-04-26 20:46 -!- okko(~okko@dhcp-077-251-140-095.chello.nl) has joined #tryton
2011-04-26 21:30 -!- alimon(~alimon@201.158.247.118) has joined #tryton
2011-04-26 22:00 <yangoon> cedk ping
2011-04-26 22:00 <yangoon> just reading http://hg2.tryton.org/modules/product/file/002a971a0a39/icons/LICENSE#l156
2011-04-26 22:01 <cedk> yangoon: and ?
2011-04-26 22:01 <yangoon> there is no credit for original authors so far
2011-04-26 22:01 <yangoon> what do you think? I think it should be included somewhere
2011-04-26 22:02 <cedk> yangoon: it is in the svg file
2011-04-26 22:03 -!- alimon(~alimon@201.158.247.118) has joined #tryton
2011-04-26 22:18 -!- alimon(~alimon@201.158.247.118) has joined #tryton
2011-04-26 22:28 -!- Hydrant(~aj@unaffiliated/hydrant) has joined #tryton
2011-04-26 22:29 <yangoon> cedk: ico and png in client: are they ASA2.0 or GPL3?
2011-04-26 22:34 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton
2011-04-26 23:07 <cedk> yangoon: ASA
2011-04-26 23:54 -!- curlynostrill(~curlynost@96.57.28.108) has joined #tryton

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