IRC logs of #tryton for Monday, 2010-11-22

chat.freenode.net #tryton log beginning Mon Nov 22 00:00:02 CET 2010
2010-11-22 01:02 -!- chrue1(~chrue@host-091-097-033-035.ewe-ip-backbone.de) has joined #tryton
2010-11-22 01:06 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2010-11-22 01:31 -!- gremly(~gremly@190.26.156.189) has joined #tryton
2010-11-22 01:45 -!- heg(~heg@dyn.144-85-167-140.dsl.vtx.ch) has joined #tryton
2010-11-22 01:59 -!- chrue(~chrue@host-091-097-035-022.ewe-ip-backbone.de) has joined #tryton
2010-11-22 02:16 -!- ikks(~ikks@190.158.122.179) has joined #tryton
2010-11-22 05:02 -!- chrue(~chrue@host-091-097-035-022.ewe-ip-backbone.de) has joined #tryton
2010-11-22 05:18 -!- yangoon(~mathiasb@p549F6D15.dip.t-dialin.net) has joined #tryton
2010-11-22 05:34 -!- sharoon(~sharoon@115.184.91.175) has joined #tryton
2010-11-22 06:25 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2010-11-22 06:32 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-11-22 08:03 -!- vladimir(~vladimir@bband-dyn132.95-103-91.t-com.sk) has joined #tryton
2010-11-22 08:15 -!- GasbaKid(~GasbaKid@41.96.123.217) has joined #tryton
2010-11-22 08:34 -!- vladimir(~vladimir@bband-dyn132.95-103-91.t-com.sk) has joined #tryton
2010-11-22 09:10 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton
2010-11-22 09:21 -!- paepke(~paepke@p4FEB76CA.dip.t-dialin.net) has joined #tryton
2010-11-22 09:29 -!- GasbaKid_(~GasbaKid@41.96.114.120) has joined #tryton
2010-11-22 09:29 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-11-22 09:36 -!- ecarreras(~under@81.184.3.75.static.user.ono.com) has joined #tryton
2010-11-22 09:36 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton
2010-11-22 09:40 -!- GasbaKid(~GasbaKid@41.96.114.120) has joined #tryton
2010-11-22 10:16 -!- gordon_geeko(~jeroen@212.147.120.127) has joined #tryton
2010-11-22 10:26 -!- vincentvdl(~vincent@62.58.29.41) has joined #tryton
2010-11-22 10:31 -!- sharoon(~sharoon@218.248.84.93) has joined #tryton
2010-11-22 11:04 -!- Red15(~red15@unaffiliated/red15) has joined #tryton
2010-11-22 11:14 -!- udono(~udono@dynamic-unidsl-85-197-25-1.westend.de) has joined #tryton
2010-11-22 11:34 -!- svaksha(~svaksha@unaffiliated/svaksha) has joined #tryton
2010-11-22 12:05 -!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton
2010-11-22 12:29 <GasbaKid> does tryton manage the IFRS/IAS accounting system....???
2010-11-22 12:31 -!- ikks(~ikks@190.158.122.179) has joined #tryton
2010-11-22 13:14 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton
2010-11-22 13:33 -!- trifon(~trifon@p4FFB8823.dip0.t-ipconnect.de) has joined #tryton
2010-11-22 13:42 -!- enlightx_(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-11-22 13:45 -!- udono(~udono@dynamic-unidsl-85-197-19-201.westend.de) has joined #tryton
2010-11-22 13:46 -!- trifon(~trifon@p4FFB8823.dip0.t-ipconnect.de) has joined #tryton
2010-11-22 14:04 <cedk> GasbaKid: Tryton got a simple accounting model
2010-11-22 14:04 <GasbaKid> ok
2010-11-22 14:04 <cedk> GasbaKid: but it is quiet clean
2010-11-22 14:05 <cedk> GasbaKid: so extending it for IFRS standard should not be difficult
2010-11-22 14:05 <GasbaKid> i think so is there someone who work on something like this
2010-11-22 14:06 <GasbaKid> ??
2010-11-22 14:07 <GasbaKid> cedk : can you tell me a part of tryton thats realy poor and need imrovement...
2010-11-22 14:07 <GasbaKid> sorry i means improvements
2010-11-22 14:08 <cedk> GasbaKid: I don't know if someone is working on it
2010-11-22 14:09 <cedk> GasbaKid: you can look at http://code.google.com/p/tryton/wiki/Release_2_0_0
2010-11-22 14:09 <cedk> GasbaKid: and also on http://bugs.tryton.org/
2010-11-22 14:11 <GasbaKid> and whats about the http://code.google.com/p/tryton/wiki/RoadmapWindows
2010-11-22 14:11 <GasbaKid> where is it
2010-11-22 14:12 <GasbaKid> cause i dont find where the things that are done and the ones that arent
2010-11-22 14:14 <cedk> GasbaKid: I don't think anybody is working on this
2010-11-22 14:15 <cedk> GasbaKid: and this is clearly not a priority
2010-11-22 14:17 -!- paepke(~paepke@p4FEB76CA.dip.t-dialin.net) has joined #tryton
2010-11-22 14:17 <GasbaKid> yes it is, but have these features
2010-11-22 14:18 <GasbaKid> will be perfect no
2010-11-22 14:19 <GasbaKid> cedk : tell me something, for implementing the ifrs/ias system what do you suggest for me...a point for beginning
2010-11-22 14:23 <cedk> GasbaKid: I don't know the IFRS so it is difficult to tell you
2010-11-22 14:24 <GasbaKid> ahhh ok thanks cedk
2010-11-22 14:28 <cedk> GasbaKid: do you have documentation?
2010-11-22 14:28 <GasbaKid> on what
2010-11-22 14:29 <GasbaKid> or of what
2010-11-22 14:29 <GasbaKid> ??
2010-11-22 14:30 <cedk> GasbaKid: on IFRS
2010-11-22 14:31 <GasbaKid> documents from a (formation) that i assists to
2010-11-22 14:31 <GasbaKid> not in electronique format
2010-11-22 14:33 <GasbaKid> are you interseted in working on
2010-11-22 14:34 <cedk> GasbaKid: for now, I have no time but if you are looking for help, you should write a blueprint and put documentation etc.
2010-11-22 14:35 <GasbaKid> ok
2010-11-22 14:35 <GasbaKid> i will
2010-11-22 15:15 <yangoon> :qa
2010-11-22 15:20 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2010-11-22 15:23 <vincentvdl> Anybody experience with the Scheduler in Tryton? I have added a record to "ir.cron", but the method does not seem to be triggered (at least nothing seem to happen). While if I call the method manually using a button, it does work. Are there existing examples of cron jobs I could refer to?
2010-11-22 15:24 <vincentvdl> I see the record is re-scheduled every time, so if I say it should run every 2 minutes I see the date being updated all the time
2010-11-22 15:25 -!- Timitos(~kp@88.217.184.172) has joined #tryton
2010-11-22 15:26 <bechamel> vincentvdl: if the cron fail it should send a request to the admin user
2010-11-22 15:27 <vincentvdl> mmm I am logged in as administrator and do not have not new requests... perhaps I should try to create an error on purpose
2010-11-22 15:28 <vincentvdl> bechanel: the execution user... should this be a linux user?
2010-11-22 15:29 -!- yangoon(~mathiasb@p549F6D15.dip.t-dialin.net) has joined #tryton
2010-11-22 15:29 <bechamel> vincentvdl: no, a tryton user
2010-11-22 15:30 <vincentvdl> bechamel: ok I thought so
2010-11-22 15:33 <bechamel> vincentvdl: to pinpoint the problem i would add some prints in the _callback method in ir/cron.py
2010-11-22 15:33 <bechamel> vincentvdl: I'm not 100% sure that the transaction handling is ok
2010-11-22 15:34 <vincentvdl> bechamel: ok thanks for the tip, I will!
2010-11-22 15:48 <vincentvdl> bechamel: I have added a print statement at the very top of the method, but it is not being printed.... it should have been printed in the same terminal as trytond I suppose?
2010-11-22 15:48 <bechamel> vincentvdl: yes
2010-11-22 15:50 <vincentvdl> bechamel: Will do some further tests
2010-11-22 15:51 <bechamel> vincentvdl: maybe add some prints in the pool_job method (before _callback is called)
2010-11-22 15:51 <vincentvdl> bechamel: Yes I was just doing that, I see output of that method
2010-11-22 15:59 <vincentvdl> bechamel: Creepy... I added a print just above the "self._callback(cron)" line and after it, and I see both print's... but not the print's in _callback method
2010-11-22 16:00 <vincentvdl> bechamel: WIll have to check for override I guess
2010-11-22 16:01 <bechamel> vincentvdl: there is an override in company/cron.py
2010-11-22 16:02 <bechamel> vincentvdl: iirc the callback is not called if there is no company on the the cron
2010-11-22 16:03 <vincentvdl> bechamel: Aha.... will look into it
2010-11-22 16:04 <vincentvdl> ok thnx... Now I see an exception, now I should be able to find out what's going wrong. Thanks for your help!
2010-11-22 16:14 <vincentvdl> bechamel: Yes, very cool... it's seems to be working OK now
2010-11-22 16:15 <bechamel> vincentvdl: you had to add a company on the cron or this was another problem ?
2010-11-22 16:16 <vincentvdl> adding company was main problem... and inside my method I had a small issue where I retrieved a value from context, which I am now changing to a little different implementation
2010-11-22 16:20 <vincentvdl> bechamel: And there was an additional argument beign specified which I did not have (user I believe), but that was easy to add, I think I'll need it anyway
2010-11-22 16:21 <vincentvdl> bechamel: or perhaps it's the job id, not checked yet
2010-11-22 16:21 <bechamel> vincentvdl: ok
2010-11-22 16:27 -!- sharoon(~sharoon@14.96.77.1) has joined #tryton
2010-11-22 16:29 -!- zodman(~andres-va@200.67.176.253) has joined #tryton
2010-11-22 16:30 -!- zodman(~andres-va@foresight/developer/zodman) has joined #tryton
2010-11-22 16:32 <zodman> ping sharoon
2010-11-22 16:32 <zodman> you live ?
2010-11-22 16:32 <sharoon> hi all, i request your code review for the email module for tryton at http://codereview.appspot.com/3255042/
2010-11-22 16:32 <sharoon> zodman: pong
2010-11-22 16:34 <zodman> sharoon, your google mail for add to tryton-support :)
2010-11-22 16:34 <zodman> i see you twitt
2010-11-22 16:34 <sharoon> sharoonthomas@teagarden.in
2010-11-22 16:37 -!- vladimir(~vladimir@213.151.246.136) has joined #tryton
2010-11-22 16:42 <zodman> done i back to work
2010-11-22 17:51 -!- pheller(~pheller@c1fw239.constantcontact.com) has joined #tryton
2010-11-22 17:53 -!- enlightx(~enlightx@109.52.196.215) has joined #tryton
2010-11-22 17:55 -!- vincentvdl(~vincent@62.58.29.41) has left #tryton
2010-11-22 18:00 -!- pheller(~pheller@c1fw239.constantcontact.com) has joined #tryton
2010-11-22 18:30 -!- pheller(~pheller@c1fw239.constantcontact.com) has joined #tryton
2010-11-22 18:51 -!- neopolus(~neopolus@251.80.117.91.dynamic.mundo-r.com) has joined #tryton
2010-11-22 19:01 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-11-22 19:10 -!- pheller(~pheller@c1fw239.constantcontact.com) has joined #tryton
2010-11-22 19:40 -!- paepke(~paepke@p4FEB76CA.dip.t-dialin.net) has joined #tryton
2010-11-22 19:47 -!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton
2010-11-22 19:56 -!- heg(~heg@dyn.144-85-167-140.dsl.vtx.ch) has joined #tryton
2010-11-22 20:06 -!- paepke(~paepke@p4FEB76CA.dip.t-dialin.net) has joined #tryton
2010-11-22 20:07 -!- pheller(~pheller@c1fw239.constantcontact.com) has joined #tryton
2010-11-22 20:17 -!- enlightx(~enlightx@217.202.112.42) has joined #tryton
2010-11-22 20:53 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2010-11-22 20:57 -!- pheller(~pheller@c1fw239.constantcontact.com) has joined #tryton
2010-11-22 21:00 -!- GasbaKid(~GasbaKid@41.96.114.120) has joined #tryton
2010-11-22 21:18 -!- lem0na(~lem0na@84.40.71.19) has joined #tryton
2010-11-22 21:52 <lem0na> i try to generate client transaltion for the client
2010-11-22 21:52 <lem0na> allready have bg_BG.po file
2010-11-22 21:53 <lem0na> when run "python ./setup.py compile_catalog -v --directory share/locale/ --locale bg_BG"
2010-11-22 21:53 <lem0na> i recieve
2010-11-22 21:53 <lem0na> running compile_catalog
2010-11-22 21:53 <lem0na> catalog 'share/locale/bg_BG/LC_MESSAGES/tryton.po' is marked as fuzzy, skipping
2010-11-22 21:53 <lem0na> how to correct it?
2010-11-22 21:55 <bechamel> lem0na: all terms in tryton.po are translated ?
2010-11-22 21:55 <lem0na> bechamel: yes
2010-11-22 21:59 <bechamel> lem0na: you are sure that there are no more "fuzzy" in your tryton.po ?
2010-11-22 22:02 <lem0na> bechamel: right under the initial coment (header) there is a string "fuzzy" - is this a problem?
2010-11-22 22:03 <lem0na> bechamel: here is the file: http://pastebin.ca/1999336
2010-11-22 22:03 <bechamel> lem0na: I think so
2010-11-22 22:03 <bechamel> lem0na: there are no fuzzy at all on the other tryton.po
2010-11-22 22:05 <lem0na> bechamel: will try with by removing this lines
2010-11-22 22:07 <lem0na> bechamel: this time works
2010-11-22 22:08 <lem0na> bechamel: how to use the generated file - i did not foud anything in wiki
2010-11-22 22:09 -!- pheller(~pheller@c1fw239.constantcontact.com) has joined #tryton
2010-11-22 22:10 <bechamel> lem0na: http://code.google.com/p/tryton/wiki/HowtoTranslate tells to do something like "python ./setup.py compile_catalog -v --directory share/locale/ --locale de_DE"
2010-11-22 22:10 <lem0na> bechamel: it's done - i have the .mo file
2010-11-22 22:10 <bechamel> lem0na: oups this is what you have done
2010-11-22 22:11 <bechamel> lem0na: so relaunch the client and choose the right langage in preference
2010-11-22 22:11 <lem0na> bechamel: but where to copy this tryton.mo file?
2010-11-22 22:12 <pheller> Is anyone terribly opposed to the idea of an alternative reporting engine for use with tryton, namely one that is webkit based?
2010-11-22 22:13 <bechamel> lem0na: I don't think you have to copy it
2010-11-22 22:15 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-11-22 22:16 <lem0na> bechamel: it does not make sense - i made the conversion in some work directory - the client can be aware of this
2010-11-22 22:17 <lem0na> bechamel: relaunch did not change anything
2010-11-22 22:17 <bechamel> lem0na: mo files are under tryton_dir/share/locale/xx_XX/LC_MESSAGES/
2010-11-22 22:19 <lem0na> bechamel: this in source - installed client does not have such directories
2010-11-22 22:19 <lem0na> bechamel: do i have to create them manualy?
2010-11-22 22:20 <bechamel> pheller: I think it's a good idea, did you saw this http://groups.google.com/group/tryton-dev/browse_thread/thread/f9b309d79efd7d6a/c3d47bf18383fad0 ?
2010-11-22 22:21 <bechamel> lem0na: probably under /usr/share/locale/xx_XX/LC_MESSAGES
2010-11-22 22:22 <pheller> bechamel: yes, I saw this.... I like that it's easy to adjust method in trytond.... I prefer HTML as the source because of how familiar many people are with the language.....
2010-11-22 22:22 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-11-22 22:22 <lem0na> bechamel: opz - i see that supported locales are hardcoded in client too
2010-11-22 22:22 <pheller> bechamel: I've had issues doing some specific things with reportlab before - specifically compositing images together.
2010-11-22 22:23 <lem0na> pheller: if i am not wrong webkit based reports just arrived in OE
2010-11-22 22:23 <pheller> bechamel: but this is very easy with html div, absolute positioning, and z-index.
2010-11-22 22:23 <bechamel> pheller: yes i was talking about the last that explain how to overwrite the default report engine
2010-11-22 22:23 <pheller> lem0na: yes, this is true. Camp2Camp did a nice job with their module for this; but it feels "separate".
2010-11-22 22:24 <pheller> bechamel: I think this would be an option which is an alternative to relatorio/odt
2010-11-22 22:24 <cedk> pheller: I'm absolutly against such report engine
2010-11-22 22:25 <pheller> cedk: can I ask why?
2010-11-22 22:25 <bechamel> cedk: even in a module ?
2010-11-22 22:25 <cedk> pheller: this is an insane stack of software
2010-11-22 22:26 <pheller> cedk: no less insane than openoffice running headless with pyuno to generate a pdf....
2010-11-22 22:27 <cedk> pheller: I'm not a fan of running Ooo to generate pdf
2010-11-22 22:27 <cedk> pheller: I'm fine with odt
2010-11-22 22:27 <pheller> cedk: I agree with you that reportlab is not a bad way to go (for pdf), but HTML/CSS certainly has the most acceptance of any of these formats....
2010-11-22 22:28 <lem0na> bechamel: bingo - coping in /usr/share/locale/bg/... did the work - thanks again
2010-11-22 22:28 <cedk> pheller: come on, this is the worst way to describe a document
2010-11-22 22:29 <cedk> pheller: I mean a printable docuement
2010-11-22 22:30 <cedk> pheller: the first time, I saw this module (webkit) I really laught a lot with my colleagues
2010-11-22 22:30 <pheller> cedk: really? it doesn't look *that* bad.....
2010-11-22 22:30 <bechamel> pheller: did you heard about http://code.google.com/p/rst2pdf/
2010-11-22 22:30 <pheller> cedk: can you think of a way to composite images with either odt or reportlab?
2010-11-22 22:31 <pheller> bechamel: thanks, had not seen that
2010-11-22 22:32 <cedk> pheller: not with those application because they are not design for this
2010-11-22 22:32 <cedk> pheller: what do you really want to do with images?
2010-11-22 22:32 <pheller> cedk: I want to render a rack diagram; showing the rack in the background, then the equipment in the proper positions in the rack.....
2010-11-22 22:33 <pheller> cedk: though I can think of an alternative solution for this, maybe....
2010-11-22 22:33 <cedk> pheller: have you an example?
2010-11-22 22:34 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-11-22 22:34 <pheller> cedk: http://altima.http.internapcdn.net/altima_vitalstream_com/Promotion/netzoomnet/images/rackelevation.jpg
2010-11-22 22:36 <cedk> pheller: so you have images for each element?
2010-11-22 22:36 <pheller> cedk: yes
2010-11-22 22:36 <cedk> pheller: and you want to assemble them
2010-11-22 22:37 <pheller> cedk: yes, but also overlay the equipment on the rack image.
2010-11-22 22:37 <pheller> cedk: there is another possibility that would work.... wkhtmltoimage to generate the composite image, then embed the result within odt or rml.
2010-11-22 22:38 <bechamel> pheller: what about python PIL or even pycairo ?
2010-11-22 22:39 <pheller> bechamel: yes, perhaps -- but I'm trying to think of a way doing this more generally via the reporting infrastructure first. If not possible, then I would resort to other programmatic methods.
2010-11-22 22:40 <pheller> bechamel: and maybe programmatic is the right way to do it -- I am only exploring different options
2010-11-22 22:41 <paepke> pheller, bechamel: i remember that graphs are rendered via relatorio so its a common place. that can be exported via cairo for gtk or png for odt reports.
2010-11-22 22:41 <cedk> pheller: I think the best way will be with PIL
2010-11-22 22:42 <pheller> cedk: ok I will investigate that as well.
2010-11-22 22:43 <cedk> pheller: just get the image of the rack
2010-11-22 22:44 <cedk> pheller: and then you copy/paste at the right position each element
2010-11-22 22:44 <pheller> cedk: Ok, I'll give it a shot this way.
2010-11-22 22:45 <cedk> pheller: http://www.pythonware.com/library/pil/handbook/image.htm
2010-11-22 22:45 <cedk> pheller: you get the copy method and paste
2010-11-22 22:45 <cedk> pheller: but of course it is better if you already get all images at the right size
2010-11-22 22:46 <pheller> cedk: ok, I'll try it.
2010-11-22 22:47 <cedk> pheller: have you tested more the one2one?
2010-11-22 22:47 <pheller> cedk: I have done a little more, but not much. I will try more tonight.
2010-11-22 22:52 <cedk> pheller: also for your information, I read 30sec the webkit module and I found 2 security issues
2010-11-22 22:53 <cedk> pheller: by the way, if you generate the image with PIL, you can put it in a function field on the rack Model
2010-11-22 22:54 <cedk> pheller: then you can display it in Tryton client ;-)
2010-11-22 22:54 <pheller> cedk: I didn't really give it a thorough look, I only found it to make for more comfortable report development (in my opnion)
2010-11-22 22:54 <pheller> cedk: yes, that's exactly how I would do it.
2010-11-22 22:54 <pheller> cedk: later this week, I will get to this..... :-)
2010-11-22 23:04 <lem0na> cedk: can you look at this http://lem0na.net/tryton/tryton_client_bg.png?
2010-11-22 23:05 <lem0na> cedk: some terms are untranslated but the language shows English and not Bulgarian
2010-11-22 23:09 <yangoon> lem0na: english is the default
2010-11-22 23:09 <yangoon> lem0na: if you don't translate the terms you will get english
2010-11-22 23:10 <lem0na> cedk: i know - i got some untraslated tersm but maybe found them
2010-11-22 23:15 <lem0na> cedk: i can not find the equivalent rows for the rows with English language
2010-11-22 23:15 <lem0na> cedk: so some parts remain untranslated
2010-11-22 23:16 <yangoon> lem0na: as for row Language and Type, they are untranslated in your image
2010-11-22 23:17 <yangoon> and you must reopen the view for the changes taking effect
2010-11-22 23:22 <lem0na> yangoon: i feel lost - will continue dig in it
2010-11-22 23:22 <yangoon> lem0na: I could help better, if you would describe more precisely what's not working
2010-11-22 23:23 <lem0na> yangoon: some terms apear untranslated - for example Administration from the main menu
2010-11-22 23:24 <lem0na> yangoon: Product and Dashboard too
2010-11-22 23:24 <lem0na> yangoon: the rest from the menu are translated
2010-11-22 23:24 <yangoon> lem0na: is http://lem0na.net/tryton/tryton_client_bg.png? still valid?
2010-11-22 23:24 <lem0na> yangoon: yes
2010-11-22 23:25 <lem0na> yangoon: if you want will make snapshot ot the main menu
2010-11-22 23:25 <yangoon> lem0na: did you maenwhile translate the strings that are empty on the image?
2010-11-22 23:25 <lem0na> yangoon: no
2010-11-22 23:25 <yangoon> lem0na: I believe you;)
2010-11-22 23:26 <lem0na> yangoon: i suppose if i translate them they appear in bulgarian
2010-11-22 23:26 <yangoon> lem0na: yes, what do you want to do else?
2010-11-22 23:27 <lem0na> yangoon: for example to localize the record id of the Administration menu in the main menu
2010-11-22 23:27 <lem0na> yangoon: everything with source "Administration" and language "Bulgarian" is translated
2010-11-22 23:28 <yangoon> lem0na: and is not marked 'fuzzy'?
2010-11-22 23:29 <yangoon> lem0na: and field name is 'ir.ui.menu,name'?
2010-11-22 23:30 <lem0na> yangoon: yes - i have 1 record marked fuzzy with field name 'ir.ui.menu,name'
2010-11-22 23:30 <lem0na> yangoon: what is the idea of this fuzzy field?
2010-11-22 23:31 <yangoon> lem0na: translate it, unmark it, do Ctrl+R on menu
2010-11-22 23:31 <lem0na> opz - unmark it and volla
2010-11-22 23:31 <yangoon> lem0na: fuzzy items show changed or new items since last translation
2010-11-22 23:32 <lem0na> yangoon: aaaa i see thaks very mutch
2010-11-22 23:32 <yangoon> lem0na: welcome
2010-11-22 23:32 <lem0na> very mutch
2010-11-22 23:36 <lem0na> is there a way to unmark all fuzzy records - thera are over 2000\
2010-11-22 23:36 <bechamel> lem0na: fuzzy is not your friend today :D
2010-11-22 23:37 <lem0na> bechamel: 100% :)
2010-11-22 23:38 <yangoon> lem0na: you can do it with SQL
2010-11-22 23:38 <bechamel> UPDATE ir_translation set fuzzy = true where lang = 'bg_BG';
2010-11-22 23:38 <lem0na> yangoon: i thinked about this but seems too brutal for me
2010-11-22 23:39 <yangoon> bechamel: you want make hinm crazy :-D
2010-11-22 23:40 <bechamel> half less brutal : UPDATE ir_translation set fuzzy = true where lang = 'bg_BG' and id % 2 == 0
2010-11-22 23:40 <bechamel> :D
2010-11-22 23:40 <lem0na> yangoon: no problems with sql
2010-11-22 23:40 <lem0na> hahahah
2010-11-22 23:41 <yangoon> lem0na: perhaps take better UPDATE ir_translation set fuzzy = false where lang = 'bg_BG';
2010-11-22 23:41 <yangoon> ;)
2010-11-22 23:41 <lem0na> yangoon: i got the error
2010-11-22 23:41 <bechamel> lem0na: of course you have to be sure that everything is ok before doing it
2010-11-22 23:42 <lem0na> bechamel: yep - first writing the select and then change to update
2010-11-22 23:42 <lem0na> bechamel: allways do this for security
2010-11-22 23:42 <bechamel> lem0na: I mean fizzy is sipposed to tell you that you forgot some translations
2010-11-22 23:43 <bechamel> lem0na: but if you know that every string is translated (and that you only forgot to uncheck fuzzy) it is ok
2010-11-22 23:44 <lem0na> bechamel: i undertstant the idea but the translations are ok - only 90 are untranslated but in this case value must be null
2010-11-22 23:44 <lem0na> so i will be brave and brutal
2010-11-22 23:48 <lem0na> thanks for the help and for you who are in Europe good night
2010-11-22 23:49 <yangoon> lem0na: cu
2010-11-22 23:52 <lem0na> just e final word - after the db update trytond needs restart because the caching
2010-11-22 23:54 <bechamel> lem0na: yes

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