IRC logs of #tryton for Wednesday, 2011-03-02

chat.freenode.net #tryton log beginning Wed Mar 2 00:00:03 CET 2011
2011-03-02 01:05 -!- kwmiebach(~kwmiebach@46-38-160-122.static.cloud-ips.co.uk) has joined #tryton
2011-03-02 01:09 -!- ikks(~ikks@190.158.101.218) has joined #tryton
2011-03-02 01:41 -!- elbenfreund(~elbenfreu@p54B927A8.dip.t-dialin.net) has joined #tryton
2011-03-02 01:52 -!- zodman(~andres-va@gponr9-fija-203-7-69.iusacell.net) has joined #tryton
2011-03-02 02:06 -!- FWiesing(~franz@mail.tryton.at) has left #tryton
2011-03-02 02:47 -!- lemona(~lem0na@95.87.233.210) has joined #tryton
2011-03-02 02:48 -!- alexbodn(~alex@80.179.210.108.static.012.net.il) has joined #tryton
2011-03-02 03:17 -!- blast_hardcheese(~blast_har@dsl092-043-124.lax1.dsl.speakeasy.net) has joined #tryton
2011-03-02 04:06 -!- Hydrant(~aj@unaffiliated/hydrant) has joined #tryton
2011-03-02 04:06 <Hydrant> hello all
2011-03-02 05:20 -!- yangoon(~mathiasb@p549F2722.dip.t-dialin.net) has joined #tryton
2011-03-02 06:42 -!- plantian(~ian@206-211-209-202.utilitytelephone.net) has joined #tryton
2011-03-02 06:56 -!- predatell(~predatell@85.198.132.141) has joined #tryton
2011-03-02 07:30 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton
2011-03-02 07:50 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-03-02 08:32 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-03-02 08:35 -!- serpent213(~digger@teralink.net) has joined #tryton
2011-03-02 09:50 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2011-03-02 10:32 -!- mhi1(~mhi@pd95b104a.dip0.t-ipconnect.de) has joined #tryton
2011-03-02 10:33 -!- ikks(~ikks@190.158.101.218) has joined #tryton
2011-03-02 10:44 -!- paepke(~paepke@pD9544F65.dip0.t-ipconnect.de) has joined #tryton
2011-03-02 10:46 -!- cheche(cheche@46.25.80.67) has joined #tryton
2011-03-02 10:55 -!- nicoe(~nicoe@62.58.29.41) has joined #tryton
2011-03-02 10:56 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-03-02 11:36 <serpent213> hi
2011-03-02 11:36 <serpent213> just found out, openerp is using float for accounting
2011-03-02 11:36 <serpent213> now i'm, thinking about cross migrating from openerp v5 to tryton, instead of v6
2011-03-02 11:37 <serpent213> system is not in heavy use yet
2011-03-02 11:37 <serpent213> is there a ruby/rails connector for tryton? like ooor for openerp?
2011-03-02 11:39 <cedk> serpent213: yes but in Python :-)
2011-03-02 11:39 <cedk> serpent213: http://pypi.python.org/pypi/proteus/1.8.1
2011-03-02 11:40 <cedk> serpent213: there is also http://code.google.com/p/tryton/wiki/TrytonDjango
2011-03-02 11:45 <serpent213> mmmkay, so i either have to learn django or port ooor...
2011-03-02 11:45 -!- ecarreras(~under@81.184.3.75.static.user.ono.com) has joined #tryton
2011-03-02 11:45 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton
2011-03-02 11:48 <cedk> serpent213: I guess you can rewrite proteus in Ruby
2011-03-02 11:52 <nicoe> why using ruby ? python is better #troll
2011-03-02 11:53 <serpent213> hrhr
2011-03-02 11:53 <serpent213> thx, cedk
2011-03-02 11:56 -!- ChanServ changed mode/#tryton -> +o cedk
2011-03-02 11:58 <serpent213> http://www.tryton.org/documentation.html
2011-03-02 11:58 <serpent213> shouldn't 1.8 be listed there?
2011-03-02 11:58 <serpent213> as http://doc.tryton.org/1.8/ does work...?
2011-03-02 12:01 <cedk> serpent213: yes
2011-03-02 12:03 <cedk> serpent213: you can make your first contribution :-) http://hg.tryton.org/www.tryton.org/
2011-03-02 12:18 <ikks> cedk we have now spanish wikipedia article version for Tryton :)
2011-03-02 12:18 <ikks> http://es.wikipedia.org/wiki/Tryton
2011-03-02 12:22 <serpent213> cedk: how do i get access?
2011-03-02 12:27 <cedk> serpent213: http://code.google.com/p/tryton/wiki/HowtoContribute
2011-03-02 12:53 <serpent213> should have worked...?
2011-03-02 12:58 <cedk> serpent213: I don't understand
2011-03-02 13:04 <serpent213> i did "hg commit"
2011-03-02 13:05 <serpent213> didn't give a response
2011-03-02 13:05 <serpent213> i never used hg much before :)
2011-03-02 13:27 <cedk> serpent213: should read http://mercurial.selenic.com/wiki/TutorialFirstChange
2011-03-02 13:52 <serpent213> i did
2011-03-02 13:52 <serpent213> hg tip shows my change
2011-03-02 13:53 <nicoe> serpent213, you are not allowed to push yet
2011-03-02 13:54 <nicoe> Just send us a patch
2011-03-02 13:54 <serpent213> push is not mentioned in the tutorial
2011-03-02 13:54 <serpent213> % hg push
2011-03-02 13:54 <serpent213> pushing to http://hg.tryton.org/www.tryton.org/
2011-03-02 13:54 <serpent213> searching for changes
2011-03-02 13:54 <serpent213> remote: ssl required
2011-03-02 13:54 <serpent213> ok
2011-03-02 13:55 <serpent213> where should i send it?
2011-03-02 14:02 <cedk> serpent213: http://code.google.com/p/tryton/wiki/HowtoContribute
2011-03-02 14:05 <serpent213> it's not mentioned there, is it?
2011-03-02 14:05 <serpent213> "how to submit" just talks about exporting...
2011-03-02 14:08 <udono> serpent213: hi, the usual way is to create a ticket and attach the patch to the ticket. When you are unsure and want to discuss, put a codereview on http://codereview.appspot.com
2011-03-02 14:09 <udono> I have an attachment with the name index.html. When I try to download the file via webDAV and firefox/chrome, the browser ask me to save the file, instead of showing it. How can I show the file instead of 'download'?
2011-03-02 14:23 <cedk> udono: WebDAV is not HTTP
2011-03-02 14:24 <udono> cedk: yes, but it uses http
2011-03-02 14:24 <cedk> serpent213: http://code.google.com/p/tryton/wiki/HowtoContribute#Testing/Bugtracking
2011-03-02 14:24 <cedk> udono: it is over HTTP
2011-03-02 14:25 <nicoe> It might be a Content-Disposition problem BUT I think webdav should not send different content-disposition header according to the extension of the file
2011-03-02 14:28 <serpent213> if i had known this before...
2011-03-02 14:28 <serpent213> ,)
2011-03-02 14:29 <udono> cedk: nicoe: I just try to add text/html to http://hg.tryton.org/trytond/file/d7e0da4e4d6e/trytond/webdav/webdav.py#l40 but it will not work.
2011-03-02 14:31 <nicoe> Indeed, I think that when Firefox remarks that this is webdav it will by default and whatever the mimetype of the file is pop up the "Save As" window
2011-03-02 14:31 <nicoe> But I might be wrong
2011-03-02 14:32 <nicoe> To be sure of that you could use wireshark to check that the correct header is sent by tryton to firefox
2011-03-02 14:32 <udono> My general aim is to provide the sphinx html documentation from the server to the client. But maybe Tryton should support a simple webserver for this?
2011-03-02 14:32 <nicoe> It might be a good idea
2011-03-02 14:33 <udono> nicoe: thanks for the tipps, I will try my luck with wireshark
2011-03-02 14:34 <nicoe> udono: np
2011-03-02 14:35 <serpent213> https://addons.mozilla.org/de/firefox/addon/live-http-headers/ might be easier
2011-03-02 14:35 <nicoe> yes indeed
2011-03-02 14:36 <nicoe> (but since I don't use firefox I did not remember this extension ;))
2011-03-02 14:36 <udono> serpent213: thanks!
2011-03-02 14:39 <cedk> udono: setup a simple webserver
2011-03-02 14:51 <udono> cedk: yes, this already works.
2011-03-02 15:45 <paepke> +1 for an internal webserver
2011-03-02 15:46 <cedk> I don't understand the advantage
2011-03-02 15:51 <paepke> cedk, advantage over what?
2011-03-02 15:52 <nicoe> I suppose over the current situation :D
2011-03-02 15:53 <serpent213> ACTION stumpled upon http://code.google.com/p/tryton-nereid/ recently
2011-03-02 15:54 <paepke> viewing docs via browser and webdav is a kind of anoying (INFO:database:connect to "favicon.ico")
2011-03-02 15:54 <paepke> which forces a login-prompt on every page view.
2011-03-02 15:55 <paepke> ok, you can use django, werkzeug whatever to render some pages.
2011-03-02 15:56 <cedk> paepke: I don't see what is the advantage to have a webserver inside Tryton
2011-03-02 15:57 <paepke> cedk, ok.
2011-03-02 15:59 <bechamel> what about sticking together a simple wsgi framework with proteus and serve files with it ? this would be easy to do and better looking
2011-03-02 15:59 <paepke> bechamel, yes, thats what i said. you can use werkzeug for example with it.
2011-03-02 16:00 <cedk> bechamel: why do you need proteus to serve files?
2011-03-02 16:00 <bechamel> even simpler: as files are on disk, just generate several .html files and serve eveything as static files
2011-03-02 16:01 <bechamel> cedk: enforce access right
2011-03-02 16:04 <paepke> bechamel, ? static files? didn't get the point
2011-03-02 16:05 <cedk> bechamel: yes but could be done with a simple auth script in a real HTTP server
2011-03-02 16:06 <bechamel> paepke: for attachement
2011-03-02 16:06 <bechamel> paepke: of course this will not work for on-the-fly reports
2011-03-02 16:07 <cedk> I think someone should define the usage of this "web server"
2011-03-02 16:08 <paepke> udono already give an example: server online-doc. for me its another view to the data. and possibly giving access to some setup-helpers. like uri's to caldav calendars on a personal page.
2011-03-02 16:23 <cedk> paepke: documentation is static data
2011-03-02 16:24 <paepke> cedk, yes, but delivered via the source.
2011-03-02 16:24 <cedk> paepke: so I don't see why it should be serve by trytond
2011-03-02 16:25 <paepke> its ok for me not having a webservice within tryton. but it would fit.
2011-03-02 16:26 <paepke> you can use of course write a small wsgi app which connects via proteus or use tryton as modules (as described in the wiki) to arrange it.
2011-03-02 16:27 <cedk> paepke: what will be the use of proteus ?
2011-03-02 16:28 <paepke> bechamel mentioned it...
2011-03-02 16:29 <paepke> you could use xml-rpc or net-rpc, too.
2011-03-02 16:32 <paepke> cedk, if you use an extra webserver to access tryton it should possibly be programmed that it is not running on the same server.
2011-03-02 16:32 <cedk> for me documentation is static file so it doesn't require to have access to the running instance of trytond
2011-03-02 16:33 <cedk> the authentication could be done via a simple SQL query to the database, this kind of thing are commonly supported by most http servers
2011-03-02 16:34 <paepke> with wsgi you can write your own authenticator and use the api's of tryton.
2011-03-02 16:34 <paepke> thats not the problem
2011-03-02 16:34 <paepke> accessing sql-server directly is bad.
2011-03-02 16:35 <cedk> paepke: I don't find it is bad
2011-03-02 16:36 <cedk> any way, I don't see where the discussion goes
2011-03-02 16:36 <paepke> cedk, don't see it, too. we should not discuss it further.
2011-03-02 17:06 <nicoe> Does anybody use ir.default ?
2011-03-02 17:11 <yangoon> nicoe: I don't understand the question
2011-03-02 17:12 <yangoon> I use it everyday when setting defaults in the client
2011-03-02 17:15 <cedk> yangoon: on which fields do you use it?
2011-03-02 17:16 <yangoon> cedk: hmm, mostly o2m, but also timezone
2011-03-02 17:18 <cedk> yangoon: where?
2011-03-02 17:18 <yangoon> or boolean for 'use category' on products
2011-03-02 17:18 <cedk> yangoon: we think this feature is wrongly designed
2011-03-02 17:24 <nicoe> yangoon, In the case of the o2m what is the use case ?
2011-03-02 17:25 <yangoon> nicoe setting default account on sale line
2011-03-02 17:26 <yangoon> setting language in all wizards related to translation
2011-03-02 17:29 <cedk> yangoon: until now, I think your usage just reveal missing smart behavior in Tryton
2011-03-02 17:29 <cedk> yangoon: and we should fix it instead of configure it every time
2011-03-02 17:31 <yangoon> cedk: what's wrong with it? I think it is a setting per database
2011-03-02 17:32 <cedk> yangoon: it lacks access control
2011-03-02 17:32 <nicoe> people can set default for all users
2011-03-02 17:33 <nicoe> people can set default on dangerous fields (imagine state being set to 'invoiced' on sales)
2011-03-02 17:33 <yangoon> ok, could be, I only tested as admin
2011-03-02 17:33 <cedk> yangoon: you can break stuff by setting default on some fields (like states per example)
2011-03-02 17:35 <yangoon> yes, access control is of course a must, never tested this
2011-03-02 17:36 <cedk> yangoon: taking your usage list:
2011-03-02 17:36 <cedk> 'use category' -> default should be define on Company
2011-03-02 17:37 <cedk> 'language' -> should set the language of the user
2011-03-02 17:38 <cedk> 'account' (on invoice.line I guess) -> should use the default receivable/expense account of the company
2011-03-02 17:38 <cedk> 'timezone' -> default could be define on Company or use the server one
2011-03-02 17:38 <yangoon> cedk: the setting for me has two purposes:
2011-03-02 17:39 <yangoon> 1) user specific settings to ease his work
2011-03-02 17:39 <yangoon> 2) company specific settings for all users to define company usage
2011-03-02 17:40 <nicoe> 1) I never saw anybody using this, usually users prefer going on specific menu entries (in their shortcuts sometimes)
2011-03-02 17:40 <nicoe> (but I might be wrong)
2011-03-02 17:41 <yangoon> for 1) it is the most practiced usage I am seeing (and recommending)
2011-03-02 17:41 <nicoe> 2) If there is a specific settings for the company, it should be defined there
2011-03-02 17:42 <nicoe> 2) moreover it don't think the default in ir.default is ok with a multi-company set-up
2011-03-02 17:42 <cedk> confirm, ir.default is borken for multi-company
2011-03-02 17:42 -!- trifon(~trifon@84.40.66.56) has joined #tryton
2011-03-02 17:43 <cedk> it could set account from wrong company per example
2011-03-02 17:43 <yangoon> for 2) ack, it would be better property by company
2011-03-02 17:47 <yangoon> afk, bbl
2011-03-02 18:14 -!- okko(~okko@62.58.29.41) has joined #tryton
2011-03-02 18:25 -!- zodman(~andres-va@gponr9-fija-203-7-69.iusacell.net) has joined #tryton
2011-03-02 19:15 -!- FWiesing(~franz@mail.tryton.at) has joined #tryton
2011-03-02 19:38 -!- zodman(~andres-va@gponr9-fija-203-7-69.iusacell.net) has joined #tryton
2011-03-02 19:47 -!- zodman(~andres-va@foresight/developer/zodman) has joined #tryton
2011-03-02 19:50 <Hydrant> hey all... has anyone heard of "caseware"
2011-03-02 19:50 <Hydrant> I'm going to have to be able to export my Tryton data to this format for our corporate accountant
2011-03-02 20:02 <Hydrant> it looks like xrbl is the format for this
2011-03-02 20:02 <Hydrant> *xbrl
2011-03-02 20:32 -!- plantian(~ian@206-211-209-202.utilitytelephone.net) has joined #tryton
2011-03-02 21:34 <serpent213> is there a list of modules on the web? with descriptions?
2011-03-02 21:34 <serpent213> only found http://hg.tryton.org/modules/ ...
2011-03-02 21:53 -!- paepke(~paepke@pD9544F65.dip0.t-ipconnect.de) has left #tryton
2011-03-02 22:11 -!- FWiesing(~franz@mail.tryton.at) has left #tryton
2011-03-02 23:24 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2011-03-02 23:32 -!- elbenfreund(~elbenfreu@p54B927A8.dip.t-dialin.net) has joined #tryton
2011-03-02 23:39 -!- elbenfreund1(~elbenfreu@p54B93BBE.dip.t-dialin.net) has joined #tryton
2011-03-02 23:48 -!- paepke(~paepke@pD9545D14.dip.t-dialin.net) has joined #tryton

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