IRC logs of #tryton for Sunday, 2010-11-14

chat.freenode.net #tryton log beginning Sun Nov 14 00:00:03 CET 2010
-!- chrue(~chrue@host-091-097-031-108.ewe-ip-backbone.de) has joined #tryton01:11
-!- sharoon(~sharoon@14.96.62.144) has joined #tryton04:04
-!- yangoon(~mathiasb@p549F4F0D.dip.t-dialin.net) has joined #tryton05:18
-!- sharoon(~sharoon@14.96.73.226) has joined #tryton07:07
-!- svaksha(~svaksha@unaffiliated/svaksha) has joined #tryton07:19
-!- svaksha(~svaksha@unaffiliated/svaksha) has joined #tryton07:25
-!- tony_(~tony@116.233.246.78) has joined #tryton07:50
udonocedk: I will test your proteus patches tomorrow evening.08:21
-!- chrue(~chrue@host-091-097-031-108.ewe-ip-backbone.de) has joined #tryton09:20
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton09:40
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton09:51
-!- Timitos(~kp@88.217.184.172) has joined #tryton10:27
-!- heg(~heg@dyn.83-228-165-075.dsl.vtx.ch) has joined #tryton11:26
-!- gordon_geeko(~jeroen@77-56-129-131.dclient.hispeed.ch) has joined #tryton11:26
gordon_geekosetting a field via on_change_with which, upon changing, should trigger another on_change_with in another field doesn't seem to be working11:27
gordon_geekone1 have an idea what i'm missing?11:28
Timitosgordon_geeko: i am not sure if this is possible. maybe on_change is a better option in this case11:32
gordon_geekoTimitos: was thinking the same, just wondering if it was a limitation or not - thx11:35
Timitosgordon_geeko: you should ask cedk if it should be improved or not11:37
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton12:21
gordon_geekocedk: an on_change or on_change_with setting another field doesn't trigger a subsequent on_change of the modified field, right (i'm using version 1.6)?12:49
-!- tony_(~tony@116.233.246.78) has joined #tryton13:22
-!- sharoon(~sharoon@14.99.4.88) has joined #tryton13:42
-!- enlightx(~enlightx@151.59.129.15) has joined #tryton13:51
-!- enlightx_(~enlightx@dynamic-adsl-94-34-180-227.clienti.tiscali.it) has joined #tryton14:12
cedkgordon_geeko: correct14:22
cedkgordon_geeko: otherwise you can have infinite loop14:22
-!- ikks(~ikks@190.158.120.174) has joined #tryton14:25
cedksharoon: finnaly did you use proteus with django?14:25
sharooncedk: nope :) now its all about nereid14:26
cedksharoon: as it is now thread-safe14:26
sharooncedk: will try to do it, it doesnt need django to test... i will write a simple WSGI app for possibly displaying the list of products or something and test proteus14:26
gordon_geekocedk: so to change multiple fields i'd have to do it within the same on_change method?14:27
cedksharoon: could you answer to http://code.google.com/p/tryton/wiki/TrytonDjango comment of ivanwmc14:27
gordon_geekocedk: is that what the field_list arg is for?14:28
sharooncedk: i think there is no problem in using with web2py, i will reply to that14:28
cedkgordon_geeko: the return value of an on_change is a dict with field name as key and changed value as value14:29
cedkgordon_geeko: so a on_change call can modify many fields14:30
cedkgordon_geeko: at the opposite on_change_with just modify one field value14:30
cedkgordon_geeko: the field list used in argument on an on_change method define which value will be passed to the method to compute new values14:32
gordon_geekocedk: ok, and the field list that's passed is just to place it in vals?14:32
gordon_geekocedk: ah, yes ... clear14:32
gordon_geekocedk: thx14:32
cedkgordon_geeko: and for an on_change_with it defines which changed field will trigger the call and of course their values will be passed14:32
cedkgordon_geeko: it is a generic API that allow to be modular easily at the opposite of OE14:33
gordon_geekocedk: a on_change could then trigger an on_change_with?14:34
cedkgordon_geeko: what do you mean by trigger?14:34
cedkgordon_geeko: if you mean that when setting the new values from the first on_change, this will not result in an on_change_with call14:35
gordon_geekoon change field a, changes field b and field c having an on_change_with field b14:36
gordon_geekocedk: same potential for infinite loop14:37
cedkgordon_geeko: need to check but I'm almost sure that there will be no second on_change call14:37
cedkgordon_geeko: just checked the code, when the client set the new value the on_change(_with) triggers are deactivated14:39
gordon_geekocedk: ok, thanks14:42
-!- enlightx(~enlightx@dynamic-adsl-94-34-180-227.clienti.tiscali.it) has joined #tryton14:45
-!- ikks(~ikks@190.158.120.174) has joined #tryton15:05
-!- tony_(~tony@116.233.246.78) has joined #tryton15:15
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton15:24
-!- tony_(~tony@116.233.246.78) has joined #tryton15:57
-!- bechamel(~user@host-85-201-147-56.brutele.be) has joined #tryton16:58
-!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton18:11
-!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton18:30
lem0nacedr: i was wondering about keeping the last tryton version that is database and to check against the current tryton version - if not match to start automatic upgrade by (re)start18:58
cedklem0na: I don't think it is good to make autodetect migration19:00
cedklem0na: there is so much possibility of error19:00
cedklem0na: like you start the wrong server version and boum!19:00
lem0nacedr: i see - i was thinking bacaouse we used this approach 15 years ago without any problems19:01
cedklem0na: generally migration must be prepared so running update is not the big part of it19:01
lem0nacedr: there was routes for every verison and so this the version upgrade is done19:01
cedklem0na: don't understand19:02
lem0nacedr: we have made a product for nontechnical customers - manualy military19:03
lem0nacedr: so we made a program thet checks the database vesrion and the product version19:04
lem0nacedr: this way the customer can have an old vserion and painless upgrade to the one he starts19:04
cedklem0na: but here we got a meta-software19:05
lem0nacedr: so there was route for every upgrade19:05
cedklem0na: it doesn't work out-of-the-box in most cases19:05
lem0nacedr: i see - i was just wondering bacause i just prepare to go for 1.819:06
cedklem0na: by the way, it is possible to do it from the GUI19:06
lem0nacedr: interesting - from Administration?19:07
cedklem0na: you make a backup on old server and then restore it on new with update box checked19:07
cedkit was done especially for Neso but it works for any backend19:07
lem0nacedr: i start to love tryton every day19:07
lem0nacedr: yes - i have neso i mind; for tryton i will be normal this to be done by admin19:08
cedklem0na: Neso stores database in separated folder per series19:09
cedklem0na: (by the way, I will get notification if you type cedk instead of cedr)19:09
lem0nacedr: ah - i did not pay enough attention on neso how it works19:09
lem0nacedk: sorry19:10
cedklem0na: works! ;-)19:10
lem0nacedk: i type fast instead to use nickname autocomplete19:10
lem0nacedk: i have translated all mudules - i was wondering if I upgrade to 1.8 what will happen with the transaltions; did I get only a few untraslated fields19:30
lem0nacedk: or I have to export the transaltions first and then put in every module and then upgrade19:30
lem0nacedk: and my second question - about translation of the client; i do not find any setup.py in the installed dir - it's only in the installation package19:33
lem0nacedk: how to make the .pot file this way?19:33
cedklem0na: it will be safer to first export the translation before upgrade19:59
cedklem0na: but you should not have lost19:59
cedklem0na: for the client, you must work from the sources and not installed package19:59
-!- enlightx(~enlightx@dynamic-adsl-94-34-180-227.clienti.tiscali.it) has joined #tryton20:17
-!- gordon_geeko(~jeroen@77-56-129-131.dclient.hispeed.ch) has joined #tryton20:35
lem0nacedk: thanx - allready done both21:53
lem0nacedk: my mistake - i made a dump of the database not export of the translations21:57
lem0nacedk: thanx again21:58
cedklem0na: so we will have soon a bulgaria translation :-)22:10
lem0nacedk: sure22:45
-!- cheche(cheche@188.85.213.151) has joined #tryton23:47

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