IRC logs of #tryton for Friday, 2009-09-04

chat.freenode.net #tryton log beginning Fri Sep 4 00:00:02 CEST 2009
2009-09-04 00:05 <cedk> vengfulsquirrel: this is strange
2009-09-04 00:05 <cedk> vengfulsquirrel: copy/paste the code you added to sale
2009-09-04 00:11 <vengfulsquirrel> Here is the execute output after clicking on Sales: http://paste.pocoo.org/show/137874/
2009-09-04 00:11 <vengfulsquirrel> Well I kind of have a bunch of modules
2009-09-04 00:13 <vengfulsquirrel> I just create a one 2 many from customer shipment to inventories but my own inventories module.
2009-09-04 00:13 <cedk> vengfulsquirrel: I see nothing special
2009-09-04 00:14 <vengfulsquirrel> I'm using trunk which I should probably stop doing
2009-09-04 00:14 <vengfulsquirrel> although it seems like its always pretty stable
2009-09-04 00:19 <cedk> vengfulsquirrel: what is your host?
2009-09-04 00:20 <vengfulsquirrel> I'm just running it locally right now client to server, its an athlon XP 2700+ with 1.5 gigs of ram running gentoo linux.
2009-09-04 00:20 <vengfulsquirrel> Is it possible its waiting on the cron implementation to do something because it keeps calling execute on the cron table?
2009-09-04 00:22 <vengfulsquirrel> I guess it has to do that at regular intervals to emulate cron so its just acting normally
2009-09-04 00:23 <cedk> vengfulsquirrel: yes
2009-09-04 00:23 <cedk> vengfulsquirrel: by the way, the log you copy/paste show it took 3 secs
2009-09-04 00:25 <cedk> vengfulsquirrel: and it seems that you have a lot of missing modules
2009-09-04 00:25 <cedk> vengfulsquirrel: did you have the same perf issue with the demo server?
2009-09-04 00:27 <vengfulsquirrel> I don't know, do I just pull from http://hg.tryton.org/hgwebdir.cgi/1.2/tryton/ to get the client to try it ?
2009-09-04 00:28 <cedk> vengfulsquirrel: yes
2009-09-04 00:35 <vengfulsquirrel> ha wow
2009-09-04 00:36 <vengfulsquirrel> took me a while to figure out why the client opened with no buttons or interface, i think i still had the old localhost server running
2009-09-04 00:36 <vengfulsquirrel> so in conclusion no it doesn't happen on the demo
2009-09-04 00:37 <vengfulsquirrel> once i connect
2009-09-04 00:37 <vengfulsquirrel> i double click sales
2009-09-04 00:37 <vengfulsquirrel> and its fast
2009-09-04 00:37 <vengfulsquirrel> but the demo has no locations
2009-09-04 00:37 <vengfulsquirrel> and 4 products
2009-09-04 00:37 <vengfulsquirrel> I have 1000 locations and a little over 20,000 products
2009-09-04 00:38 <cedk> vengfulsquirrel: try to open translations
2009-09-04 00:38 <vengfulsquirrel> Where is that ?
2009-09-04 00:38 <cedk> vengfulsquirrel: Administration>Localisations
2009-09-04 00:38 <cedk> vengfulsquirrel: is it possible to connect ot your server?
2009-09-04 00:40 <vengfulsquirrel> open translations isn't too slow
2009-09-04 00:40 <vengfulsquirrel> i mean it stops for a few seconds
2009-09-04 00:40 <vengfulsquirrel> but its fine
2009-09-04 00:42 <vengfulsquirrel> No sorry I don't have port forwarding setup, maybe tomorrow I could get that setup though.
2009-09-04 00:44 <cedk> vengfulsquirrel: so I think your logs doesn't show everythings
2009-09-04 00:50 <vengfulsquirrel> Yeah maybe it wasn't done, let me try it again start to finish. here is part of one the new modules I just made, http://paste.pocoo.org/show/137879/
2009-09-04 00:50 <vengfulsquirrel> Maybe its because I've deleted modules but not actually deleted them from the database.
2009-09-04 00:52 <cedk> vengfulsquirrel: it is possibly the Function fields
2009-09-04 00:53 <vengfulsquirrel> Wow listing the sales cause those to be filled with stuff?
2009-09-04 00:53 <vengfulsquirrel> All those should be empty at this point.
2009-09-04 00:56 <vengfulsquirrel> Here it is start to finish http://paste.pocoo.org/show/137881/
2009-09-04 00:59 <cedk> vengfulsquirrel: show me the function of Function fields
2009-09-04 01:03 <vengfulsquirrel> tryting to put on intuxicatino
2009-09-04 01:06 <vengfulsquirrel> Do you know why this happens? http://mercurial.intuxication.org/hg/sale_convert
2009-09-04 01:06 <vengfulsquirrel> I can pull it but it just throws errors all over when I try to view it.
2009-09-04 01:09 <cedk> vengfulsquirrel: don't know
2009-09-04 01:09 <cedk> vengfulsquirrel: but you can copy/paste the functions
2009-09-04 01:13 <vengfulsquirrel> cedk: http://paste.pocoo.org/show/137883/
2009-09-04 01:13 <vengfulsquirrel> They are just made from the template of the inventory_moves and outgoing_moves function fields that also use the moves field.
2009-09-04 01:15 <cedk> vengfulsquirrel: I don't know, I don't see why there is 1 min spend between 15:53:14 and 15:54:04
2009-09-04 01:18 <vengfulsquirrel> Yeah okay well thanks for looking at it, I will try to rebuild without the module and then some of my other newer modules and see if it goes away and then maybe I'll have more information tomorrow.
2009-09-04 02:30 -!- ovnicraft(n=ovnicraf@190.154.240.58) has joined #tryton
2009-09-04 03:40 -!- ikks(n=ikks@190.158.112.213) has joined #tryton
2009-09-04 05:19 -!- yangoon(n=mathiasb@p549F4803.dip.t-dialin.net) has joined #tryton
2009-09-04 05:21 -!- woakas(n=woakas@190.144.69.234) has joined #tryton
2009-09-04 05:42 -!- gremly(n=gremly@190.156.166.163) has joined #tryton
2009-09-04 05:48 -!- gremly(n=gremly@190.156.166.163) has joined #tryton
2009-09-04 06:38 -!- gremly(n=gremly@190.156.166.163) has joined #tryton
2009-09-04 07:37 -!- carlos(n=carlos@17.156.221.87.dynamic.jazztel.es) has joined #tryton
2009-09-04 07:38 -!- Timitos(n=timitos@88.217.184.172) has joined #tryton
2009-09-04 08:05 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-09-04 08:24 -!- paepke(n=paepke@mail.metaldyne.de) has joined #tryton
2009-09-04 09:11 -!- gremly(n=gremly@190.156.166.163) has joined #tryton
2009-09-04 09:13 -!- carlos(n=carlos@17.156.221.87.dynamic.jazztel.es) has joined #tryton
2009-09-04 09:28 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-09-04 09:51 <CIA-2> C?dric Krier <ced@b2ck.com> default * 1984:b2fb57d71fb3 trytond/trytond/model/browse.py:
2009-09-04 09:51 <CIA-2> Fix test on context and local_cache.
2009-09-04 09:51 <CIA-2> Use a new dictionary only if it is None and if it is empty.
2009-09-04 09:51 <CIA-2> http://hg.tryton.org/trytond/rev/b2fb57d71fb3
2009-09-04 09:52 <CIA-2> C?dric Krier <ced@b2ck.com> default * 1985:314683104a6d trytond/trytond/model/browse.py:
2009-09-04 09:52 <CIA-2> Use global cache ids only if it is less than IN_MAX otherwise it will generate
2009-09-04 09:52 <CIA-2> more SELECT queries in the read function.
2009-09-04 09:52 <CIA-2> http://hg.tryton.org/trytond/rev/314683104a6d
2009-09-04 09:52 <CIA-2> C?dric Krier <ced@b2ck.com> default * 1986:efeab9443bd8 trytond/trytond/tools/convert.py: Clean cursor cache when reseting BrowseRecord
2009-09-04 09:52 <CIA-2> http://hg.tryton.org/trytond/rev/efeab9443bd8
2009-09-04 09:52 <CIA-2> C?dric Krier <ced@b2ck.com> default * 1987:5834327e9982 trytond/trytond/tools/convert.py:
2009-09-04 09:52 <CIA-2> Order BrowseRecordList by id.
2009-09-04 09:52 <CIA-2> We have more chance to see records in this order in the XML files.
2009-09-04 09:52 <CIA-2> http://hg.tryton.org/trytond/rev/5834327e9982
2009-09-04 09:52 <CIA-2> C?dric Krier <ced@b2ck.com> default * 1988:29f3eabb8119 trytond/trytond/tools/convert.py:
2009-09-04 09:52 <CIA-2> Reset BrowseRecord also after update to keep cache memory low.
2009-09-04 09:52 <CIA-2> There is little chance to see again this record in the XML files of the module.
2009-09-04 09:52 <CIA-2> http://hg.tryton.org/trytond/rev/29f3eabb8119
2009-09-04 09:52 <CIA-2> C?dric Krier <ced@b2ck.com> default * 591:71547fabf160 stock/TODO: Remove already done TODO
2009-09-04 09:52 <CIA-2> http://hg.tryton.org/modules/stock/rev/71547fabf160
2009-09-04 10:16 -!- bechamel(n=user@host-85-201-159-186.brutele.be) has joined #tryton
2009-09-04 10:25 <bechamel> yangoon: cedk: 8Go in 15min is quicker than I would have ever expected.
2009-09-04 10:26 <bechamel> I remember when I was at tiny for one of the project I was working on, I had to spilt a module with all the data into 30 little modules (a module with more than 30 000 records was maxing the ram).
2009-09-04 10:26 <bechamel> and btw in the meanwhile we added other features (like avoiding do erase user modification that happened between the initial import and the update).
2009-09-04 10:28 <cedk> interresting paper: http://www.schneier.com/blog/archives/2009/09/real-world_acce.html
2009-09-04 10:33 <cedk> bechamel: http://www.dicocitations.com/citation_internaute_ajout/2947.php
2009-09-04 10:35 <paepke> cedk: i agree with bruce, i worked with sarbanes oxley act for three years and helped to implement it in the IT-structure. there were some good points and some bad points.
2009-09-04 10:36 <paepke> there were some ridiculous processes in place.
2009-09-04 10:37 <cedk> paepke: the interesting part, I find, is the "speeding tickets"
2009-09-04 10:37 <paepke> finally my opinion is: too much processes kills innovation in companies. not only in IT
2009-09-04 10:37 <cedk> paepke: I don't know how we could try to apply on Tryton, but it is good to keep it in mind :-)
2009-09-04 10:46 <paepke> for applying "speeding tickets" you have to audit the whole system. we grep'ed through the transaction log and had to analyse the sql-strings.
2009-09-04 10:47 <paepke> well not to implement the speeding tickets. thats a new idea to me, but a good one. we used this to look what were the changes for example in accounting.
2009-09-04 10:49 <paepke> additionally the history function in tryton is a good start.
2009-09-04 10:51 <bechamel> cedk: I have once watch the beginning of this presentation iirc he was talking about using ruby snippets instead of acl: http://www.vimeo.com/2723800
2009-09-04 10:51 <cedk> paepke: I was thinking more like adding some controled fuzzy to the control system of Tryton
2009-09-04 10:52 <cedk> paepke: like you can break this rule but no more than ...
2009-09-04 10:53 <paepke> cedk: maybe i'm thinking too much the old way :-).
2009-09-04 10:54 <cedk> paepke: we are here to exchange ideas :-)
2009-09-04 10:54 <paepke> cedk: on roads you can drive as fast as you can. you will get a speeding ticket after the issue. not during the drive.
2009-09-04 10:56 <cedk> paepke: yes, in stead of "no more than...", it can be if "more than..., we will inform your boss"
2009-09-04 10:56 <paepke> your idea with a fuzzy control will still implement the old way
2009-09-04 10:56 <paepke> cedk: ic.
2009-09-04 10:59 <paepke> i haven't had a deeper look in the current tryton acl system
2009-09-04 10:59 <paepke> what is already possible
2009-09-04 11:00 <cedk> paepke: it is globaly ACL
2009-09-04 11:01 <cedk> paepke: you have or not access to this ressource
2009-09-04 11:03 <paepke> is it possible to restrict it field-base. like having access to a customer party and not access to a supplier party?
2009-09-04 11:04 <paepke> sorry, the question goes to cedk
2009-09-04 11:04 <cedk> paepke: yes, it is what we call record rules
2009-09-04 11:08 <paepke> cedk: ok. great.
2009-09-04 11:11 <paepke> cedk: imho there should be a -maybe- printed report to sign the "speed ticket" by the boss. and for workflow purposes a possibility to give this employee for future more access rights.
2009-09-04 11:32 -!- essich(n=essich@p4FCF9D6E.dip0.t-ipconnect.de) has joined #tryton
2009-09-04 11:55 -!- gour(n=user@93.159.83.133) has joined #tryton
2009-09-04 11:55 <gour> morning
2009-09-04 11:57 <gour> after more than 2hrs of constant swapping and tooking over all the resources, openerp/medical module was killed being unable to load/parse 14M xml file :-/
2009-09-04 11:58 <gour> not very impressive :-(
2009-09-04 11:58 <gour> now, i disable loading of that file to get, at least, a sneak preview how does it look like
2009-09-04 11:59 <gour> (it's hard to port something you don't even know how it looks like :-D)
2009-09-04 11:59 <cedk> gour: did you see: http://groups.google.com/group/tryton/browse_frm/thread/ad80ab5d265d5583
2009-09-04 12:03 <gour> cedk: yep, you did some caching tricks, right?
2009-09-04 12:03 <cedk> gour: memory management
2009-09-04 12:04 <cedk> gour: due to new cache management
2009-09-04 12:04 <cedk> gour: it is not in <= 1.2
2009-09-04 12:04 <gour> heh, but the guy was importing 8GB :-)
2009-09-04 12:04 <gour> and me only 14M :-/
2009-09-04 12:05 <gour> btw, i've tryton-dev installed locally and ready for exploring...
2009-09-04 12:07 <gour> cedk: in any case, Medical is too 'medical' for our needs
2009-09-04 12:07 <cedk> gour: remember: "OpenERP is solid" :-)
2009-09-04 12:07 <bechamel> ACTION laugh
2009-09-04 12:08 <gour> cedk: yep, it solidly killing all the resources:-)
2009-09-04 12:09 <gour> i'm going to package gnumed for archlinux...
2009-09-04 12:12 <cedk> gour: I think you should write your requirements
2009-09-04 12:13 <gour> cedk: yep. that why i'm going to package gnumed - it will be more useful to become clear with our res while evaluating gnumed than with medical
2009-09-04 12:13 <gour> *that's
2009-09-04 12:14 <gour> cedk: do you remember (it is ancient) WP's infocentral?
2009-09-04 12:14 <gour> it was nice PIM
2009-09-04 12:16 <cedk> gour: no
2009-09-04 12:19 <gour> i wonder why i didn't get those updates after running tryton-dev script
2009-09-04 12:19 <yangoon> cedk: gour btw: there was an error in my post: the xml in question in party_bank_de is 8 MB, not 8 GB
2009-09-04 12:20 <gour> yangoon: ahh, ok. i was thinking you possess the whole world, but who knows...
2009-09-04 12:21 <gour> :-)
2009-09-04 12:21 <cedk> yangoon, gour: it still better
2009-09-04 12:21 <cedk> yangoon: did you try with psyco enable?
2009-09-04 12:22 <yangoon> cedk: no, never enabled it so far, should I do?
2009-09-04 12:22 <yangoon> cedk: I will report memory usgae and run a test with psyco
2009-09-04 12:22 <gour> tryton uses psyco2, right?
2009-09-04 12:22 <cedk> gour: psycopg2 for database acces
2009-09-04 12:23 <cedk> gour: psyco is a JIT module for python
2009-09-04 12:23 <gour> i was thinking about psycopg2 vs v1
2009-09-04 12:33 <gour> ACTION sent mail to medical dev informing him about the performance...
2009-09-04 12:34 <gour> let me package/install gnumed, so i can explore latest version more closely and then i can compose mail to tryton's ml defining more precisely our needs
2009-09-04 12:36 <cedk> paepke: we could also add time on access rules
2009-09-04 12:39 <paepke> cedk: even on future? for example guy from purchase changes his job on september to accounting?
2009-09-04 12:40 <cedk> paepke: no, I was thinking about you can access invoice only between 8:00 to 16:00
2009-09-04 12:41 <paepke> cedk: ok. take it as a feature request :-)
2009-09-04 12:42 <cedk> paepke: even, I think it must be in a module
2009-09-04 12:45 -!- carlos(n=carlos@17.156.221.87.dynamic.jazztel.es) has joined #tryton
2009-09-04 13:34 <gour> ACTION got reply from medical dev - they run it with 2GB machines..
2009-09-04 13:34 <gour> ACTION --> lunch. bbl
2009-09-04 14:18 -!- woakas(n=woakas@190.144.69.234) has joined #tryton
2009-09-04 14:44 <yangoon> cedk: you were right with removing indexes http://www.postgresql.org/docs/8.3/interactive/populate.html#POPULATE-RM-INDEXES
2009-09-04 14:59 <cedk> yangoon: you should try
2009-09-04 14:59 <cedk> yangoon: but perhaps not dropping the index on id because it is used for read
2009-09-04 14:59 <yangoon> cedk: ok
2009-09-04 14:59 -!- yangoon(n=mathiasb@p549F4803.dip.t-dialin.net) has left #tryton
2009-09-04 15:00 -!- yangoon(n=mathiasb@p549F4803.dip.t-dialin.net) has joined #tryton
2009-09-04 15:12 <yangoon> cedk: won't tryton reinstall the indexes as soon as it begins with the update?
2009-09-04 15:13 <cedk> yangoon: yes
2009-09-04 15:13 <cedk> yangoon: you should add a hack
2009-09-04 15:14 <yangoon> cedk: if I delete the index in init, the model doesn't recreate it?
2009-09-04 15:15 <yangoon> cedk: where do I have to put the hack?
2009-09-04 15:16 <cedk> yangoon: yes you can try in the init
2009-09-04 15:30 -!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton
2009-09-04 15:51 <CIA-2> tekknokrat roundup * #1149/taxes not adapted from article categories to position in invoice:
2009-09-04 15:51 <CIA-2> [new] I create a article category and set a tax (VAT from SKR-03) for arcticle category. I save all my changes.
2009-09-04 15:51 <CIA-2> Then I create an article and se ...
2009-09-04 15:51 <CIA-2> http://bugs.tryton.org/roundup/issue1149
2009-09-04 15:54 <CIA-2> Timitos roundup * #1149/taxes not adapted from article categories to position in invoice: [chatting] which version of tryton are you running?
2009-09-04 15:54 <CIA-2> http://bugs.tryton.org/roundup/issue1149
2009-09-04 16:12 -!- carlos(n=carlos@17.156.221.87.dynamic.jazztel.es) has joined #tryton
2009-09-04 16:32 -!- juanfer(n=juanfer@190.144.69.234) has joined #tryton
2009-09-04 16:37 <CIA-2> Timitos roundup * #1149/taxes not adapted from article categories to position in invoice:
2009-09-04 16:37 <CIA-2> i tried it with current dev version. for me it is working with account_invoice installed and account_de_skr03.
2009-09-04 16:37 <CIA-2> which modules do you have installed?
2009-09-04 16:37 <CIA-2> http://bugs.tryton.org/roundup/issue1149
2009-09-04 16:40 <cedk> http://www.openobject.com/forum/viewtopic.php?p=42837
2009-09-04 16:40 <cedk> really strange :-)
2009-09-04 16:45 <bechamel> cedk: you know if there was a lot of modifications between 5.0.3 and 5.0.0.3 ?
2009-09-04 16:45 <cedk> bechamel: yes, they change all the report engine
2009-09-04 16:46 <cedk> bechamel: but it seems they are back to 5.0.3, when you click to download you get 5.0.3 but it is displayed in the page 5.0.0
2009-09-04 16:46 <cedk> really unprofessional
2009-09-04 16:48 <carlos> cedk: I think they had problems with the download page
2009-09-04 16:51 <cedk> carlos: yes and they still not release 5.0.4 which is tagged since 1 week
2009-09-04 16:51 <cedk> carlos: and all < 5.0.4 has a big security hole
2009-09-04 16:51 <carlos> and anyway, I think 5.0.4 was already out for a while, however, the download page never changed to 5.0.4 and your security bug was fixed but I would expect an urgent minor release with it... and nothing happened yet
2009-09-04 16:52 <carlos> cedk: oh, is 5.0.4 including your patch?
2009-09-04 16:52 <carlos> I thought it was post 5.0.4
2009-09-04 16:52 <cedk> carlos: no, but there was an other issue
2009-09-04 16:52 <carlos> ok
2009-09-04 16:52 <cedk> carlos: yes in fact all release has a security hole :-)
2009-09-04 16:52 <cedk> carlos: an < 5.0.4 has at least two :-)
2009-09-04 17:04 <gour> interesting policies in openerp...
2009-09-04 17:06 -!- tekknokrat(n=gthieleb@dslb-088-074-149-248.pools.arcor-ip.net) has joined #tryton
2009-09-04 17:14 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2009-09-04 17:15 -!- sharkcz(n=dan@plz1-v-4-17.static.adsl.vol.cz) has joined #tryton
2009-09-04 17:31 <gour> ACTION just posted (via gmane), as advised here, more about his reqs for the triton module
2009-09-04 17:32 <gour> latest trunk is installed and running under ssl...what else is required to start with the tryton? there is even full moon here :-D
2009-09-04 17:38 -!- paepke(n=paepke@Rbcf6.r.pppool.de) has joined #tryton
2009-09-04 17:40 <bechamel> gour: what else is required... for using it or for developing modules ?
2009-09-04 17:43 -!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton
2009-09-04 17:44 <gour> bechamel: well, i assume i'll need 'both'
2009-09-04 17:44 <gour> bechamel: although in the beginning 'developing' would probably mean 'customizing'
2009-09-04 17:45 <gour> when will be possible to uninstall modules?
2009-09-04 17:45 <bechamel> nothing is planned
2009-09-04 17:46 <gour> it says (beta) and greyed out
2009-09-04 17:47 <gour> bechamel: have you seen my latest post to ml?
2009-09-04 17:47 <bechamel> yes I have some comments
2009-09-04 17:48 <gour> good :-)
2009-09-04 17:51 <gour> hmm, strange thins is happening here...after disconnecting client, server dies with "Fatal Python error: ceval: tstate mix-up"
2009-09-04 17:53 <bechamel> gour: it's time for your first bug report :)
2009-09-04 17:54 <gour> btw, does the core 'res' module denote 'resources?
2009-09-04 17:54 <CIA-2> tekknokrat roundup * #1149/taxes not adapted from article categories to position in invoice:
2009-09-04 17:54 <CIA-2> version in use:
2009-09-04 17:54 <CIA-2> tryton/trytond 1.2.2
2009-09-04 17:54 <CIA-2> account_de_skr03 1.2.0
2009-09-04 17:54 <CIA-2> account_invoice 1.2.2
2009-09-04 17:54 <CIA-2> account 1.2.2
2009-09-04 17:54 <CIA-2> http://bugs.tryton.org/roundup/issue1149
2009-09-04 17:54 -!- paepke(n=paepke@Rbcf6.r.pppool.de) has joined #tryton
2009-09-04 17:54 <gour> bechamel: let me make it reproducible
2009-09-04 17:55 <bechamel> gour: i'm not sure for 'res' it comes from openerp who took it (iirc) from compiere
2009-09-04 17:56 <gour> bechamel: ahh, the whole disciplic succession :-)
2009-09-04 17:56 <gour> bechamel: what about ir?
2009-09-04 17:56 <bechamel> same anwser :)
2009-09-04 17:57 <bechamel> except that ir means "interface repository"
2009-09-04 17:58 <gour> ok. let us at least have some orientation :-)
2009-09-04 17:59 <bechamel> ir contains more low-level/meta models while res contains models for real-life/business concepts
2009-09-04 18:01 <gour> wouldn't be better to have more meaningful names for the modules?
2009-09-04 18:03 <gour> at least, this is common situation in python...
2009-09-04 18:03 <bechamel> yes maybe, but it would be a big work to change them
2009-09-04 18:04 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2009-09-04 18:05 <gour> bechamel: smart DVCS (like darcs ) can handle renames, not sure about hg
2009-09-04 18:07 <bechamel> the problem is not about the dvcs, it is about modifing a lot of other modules (the module name is used to prefix the models when one want to refer them) and moreover migrating all tables for db that where created before the modification
2009-09-04 18:09 <CIA-2> tekknokrat roundup * #1149/taxes not adapted from article categories to position in invoice:
2009-09-04 18:09 <CIA-2> [invalid] Hi Timitos,
2009-09-04 18:09 <CIA-2> I did a new database from scratch and it works now with article categories. Will investigate with old database when I get ...
2009-09-04 18:09 <CIA-2> http://bugs.tryton.org/roundup/issue1149
2009-09-04 18:10 <bechamel> gour: and this is because we provide automated migration of db from version to version
2009-09-04 18:10 <gour> well, there are not so many tryton modules atm, and renaming can be done via dvcs' renaming...though the problem is with db tables
2009-09-04 18:21 <Timitos> cedk: it would be great if you could give me a short overview about your ideas regarding to the goal: Allow to use email in place of request
2009-09-04 18:22 <Timitos> i will start some concept for this
2009-09-04 18:25 <cedk> Timitos: I did not think a lot about it
2009-09-04 18:26 <cedk> but the idea is that users are not always on Tryton so if they receive request they don't see it
2009-09-04 18:27 <cedk> but most of people check frequently their email, so the idea is to be able to process email like the request
2009-09-04 18:29 <paepke> cedk: just 2 cents. what about a small netrpc client laying in the taskbar?
2009-09-04 18:29 <Timitos> cedk: ok. so the user should be able to receive an email with the content of the request and he should be able to answer to the request and perhaps to close it
2009-09-04 18:30 <cedk> Timitos: yes, and it must not see it as a request next time he logins
2009-09-04 18:30 <Timitos> cedk: ok
2009-09-04 18:31 <cedk> paepke: I think it is creating a new stuff for a old problem solved by emails
2009-09-04 18:32 <Timitos> cedk: it also should be possible to create new requests by an email
2009-09-04 18:32 <cedk> Timitos: why not
2009-09-04 18:34 <Timitos> cedk: it looks like an email-client with some tryton extra stuff
2009-09-04 18:34 <cedk> Timitos: don't understand
2009-09-04 18:36 <paepke> emails are in my oppinion not a solution. a lot of people get nowadays annoyed from emails. especially some administrator when they have to backup or archive emails.
2009-09-04 18:36 <paepke> its good to have such a feature. but for me its only for marketing.
2009-09-04 18:37 <Timitos> cedk: we need functions to send and receive emails. when emails are received the content should maybe cause some action in tryton
2009-09-04 18:37 <cedk> Timitos: yes
2009-09-04 18:39 <Timitos> cedk: requests are only internal for user to user communication. should i think of extending it for user to party communication later?
2009-09-04 18:41 <cedk> Timitos: I don't know, maybe
2009-09-04 18:41 <paepke> i can see requests also as an request from the system to the user. like "safety stock" of article "loo roll" undershot
2009-09-04 18:41 <Timitos> paepke: yes. this is also possible
2009-09-04 18:42 <Timitos> cedk: ok. so thx for your info. i will think about
2009-09-04 18:43 <Timitos> cedk: i don't think that i will succeed in doing it for 1.4 but i will work on it.
2009-09-04 18:44 <udono> Timitos: cedk: what about a complete IMAP or POP3 and smtp referring service which tryton could provide. Upon this we can make some transparent modifications to email-header and evaluate them. It could be possible to store emails depending to projects/parties/... or to archive all incomming emails.
2009-09-04 18:46 <cedk> udono: good idea, do you know if there is some python imap library for server?
2009-09-04 18:48 <paepke> cedk, udono: twisted.mail
2009-09-04 18:49 <bechamel> there is http://lamsonproject.org/ which is an "email server framework"
2009-09-04 18:49 <paepke> cedk, udono: it has all you need. just implement the netrpc backend
2009-09-04 18:51 <paepke> bechamel: afaik lamson is "only" the smtp-part
2009-09-04 18:51 <Timitos> paepke: thx. i will look at it
2009-09-04 18:52 <bechamel> paepke: yes you are right
2009-09-04 18:52 <cedk> paepke: twisted is an other framework which is perhaps too much for our needs
2009-09-04 18:52 <udono> paepke: Twisted is oversized I think, and afaik hard to tweak.
2009-09-04 18:53 <paepke> cedk, udono: you asked for a project to look at :-)
2009-09-04 18:53 <cedk> udono, Timitos, paepke: any way, if there is no good module for imap server, I think it is not complicated to write one
2009-09-04 18:53 <udono> There is smtplib and imaplib in python self.
2009-09-04 18:53 <cedk> imap is simple text command
2009-09-04 18:54 <cedk> udono: client only
2009-09-04 18:54 <udono> cedk: ouch, sorry, didn't recognize
2009-09-04 18:55 <udono> on the other hand with twisted we can reduce dependencies with the other protocolls Tryton use...
2009-09-04 18:56 <udono> and twisted is a highly developed project
2009-09-04 18:56 <udono> ...means active developed...
2009-09-04 18:58 <Timitos> cedk: @all: i think this is an important discussion for future. the topic i see is that it could be interesting to store email communication in a way in which it could be easily related with records in tryton.
2009-09-04 18:59 <cedk> udono: I find always bad to add framework over framework
2009-09-04 18:59 <paepke> cedk, udono: maybe twisted and tryton can earn from each other from such a project
2009-09-04 18:59 <Timitos> i don't know if it is really needed to store the emails in tryton or to do the communication in tryton. but its hard for me to see a good alternative. does anybody have some ideas about this?
2009-09-04 18:59 <cedk> Timitos: I find the imap service pretty good, I know there is also a WebDAV protocol for email but it is not very much used
2009-09-04 19:01 <Timitos> cedk: this would mean that emails are stored in tryton and should be available for email-clients by IMAP?
2009-09-04 19:01 <cedk> paepke: I don't know enought Twisted to see if it is a good option or not
2009-09-04 19:01 <paepke> Timitos: ack with the "do the communication". you have to write or at least answer mails.
2009-09-04 19:01 <cedk> Timitos: yes
2009-09-04 19:02 <cedk> paepke: what is the backend of Twisted?
2009-09-04 19:02 <Timitos> cedk: ok. so this should be the vision i need to know when i am starting with this topic
2009-09-04 19:03 <paepke> all: what about accessing emails from an email-archive through an interface? every message has an unique message id. or at least should as per RFC
2009-09-04 19:03 <cedk> Timitos: this was not what I thought when writen the TODO list, but it is better
2009-09-04 19:03 <Timitos> cedk: :-)
2009-09-04 19:04 <cedk> ACTION think why didn't think about imap
2009-09-04 19:04 <udono> other point is to create a base structure for mail like informations, to catch asap google waves
2009-09-04 19:05 <paepke> cedk: backend? its pure python and it implements severel services you can tweak. like webserver, imap or something like that. i used it to write an tftp-server
2009-09-04 19:05 -!- enlightx(n=enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2009-09-04 19:05 <paepke> cedk: is has just some things already done. you have to write the backend for yourself.
2009-09-04 19:06 <paepke> udono: yeah, google wave were a cool addon for tryton
2009-09-04 19:07 <cedk> paepke: ok so it sounds good to me
2009-09-04 19:08 <cedk> args, Twisted is MIT license
2009-09-04 19:10 <cedk> ok, it seems that MIT is compatible with GPL
2009-09-04 19:10 <paepke> oh sorry, i don't mention
2009-09-04 19:11 <cedk> Timitos: I think Twisted must be investigated for this purpose
2009-09-04 19:11 <Timitos> cedk: yes. sure
2009-09-04 19:12 <Timitos> cedk: http://twistedmatrix.com/documents/current/api/twisted.mail.imap4.html ;-)
2009-09-04 19:14 <udono> cedk: what about multi threading and the mail-server feature?
2009-09-04 19:16 <cedk> udono: I don't understand
2009-09-04 19:18 -!- _TiN_(n=TiN@155-191-16-190.fibertel.com.ar) has joined #tryton
2009-09-04 19:21 <paepke> udono: i don't understand it too
2009-09-04 19:32 <udono> cedk: paepke: many parts needed to be threading aware, did the email server part, too?
2009-09-04 19:36 <paepke> udono: maybe this helps: http://twistedmatrix.com/projects/core/documentation/howto/threading.html
2009-09-04 19:37 <cedk> udono: I don't know if Twisted if threaded, but it is event-driven which is a different approach then Tryton but I don't think it is a problem (not threaded)
2009-09-04 19:37 <cedk> udono: if it is fast enought
2009-09-04 19:40 <paepke> what about running it as additional process?
2009-09-04 19:41 <cedk> paepke: yes it is what I thought
2009-09-04 19:41 <cedk> paepke: with netrpc calls
2009-09-04 19:42 <paepke> cedk: me too
2009-09-04 19:48 <carlos> Hi, I think I'm late to this discussion
2009-09-04 19:48 <carlos> so, do you want to add an IMAP server to Tryton?
2009-09-04 19:48 <carlos> or a client?
2009-09-04 19:50 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton
2009-09-04 19:50 <paepke> carlos: imap server.
2009-09-04 19:51 <carlos> Isn't that too much for the needs we have?
2009-09-04 19:51 <carlos> I think something like the OpenErp's mail gateway would be enough
2009-09-04 19:52 <paepke> for example having a crm-module its not. you have to track the mails you write.
2009-09-04 19:52 <cedk> carlos: it will brings the same functionnality but will work with any email client
2009-09-04 19:52 <cedk> carlos: IMAP is a standard protocol
2009-09-04 19:53 <carlos> ok, let me understand it a bit more...
2009-09-04 19:53 <cedk> carlos: it is like using CalDAV for calendar, CardDAV for contact and so on
2009-09-04 19:53 <carlos> will I need to configure my email client to connect to Tryton
2009-09-04 19:53 <cedk> carlos: yes
2009-09-04 19:53 <carlos> in addition to my regular email account?
2009-09-04 19:53 <cedk> carlos: yes
2009-09-04 19:54 <carlos> Why not sending the email directly? what we win other than introduce more complexity in the server ? (I just try to understand it a bit better)
2009-09-04 19:54 <cedk> carlos: you send email directly
2009-09-04 19:54 <cedk> carlos: sending email is SMTP
2009-09-04 19:55 <cedk> ok, I know it is possible to send email via IMAP, but I don't think we need this
2009-09-04 19:55 <carlos> so the IMAP Server is just to access the Tryton's copy?
2009-09-04 19:55 <carlos> copy or archive
2009-09-04 19:56 <paepke> cedk: you could also put an email via the imap-protocol on the server. so only the emails that are tryton-relevant will go into the system. as addition to a normal mailserver
2009-09-04 19:56 <paepke> cedk: yes, you got it. had already typed...
2009-09-04 19:56 <cedk> carlos: yes
2009-09-04 19:56 <carlos> cedk: I understand it now, thanks
2009-09-04 19:57 <cedk> carlos: and you could also imagine to have read access to others imap mailboxes
2009-09-04 19:57 <carlos> so I guess we will also have a client or a way to inject emails inside Tryton
2009-09-04 19:57 <cedk> carlos: and even, having the same email showed in different mailboxes
2009-09-04 19:57 <cedk> carlos: the email client can already copy email into imap folders
2009-09-04 19:58 <carlos> cedk: I know, but If I want to send a new request, isn't more natural to send it by email?
2009-09-04 19:59 <cedk> I think that when you start using standard protocol and world of possibilities opens to you, look what we had with the WebDAV
2009-09-04 19:59 <carlos> cedk: copy it to an IMAP folder is also valid, but is not what people is used to ;-) so that's why I find it kind of surprising, I'm not saying it's a bad idea
2009-09-04 19:59 <carlos> cedk: indeed
2009-09-04 19:59 <cedk> If we had keep the OpenERP way (ftp), we will not had CalDAV, CardDAV and so on. And we will need to implement plugins for email clients to get contacts
2009-09-04 20:00 <cedk> or now with one module, we can have contact in every major email client
2009-09-04 20:01 <cedk> carlos: it could be also a script on SMTP server that forward a copy of email to Tryton
2009-09-04 20:01 <carlos> cedk: If Tryton dropped webdav for FTP, I would be crying a lot
2009-09-04 20:01 <cedk> :-)
2009-09-04 20:01 <cedk> bbl
2009-09-04 20:06 <paepke> carlos: copy mails via imap is common for most people. its like sorting your mails in subfolders.
2009-09-04 20:18 <carlos> paepke: sure, I do it a lot
2009-09-04 20:18 <carlos> but not to 'send' an email to other user
2009-09-04 20:27 <CIA-2> paepke roundup * #1150/bad error when try to select non existing db:
2009-09-04 20:27 <CIA-2> [new] running:
2009-09-04 20:27 <CIA-2> ./trytond -i some_module -d blubb
2009-09-04 20:27 <CIA-2> [Fri Sep 04 20:24:54 2009] INFO:database:connect to "blubb"
2009-09-04 20:27 <CIA-2> Traceback (most recent call last ...
2009-09-04 20:27 <CIA-2> http://bugs.tryton.org/roundup/issue1150
2009-09-04 20:35 <gour> ACTION hopes some of Tryton devs uses Gnus, Claws-mail and other 'non-corporate' mail-clients :-D
2009-09-04 20:40 <paepke> gour: for sure
2009-09-04 20:42 <gour> paepke: good, then we (hopefully) won't be left in the air ;)
2009-09-04 20:45 <carlos> gour: We are using standard protocols in Tryton so I don't think it may happen, unless you get a real basic client with poor support for standard protocols ;-)
2009-09-04 20:48 <gour> carlos: i'm mostly using gnus via nnimap (accessing dovecot running on localhost)
2009-09-04 21:06 <vengfulsquirrel> cedk: Have there been any changes to trunk that require modifying the database in the last few weeks?
2009-09-04 21:31 <gour> hi, in order to advance further in exploring tryton, i'm curios where does development for tryton differs significantly from the openrp one (i'm asking 'cause i browse openerp's docs) ?
2009-09-04 21:46 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2009-09-04 21:54 -!- carlos(n=carlos@17.156.221.87.dynamic.jazztel.es) has joined #tryton
2009-09-04 21:56 <gour> is there support for Workflow in tryton?
2009-09-04 21:56 <Timitos> gour: yes
2009-09-04 21:56 -!- vengfulsquirrel(n=ian@c-69-181-194-95.hsd1.ca.comcast.net) has joined #tryton
2009-09-04 21:57 <Timitos> gour: the development of reports is quite different from openerp as they are done with openoffice tempaltes and not with rml
2009-09-04 21:58 <gour> Timitos: i'm not so far (reports), but reading basic about module development in openerp's doc...and workflow is just mentioned
2009-09-04 21:59 <gour> i just wonder how to wrap one's head to create views by writing xml :-/
2009-09-04 22:03 <Timitos> gour: i am not sure if reading openerp's docs is necessary.
2009-09-04 22:03 <gour> Timitos: you have started developing right with the tryton?
2009-09-04 22:04 <Timitos> gour: no. some time before i started with tinyerp and switched to tryton when the fork was done
2009-09-04 22:05 <vengfulsquirrel> gour: Did you develop in openerp before?
2009-09-04 22:05 <gour> heh, i didn't even touch openerp...have to become somewhat familiar with it...
2009-09-04 22:05 <gour> vengfulsquirrel: nope
2009-09-04 22:05 <gour> helloworls on wiki is the only doc for starting and that one could be improved
2009-09-04 22:06 <gour> *helloworld
2009-09-04 22:06 <vengfulsquirrel> I never used openerp as well.
2009-09-04 22:06 <gour> any other erp?
2009-09-04 22:06 <vengfulsquirrel> No
2009-09-04 22:07 <Timitos> gour: i haven't looked at openerps docs. what are you missing on trytons documentation?
2009-09-04 22:07 <Timitos> so maybe we can improve it together
2009-09-04 22:07 <paepke> i was currently looking at some poor man optimation when running trytond. psyco is not an option for amd64 platform. why isn't just "python -O trytond" working on python2.5?
2009-09-04 22:08 <paepke> on my 2.6 it looks like its working. but have to investigate it
2009-09-04 22:09 <vengfulsquirrel> gour: The openerp docs could actually introduce inconsistencies since the fork has been going for a while. I would just start by trying to setup a dev environment with the tryton-dev.sh script and then creating the hello world module. Then you can get a better field for how the other tryton modules work and start copying patterns out of them for your own project. That's my opinion though maybe someone else has a better strategy
2009-09-04 22:09 <gour> Timitos: explaining more about the concepts...what does it mean "The RNG that describes the xml for a form view is stored in trytond/ir/ui/form.rng. There is also a RNC in trytond/ir/ui/form.rnc."
2009-09-04 22:11 <gour> vengfulsquirrel: i agree that's one methodology...it would be nice to explain if the helloworld can be developed in several steps and what one is supposed to get after each one
2009-09-04 22:12 <vengfulsquirrel> gour: I think it is in steps but you mean like a screen shot after each step?
2009-09-04 22:13 <gour> Timitos: the present docs are maybe good as reference...
2009-09-04 22:13 <Timitos> gour: the rnc and rng define the allowed structure of the xml files.
2009-09-04 22:13 <yangoon> vengfulsquirrel hi
2009-09-04 22:13 <yangoon> vengfulsquirrel: what about http://codereview.appspot.com/95068
2009-09-04 22:13 <Timitos> gour: yes. maybe the getting started part should be a little bit more
2009-09-04 22:13 <gour> vengfulsquirrel: yeah, something like that...i'm not even sure when one step is ending and the next one beginning
2009-09-04 22:14 <vengfulsquirrel> yangoon: Hello, sorry I started that reports doc but I have not finished it and I got side tracked
2009-09-04 22:14 <gour> Timitos: maybe i'm dumb, but i did not do any xml stuff for long time...it took some time to find out we are speaking about Relax :-)
2009-09-04 22:14 <yangoon> vengfulsquirrel: but it seems rather good in progress
2009-09-04 22:15 <yangoon> vengfulsquirrel: so isn't it worth a patch soon?
2009-09-04 22:15 <gour> Timitos: moreover, you're are aware that wizard, report, workflow are empty :-)
2009-09-04 22:16 <vengfulsquirrel> yangoon: I started a ticket for it a while ago and no one read it, but I didn't really push it, I need to remake the patch for the latest trunk and close it up.
2009-09-04 22:16 <yangoon> vengfulsquirrel: great, thx
2009-09-04 22:17 <Timitos> gour: yes :-) we are still a small group and many of us still work on local integration or our own solutions. so maybe this is the reason for the missing docs
2009-09-04 22:17 <gour> Timitos: where one can find explanation for the meanings of the field's parameters?
2009-09-04 22:18 <gour> Timitos: i understand, but consider openrp docs may be helpful to get started
2009-09-04 22:18 <Timitos> http://doc.tryton.org/1.0/trytond/doc/models.html for the fields
2009-09-04 22:18 <yangoon> vengfulsquirrel: same for http://codereview.appspot.com/96152, great to have it
2009-09-04 22:19 <gour> Timitos: how to decipher what is what here - class trytond.model.fields.Integer(string='', help='', required=False, readonly=False, domain=None, states=None, priority=0, change_default=False, translate=False, select=0, on_change=None, on_change_with=None, depends=None, order_field=None, context=None) ?
2009-09-04 22:19 <yangoon> vengfulsquirrel: if you like bechamel or cedk to review it, just set them as reviewers
2009-09-04 22:19 <gour> Timitos: i just says "Define an integer field (int)"
2009-09-04 22:20 <gour> i am aware of the similar situation in haskell community - great language, but many libs have horrible or none docs
2009-09-04 22:20 <Timitos> gour: http://doc.tryton.org/1.0/trytond/doc/models.html#fields-options
2009-09-04 22:21 <gour> Timitos: thank you for that
2009-09-04 22:21 <Timitos> gour: you are welcome
2009-09-04 22:22 <vengfulsquirrel> Explaination of on_change, on_change_with: -- https://bugs.tryton.org/roundup/issue1118 , Reports -- https://bugs.tryton.org/roundup/issue1117
2009-09-04 22:22 <gour> Timitos: in the openerp docs i was reading some about layout of the screen, but i'm not sure i got it, while in tryton docs there is nothing about it
2009-09-04 22:23 <vengfulsquirrel> gour: http://doc.tryton.org/1.2/trytond/doc/views.html ?
2009-09-04 22:23 <vengfulsquirrel> That you mean ?
2009-09-04 22:24 <gour> i'm thinking about http://doc.openerp.com/developer/2_6_views_events/views/form_view.html
2009-09-04 22:24 -!- FWiesing(n=FWiesing@194-208-185-012.tele.net) has joined #tryton
2009-09-04 22:25 <gour> e.g. meaning of "The screen composed of a table with a fixed number of columns and enough rows to handle all elements." & "Elements take one or more columns when they are put in the table. If there is not enough free columns on the current row, the elements is put at the begin of the next row."
2009-09-04 22:25 <vengfulsquirrel> Yeah I think it was an active choice to not include screen shots in the docs because they would be so hard to maintain.
2009-09-04 22:25 <CIA-2> matb roundup * #1118/Doc: Explaination of on_change, on_change_with and default for fields.: [chatting] Ping: could one of the maintainers please review, so we can get this in for 1.4? Thx
2009-09-04 22:25 <CIA-2> http://bugs.tryton.org/roundup/issue1118
2009-09-04 22:26 <CIA-2> matb roundup * #1117/Report Documentation: [chatting] Ping: could one of the maintainers please review, so we can get this in for 1.4? Thx
2009-09-04 22:26 <CIA-2> http://bugs.tryton.org/roundup/issue1117
2009-09-04 22:26 <gour> what does it mean "If there is not enough free columns " ?
2009-09-04 22:26 <vengfulsquirrel> yangoon: Hey those are the patches against the latest trunk a month ago though, does that matter for now ?
2009-09-04 22:26 <gour> vengfulsquirrel: having some separate tutorial could serve the purpose?
2009-09-04 22:27 <yangoon> vengfulsquirrel: I don't think, that docs have changed very much...
2009-09-04 22:27 <vengfulsquirrel> gour: Yes I think that is the purpose of helloworld, I think its just in the infant stages though right now.
2009-09-04 22:27 <gour> openerp says "Every screen is divided into 4 columns, each column being able to contain either a label, or an “edition” field." is it rue in tryton as well?
2009-09-04 22:28 <gour> vengfulsquirrel: hello world requires some clean language at first...although i admire attempt from non-native speaker to provide it
2009-09-04 22:28 <Timitos> gour: yes. but you can also define a custom number of columns
2009-09-04 22:28 <Timitos> gour: default is 4 columns
2009-09-04 22:28 <gour> Timitos: how or from where to learn such things?
2009-09-04 22:29 <gour> haskell got a quite number of people after 'real world haskell' book...so docs is important for recruiting new people to the community...except if tryton is not supposed to live only on refugees :-D
2009-09-04 22:29 <Timitos> gour: everything i learned about tryton i learned by try and error or by asking. i started my first module very soon and without many knowledge. it worked for me
2009-09-04 22:31 <gour> Timitos: i believe it worked for YOU. but, believe me, there are people accustomed to different methodologies while learning new stuff
2009-09-04 22:31 <vengfulsquirrel> gour: I don't think we are arguing with you that the docs don't need work. We are working on it, its just slow. I do think that the empty sections should have higher priority though. Then the details you speak of should come second.
2009-09-04 22:32 <gour> Timitos: for trial & error one must have enough time to experiment...
2009-09-04 22:33 <yangoon> gour: I also started with tryton, don't know code from openerp
2009-09-04 22:33 <gour> vengfulsquirrel: i do not have feeling there is heavy argumentation here...i'm just expressing my views from my personal experience about the lack of proper docs to make learning curve less steep
2009-09-04 22:33 <Timitos> gour: with a little help from us here you get your first module run in about a day i think. with every little new one you will learn more.
2009-09-04 22:34 <gour> and, btw, this is confirmed to me by tryton dev here ;)
2009-09-04 22:34 <yangoon> gour reading the code is the best thing to get started
2009-09-04 22:34 <gour> Timitos: ok, let me express it this way: i'm more top to bottom guy, and you're advising me about the bottom to top approach :-D
2009-09-04 22:35 <yangoon> gour e.g. a simple module like party
2009-09-04 22:35 <gour> ACTION needs to understand more about general picture before putting individual bricks together, and i'm sure i'm not the only one
2009-09-04 22:36 <Timitos> gour: no. for me reading the code is top-down-method for tryton ;-) because you will not be faced with rng and rnc and such things.
2009-09-04 22:36 <gour> heh, maybe i should shout: improve the docs or i'm going back to openerp!
2009-09-04 22:36 <gour> :)
2009-09-04 22:36 <yangoon> gour that won't help you :D
2009-09-04 22:37 <Timitos> gour: this is you decision. we only can provide you what we have :-)
2009-09-04 22:38 <gour> with all of you guys, book publishers will soon go all in bankrupt
2009-09-04 22:38 <yangoon> gour we all would like to have a good extensive documentation, but we all have to do our jobs: it is a matter of time and priorities
2009-09-04 22:39 <vengfulsquirrel> Who started this hello world tutorial ?
2009-09-04 22:39 <yangoon> ACTION has to leave now, gn8 to all
2009-09-04 22:39 <Timitos> vengfulsquirrel: i think it was woakas
2009-09-04 22:39 <vengfulsquirrel> yangoon: gn
2009-09-04 22:39 <Timitos> yangoon: cu
2009-09-04 22:39 <paepke> yangoon: cu
2009-09-04 22:39 <gour> g'night
2009-09-04 22:40 <vengfulsquirrel> I was just curious why they named the module helloWorld and not helloworld.
2009-09-04 22:40 <gour> the problem is that for all of you docs is not needed, and therefore you cannot be good-enough in estimating its importance :-)
2009-09-04 22:41 <vengfulsquirrel> I wish that was True for me.
2009-09-04 22:41 <woakas> vengfulsquirrel: no exist a reason
2009-09-04 22:42 <gour> just like when phd haskellers talking about catamorphisms & monad transformers have to explain basic principle to the noob
2009-09-04 22:43 <woakas> vengfulsquirrel: if you want to change this well
2009-09-04 22:46 <vengfulsquirrel> woakas: Can I change it to just hello? I think it might be confusing since there is no uppercase in the other modules and I don't know if 'hello.hello' will work.
2009-09-04 22:47 <vengfulsquirrel> Oh actually I guess it wouldn't matter, but it seems confusing to me.
2009-09-04 22:47 <carlos> vengfulsquirrel: hello.hello as the directory name is not a good python name (I'm not sure even if it's valid...)
2009-09-04 22:47 <carlos> vengfulsquirrel: for consistency with the other Tryton modules, it should be hello_world IMHO
2009-09-04 22:47 <vengfulsquirrel> carlos: No that is the Model's name, the directory name is helloWorld, I propose to change it to just hello. So the model hello.hello will reside in /hello/hello.py.
2009-09-04 22:48 <carlos> vengfulsquirrel: yeah, the name may be hello.hello, just like party's one is party.party
2009-09-04 22:48 <vengfulsquirrel> carlos: Except for the other modules <name0>_<name1> usually implies an extension of the a module named name0.
2009-09-04 22:48 <vengfulsquirrel> carlos: So I think either hello or helloworld.
2009-09-04 22:48 <vengfulsquirrel> Sorry if I'm nit picking.
2009-09-04 22:49 <Timitos> vengfulsquirrel: yes. if the model is called hello.hello the module should be called only hello. this would be correct for the guidelines. but i already learn that it is hard sometimes to find a good name for a module
2009-09-04 22:50 <Timitos> @all: good n8. cu
2009-09-04 22:50 <carlos> vengfulsquirrel: hmm google_maps and google_translate is not following your rule ;-)
2009-09-04 22:50 -!- enlightx(n=enlightx@host-78-13-114-247.cust-adsl.tiscali.it) has joined #tryton
2009-09-04 22:50 -!- jerojasro(n=jerojasr@190.144.69.234) has joined #tryton
2009-09-04 22:50 <carlos> vengfulsquirrel: so hello_world would be just like those
2009-09-04 22:50 <paepke> Timitos: n8
2009-09-04 22:51 <vengfulsquirrel> Timitos: Yes I know, well I'll think about name change but I'm going to fix some words this wiki document was a good idea.
2009-09-04 22:51 <gour> Timitos: 'night
2009-09-04 22:51 <vengfulsquirrel> carlos: Ha the tragedy!
2009-09-04 22:52 <gour> who can edit the wiki?
2009-09-04 22:52 <vengfulsquirrel> I can edit the wiki, I think, maybe it depends on the page.
2009-09-04 22:53 <carlos> vengfulsquirrel: I think the permission is global
2009-09-04 22:53 <carlos> gour: If you have any interesting contribution, you can request access to it
2009-09-04 22:53 <carlos> cedk or bechamel should be able to give you such access
2009-09-04 22:53 <gour> carlos: not yet, my contribution would consist of questions only :-D
2009-09-04 22:54 <carlos> gour: then, start with a roundup account ;-)
2009-09-04 22:54 <gour> btw, people who are commenting openerp's docs are burnt as well ;)
2009-09-04 22:54 -!- _TiN_(n=TiN@155-191-16-190.fibertel.com.ar) has joined #tryton
2009-09-04 22:54 <gour> carlos: submitting tickets as RFE in docs?
2009-09-04 22:56 <carlos> gour: I don't know what others may think, but I think it may be quite useful to know the areas we should document/improve
2009-09-04 22:57 <gour> carlos: ok. let me think about it.
2009-09-04 22:58 <gour> now i'm going to sleep...if you have some suggestion to my query-post in ml, pls. respond ;)
2009-09-04 22:58 <gour> g'night
2009-09-04 22:58 <carlos> night
2009-09-04 22:58 <paepke> gour: night
2009-09-04 23:26 <paepke> n8
2009-09-04 23:26 <vengfulsquirrel> gn
2009-09-04 23:26 <udono> see you
2009-09-04 23:32 <vengfulsquirrel> woakas: Do you have a minute to discuss views? I'm just trying to proofread this tutorial and I had some questions.
2009-09-04 23:33 <woakas> vengfulsquirrel: yes, tell me
2009-09-04 23:35 <vengfulsquirrel> For this part in the second step, '''Add the event for the menu Hello World is important to consider the id ''', do you know why it is necessary to include the model in the xml?
2009-09-04 23:35 <vengfulsquirrel> http://code.google.com/p/tryton/wiki/HelloWorld
2009-09-04 23:37 <vengfulsquirrel> Tell me if this is what is happening: We create an event(hello_view_tree), then we connect that event to the tree view(act_hello_form_view1) and form view( act_hello_form_view2) and then we connect the menu item to that event, so now the user double clicks the menu item and it opens the tree view, and if they switch it opens the form view.
2009-09-04 23:39 <vengfulsquirrel> woakas: ^, sorry I always forget to label
2009-09-04 23:40 <udono> vengfulsquirrel: nearby
2009-09-04 23:41 <vengfulsquirrel> ?
2009-09-04 23:41 <vengfulsquirrel> nearly?
2009-09-04 23:43 <udono> vengfulsquirrel: act_hello_form_view1 and 2 are connected to hello_view_tree and hello_view_form. The sequence says which view will be shown at first, when you call the action act_hello_world_form.
2009-09-04 23:43 <vengfulsquirrel> Yes, so tree will be shown first.
2009-09-04 23:43 <vengfulsquirrel> I guess the confusing part is why is the event of type form?
2009-09-04 23:43 <udono> yes
2009-09-04 23:44 <vengfulsquirrel> The event is type form but its showing a tree(which is really a list).
2009-09-04 23:45 <woakas> vengfulsquirrel: this is a view form, view http://doc.tryton.org/1.2/trytond/doc/views.html
2009-09-04 23:45 <udono> vengfulsquirrel: yes, there are some problems with the namings. They all come from tinyerp.
2009-09-04 23:46 <udono> vengfulsquirrel: not problems, but ambigurities
2009-09-04 23:46 <vengfulsquirrel> I guess my question is why does the event have a type and why is it associated with the model it seems that it does not need that information, is that wrong ?
2009-09-04 23:47 <vengfulsquirrel> I understand that the form's view needs that information but wouldn't associated the form's view to the event give the event that information ?
2009-09-04 23:48 <udono> vengfulsquirrel: no, you are wrong
2009-09-04 23:49 <udono> vengfulsquirrel: this 'form' is another 'form' then on type attribute in ir.ui.view definitions
2009-09-04 23:50 <udono> vengfulsquirrel: see in /tryton/tryton/gui/window/
2009-09-04 23:51 <udono> vengfulsquirrel: the mentioned view_type could be 'tree' or 'board' or 'form'
2009-09-04 23:52 <vengfulsquirrel> Is tree like the product inventory by location view?
2009-09-04 23:53 <udono> vengfulsquirrel: grep -R "name=\"view_type\">tree" *
2009-09-04 23:53 <vengfulsquirrel> http://paste.pocoo.org/show/138086/
2009-09-04 23:53 <vengfulsquirrel> So I guess yes
2009-09-04 23:54 <udono> yes
2009-09-04 23:54 <vengfulsquirrel> I think you or someone tried to explain that to me in the past.
2009-09-04 23:54 <vengfulsquirrel> The different between a tree view and a tree action.
2009-09-04 23:54 <vengfulsquirrel> *difference
2009-09-04 23:55 <udono> vengfulsquirrel: yes, remember http://paste.pocoo.org/show/129203/
2009-09-04 23:56 <udono> vengfulsquirrel: but I need to go sleep. Good night, see you.
2009-09-04 23:57 <vengfulsquirrel> Thanks, udono, talk to you later.

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