IRC logs of #tryton for Wednesday, 2009-09-02 #tryton log beginning Wed Sep 2 00:00:02 CEST 2009
vengfulsquirrelcedk: Okay thanks, I think its off the trunk from a few weeks ago.00:06
cedkvengfulsquirrel: so in trunk, no need of new browse except if you read function field that are localy cached00:08
vengfulsquirrelHmm right but that is only if another thread has written something right ?00:10
cedkvengfulsquirrel: no, it doesn't depend on thread00:10
cedkvengfulsquirrel: we are in a serialized transaction00:11
vengfulsquirrelOh write doesn't update the local cache then?00:11
cedkvengfulsquirrel: yes, but local cache is only for function field00:13
vengfulsquirrelYeah I think I'm using inventory_moves though on the customer packing with is a function field.00:13
vengfulsquirrelSo then if I did move_obj.write on one of those and then call inventory_moves again the change would not be there.00:13
cedkvengfulsquirrel: it depends of the code00:14
vengfulsquirrelOkay well I'll just keep an eye out for function fields then, thanks.00:16
cedkvengfulsquirrel: but in case of doubt, you should make a new browse, you will not be penalized because the cursor cache will work00:17
CIA-2C?dric Krier <> default * 352:f7a48fd3e218 website/ (6 files in 5 dirs): Add Arch Linux on downloads00:25
-!- irclog( has joined #tryton02:56
-!- juanfer(n=juanfer@ has joined #tryton04:58
-!- yangoon( has joined #tryton05:19
-!- vengfulsquirrel1(n=ian@ has joined #tryton05:32
-!- vengfulsquirrel( has joined #tryton06:51
-!- Timitos(n=timitos@ has joined #tryton07:18
-!- sharkcz( has joined #tryton07:53
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton07:58
-!- enlightx( has joined #tryton08:17
-!- paepke( has joined #tryton08:26
-!- bechamel( has joined #tryton09:18
-!- paepke( has joined #tryton10:04
-!- gour(n=user@ has joined #tryton10:29
-!- gour(n=gour@ has joined #tryton10:45
-!- a_murich( has joined #tryton11:02 * r728 /wiki/ Created wiki page through web user interface.11:04 * r729 /wiki/ Edited wiki page through web user interface.11:04 * r730 /wiki/ Adding link to AddingPythonToWindowsPath11:04 * r731 /wiki/ added another method11:04 * r732 /wiki/ fixed typo11:04 * r733 /wiki/ fixed typo11:04
-!- gour(n=gour@ has joined #tryton11:09
cedkgour: I added Arch Linux to
gourcedk: and i uploaded all the trytond modules from 1.2 serie ;)11:13
cedkgour: great11:15
gouri wonder if bechamel took a look at medical and how easy/difficult would be to port it...11:15
bechamelgour: yes i had a look11:16
bechamelgour: there are very little logic in the module, it only define clases and relations11:17
bechamelgour: but i discovred some weirdness, so i think a port would deserve a new analysis to improve it11:18
cedkgour: I'm wondering if the trytond package must not create trytond user in postgresql11:20
cedkgour: like I did in
gourcedk: heh, for now i just used note in
gourACTION notices that gentoo developed some new infrastructure since he was using it...11:24
gourbechamel: well, for our needs much simpler EMR would suffice, but i can try with medical and then stripping it off11:25
bechamelgour: yes this medical module seems to target hospitals11:27
gourbechamel: although, to be frank, for tracking clients in homeopathy/counselling, i consider that even CRM could be appropriate11:27
gourwe need to keep some general data along with the tree-history of treatments, something along
CIA-2Bertrand Chenal <> default * 6:8efc4c6c9bb0 calendar_todo/ ( Added cache for todo on webdav11:31
CIA-2Bertrand Chenal <> default * 7:a0bf57463567 calendar_todo/ ( tests/ tests/ Added tests11:31
CIA-2Bertrand Chenal <> default * 8:4b6d07029a63 calendar_todo/ merge11:31
gourhowever, i (strongly) believe that Tryton is THE appropriate platform to do it with less work than tinkering with GNUmed's wxpython11:31
bechamelgour: gnumed is client-server ?11:32
gourbechamel: yep11:32
gourcedk: i assume there is no need to inform the ml about arch's pkgs since you put dl link?11:35
cedkgour: you can like that others will know about you :-)11:36
gourcedk: ok11:36
-!- gour(n=gour@ has left #tryton11:36
-!- gour(n=gour@ has joined #tryton11:37
gourACTION pressed wrong key-combo :-(11:37
-!- gour(n=gour@ has joined #tryton11:41 * r734 /wiki/ Added reasoning for third method.11:59
-!- carlos( has joined #tryton12:09
-!- gour(n=gour@ has joined #tryton12:24
gourany reason why it is not allowed to post from gmane to tryton list?12:27
cedkgour: because you must be register in tryton mailing list12:30
gourcedk: i'm registered, but it says that the list is unidirectional12:31
cedkgour: yes because I think when you post from gmane, it uses a single user12:33
gourcedk: what do you mean 'single user' ?12:35
cedkgour: the gmane user12:35
gourACTION uses gmane for 99% of the mls12:35
gourcedk: hmm...gmane requires one to reply in order to be authorized and that's it...still you can require membership to the list, but it's more convenient to use gmane since there is no need to create new filter for one's inbox12:36
-!- cristi_an(i=5978d3ce@gateway/web/freenode/x-knrzrkxratgzalpb) has joined #tryton12:37
gouri post via gmaneto several lists which requires membership besides being authorized by gmane12:37
gourcedk: ..gnumed is one example - see
gourwithout ability to post, there is not much use of gmane interface...12:39
gourhmm, my direct post didn't reach the group as well :-/12:41
cedkgour: I can try to change12:41
cedkgour: there is moderation12:41
gourcedk: it would be nice, imho12:42
gourcedk: but i wonder why my direct post is not there?12:43
cedkgour: request send to gmane admin12:45
cedkgour: because of moderation12:45
gourcedk: thanks12:45
gourcedk: but i'm registered as member?12:45
gourahh...moderation. ok12:45
-!- gour(n=gour@ has joined #tryton12:50
gourACTION --> lunch13:07
gourcedk: considering that i plan to write some desktop app in haskell and i'll use bindings for one C-lib which is licensed as GPLV2+, can you give me some hint in using GPL3 vs. GPLV2+ ?14:27
gour(for the bindings as well as for the whole package)14:28
cedkgour: I'm not a lawer, but I think GPL2+ can be use with GPL314:29
cedkgour: because GPL2+ give you the right to relicence to GPL314:29
gourcedk: yeah, that i know by looking at compatibility matrix...i just wonder about any pro/cons in using gpl3 vs. gpl2+ ?14:32
carloscedk: that's only true if the license says 'GPLv2 or later'14:32
cedkcarlos: in GPL2+, the + is for later14:33
carlosgour: also, using GPLv? for a library is not a good idea, unless you want to prevent closed source programs to use it14:33
carloscedk: oh, ok..14:33
gourcarlos: well, i'll only use C-lib by providing haskell-bindings, but the main project is desktop app which will use those14:34
carlosoh, so you don't control the library, then you don't have too many options...14:35
gourwell, options are gpl2+ or gpl3 :-)14:36
gourcedk: thanks. somehow i missed that article14:37
carlosgour: yeah, sorry for the noise ;-)14:37
-!- woakas(n=woakas@ has joined #tryton14:44
-!- jerojasro(n=jerojasr@ has joined #tryton15:30
-!- _TiN_(i=ahenze@ has joined #tryton16:02
woakasHow I can have a selection field dynamic? in the view form16:07
cedkwoakas: dynamic = depends on what?16:08
woakasexample in the module party in the field16:09
cedkwoakas: I mean on what the selection will depend to be filled ?16:11
woakasthis field is static, I want other field that change depends the other field, but the widget are selection16:11
cedkwoakas: use a many2one with a domain16:12
woakascedk: ok16:13
cedkwoakas: but if give an example, there is perhaps better solution16:15
gourACTION just read web-client thread in ml...16:18
gourwe do not have need to operate in big environments, so i wonder if i have trytond running on my server, what is the most secure way to access when on the road with some netbook/laptop machine?16:19
gours/my server/my desktop server16:20
woakascedk: with a many2one and a domain function ok, but if I want use the widget selection in this field, appears a error16:21
paepkegour: vpn ;-) for example openvpn16:21
woakascedk: the error:
cedkgour: you can use SSL connection with Tryton client16:21
cedkwoakas: which version?16:22
gourssl sounds as more simple way...16:22
cedkgour: but there is no signed/authority check16:23
cedkgour: you should use strong password16:23
gourcedk: self-signed cert?16:23
cedkgour: you can use any certificate, but Tryton client doesn't check it16:24
woakascedk: in the server the trunk of trytond -> changeset:   1957:8d55cb416c8916:24
cedkgour: so a man-in-the-midle attack is theoricaly possible16:24
paepkecedk: thats why i prefer the openvpn. is there any plan to change it?16:24
woakascedk: in the client changeset:   1382:da49cf54487616:25
gourcedk: ahh, good to know. still it could be enough for our 'enterprise' and the desktop server machine can be configured to listen 'outside' only when we are on the road16:25
cedkwoakas: how looks taller.concepto16:26
gourpaepke: isn't it overkill for our needs?16:26
cedkpaepke: if somebody add the code to the client, why not?16:27
paepkegour: for your special needs maybe overkill. it depends.16:28
paepkecedk: i'd like to do that, but my programming skills are currently not good enough for tryton.16:28
paepkerunning an openvpn server is much easier for me ;-)16:29
cedkwoakas: with many2many, you should use ["('reparacion', 'in', [reparacion])"]16:30
woakascedk: ok ... test....16:30
cedkpaepke: it will not be tryton code specific, it must be in tryton client in the ssl part with some gtk dialog box16:30
gourpaepke: i'd need just occasionally to connect remotely to the 'home' machine...similar to connecting (sometimes) to my localhost dovecot server via ssh to check the i consider using strong passwd may be good-enough...the point is that we do not see the need for web-client as discussed in that thread16:32
paepkecedk: does the server already check if the client has a signed certificate?16:32
bechamelgour: a less overkill solution would be a ssh tunnel16:33
paepkebechamel: youre right. ssh-tunnel is a good point.16:33
gouryep...that's good too16:34
cedkpaepke: client doesn't have certificate16:35
gourare all tryton devs ex-openerp ones?16:36
cedkbechamel, paepke: with ssh you must check the footprint of the server which is the same than checking the certificate signature16:36
paepkecedk: under some circumstances you will have to be sure that the client is allowed to access the server. so that none can connect without the permission from you (certificate)16:38
bechamelcedk: would it be possible to to something like ssh in the tryton client (ie at the first connection ask if the user want to accept and then store the footprint and use this footprint for all the other connections16:38
cedkpaepke: yes, but this is no more SSL, I think16:38
gour...or someone has started with tryton? (i'm asking considering to best use how to minimize learning curve by using proper docs)16:38
cedkpaepke: and I don't think we should implement this in Tryton, we must use third party software like openvpn16:39
paepkecedk: its a well known techology i used in webservers (apache) or ssh-server.16:40
cedkbechamel: I don't know if we have access to footprint, but someone can check16:40
cedkpaepke: what client certificate check ?16:41
bechameldoes the footprint in ssh play the same role than the certificat in ssl ?16:41
paepkecedk: anyway. openvpn would be good, cause it is "offloaded" from the tryton-stuff. so it has a bigger user base and cause of this maybe better real-life tested for security16:41
cedkyes, footprint or signed-verification would be a good improvement for Tryton but no more16:43
paepkecedk, bechamel: i agree. its like looking at your online-banking homepage with a green sign.16:44
-!- vengfulsquirrel( has joined #tryton16:48
woakascedk: works fine, but if I put in the xml widget = "selection" stops working17:15
-!- carlos( has joined #tryton17:16
cedkwoakas: yes because it doesn't work with dymanic domain17:17
woakascedk: oohhh ok thanks :)17:17
-!- gour`(n=user@ has joined #tryton17:21
cedkwoakas: but it could be an improvement of the client17:33
cedkwoakas: it will need to refecth the selectio if the domain has changed17:34
woakascedk: ok17:35
-!- juanfer(n=juanfer@ has joined #tryton17:36
-!- _TiN_(i=ahenze@ has joined #tryton17:40
CIA-2C?dric Krier <> default * 1972:7c98a629af36 trytond/trytond/ (backend/postgresql/ tools/ Fix call to exec_pg_command_pipe to wait the end of the command17:42
CIA-2C?dric Krier <> default * 1973:0d81697a21b6 trytond/trytond/ir/ Add index on module of as it is used when loading modules17:42
CIA-2C?dric Krier <> default * 1974:b5b6a33a5be1 trytond/ (CHANGELOG trytond/protocols/ Allow to update database at the end of restore17:42
CIA-2C?dric Krier <> default * 1388:56e6bcae6120 tryton/ (CHANGELOG tryton/gui/ tryton/gui/window/ Add checkbox on restore to update database17:42
carloscedk: I wonder whether OpenERP developers are as fast as you to apply small fixes/improvements pointed by users in their forum17:48
carloscedk: you are sooo fast...17:48
gourcarlos: don't wonder. they are probably not17:49
cedkcarlos: before they was because it was me :-)17:51
gourcedk: we're chatting with bechamel about great new features to arrive (one day) in tryton...17:52
cedkcarlos: I'm sill the 3th17:53
carlosdid they add support for bzr?17:54
bechamelcedk: gour was thinking about someting like
carloscedk: and that's near two years after you quit... and you are still far away from the fourth position, wow17:54
cedka music player ? :-)17:55
gourcedk: tree view :-D17:55
bechamelcedk: a dual-view window + search on tree17:55
cedkbechamel: it is already in board view17:56
gour:-D ;)17:56
bechamel"tryton: most downloaded erp with a music player in the world" ;)17:56
bechamelcedk: yes but is possible to interact across sub-view, ie clic on an item in the left view and then reload/refresh the right view17:57
cedkcarlos: and others are cheating because they added branch repository 5.0 and trunk so when they backport (forwardport) it is double :-)17:57
cedkbechamel: normally, but we don't have any test for that17:58
cedkbechamel: but it was the idea17:58
gourcedk: that would be great feature...extending the functionality17:59
bechamelso the only missing feature to mimic the exaile gui would be the filter on tree17:59
cedkwe should have a case to dev to make it work18:00
gouri already have a case - keeping history of client's (homeopathic & counselling) treaments so that one can quickly browse the tree and/or search for specifics18:02
cedkgour: it is not a tree but a list18:03
cedkgour: history is a list because time goes linear18:04
gourcedk: check
CIA-2C?dric Krier <> default * 1389:e65de28b8816 tryton/tryton/gui/ Use RPCProgress for db_exec calls18:06
cedkgour: I don't know what it is but I don't see any history18:06
gourtime is not primary/only concern18:06
gourcedk: check this then18:07
CIA-2C?dric Krier <> default * 1390:1aa84a70d304 tryton/tryton/gui/window/ Add tooltip to update checkbox of restore window18:11
-!- gour(n=gour@ has joined #tryton18:26
-!- carlos( has joined #tryton18:36
-!- gour(n=gour@ has joined #tryton18:40
-!- ovnicraft(n=ovnicraf@ has joined #tryton19:07
ovnicrafthi folks, i want to get all modules from repo, i must to use any script or something?19:08
carlosovnicraft: Look for Automatic Way19:16
ovnicraftcarlos, thx :)19:17
carlosyou are welcome19:17
-!- enlightx( has joined #tryton19:21
CIA-2C?dric Krier <> default * 1391:ed90e2830efe tryton/tryton/gui/window/ Fix test on combo database20:40
CIA-2C?dric Krier <> default * 1392:b722c527a6e7 tryton/tryton/gui/window/ Hide also server password widgets if not login.host20:40
-!- FWiesing( has joined #tryton20:58
CIA-2C?dric Krier <> default * 1975:cc7a55f41011 trytond/trytond/backend/sqlite/ Prevent exception when testing SQLite database (corrupted file)21:01
CIA-2C?dric Krier <> default * 1976:17e53456d3bd trytond/trytond/backend/sqlite/ Open sqlite file in binary mode for dump21:15
-!- vengfulsquirrel( has joined #tryton21:39
CIA-2C?dric Krier <> default * 1977:f77e28e77964 trytond/ Add missing Genshi dependency22:52
CIA-2C?dric Krier <> default * 1393:de9fbeb043d1 tryton/tryton/action/ Use binary mode when writing report in temp file22:53
-!- yangoon( has left #tryton23:38

Generated by 2.11.0 by Marius Gedminas - find it at!