IRC logs of #tryton for Thursday, 2010-12-02

chat.freenode.net #tryton log beginning Thu Dec 2 00:00:02 CET 2010
2010-12-02 00:27 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton
2010-12-02 00:37 -!- GasbaKid(~GasbaKid@41.96.112.70) has joined #tryton
2010-12-02 01:10 -!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton
2010-12-02 01:17 -!- ikks(~ikks@190.158.122.179) has joined #tryton
2010-12-02 01:19 -!- ikks(~ikks@190.158.122.179) has joined #tryton
2010-12-02 01:43 -!- ikks(~ikks@190.158.122.179) has joined #tryton
2010-12-02 01:50 -!- ikks(~ikks@190.158.122.179) has joined #tryton
2010-12-02 02:16 -!- ikks(~ikks@190.158.122.179) has joined #tryton
2010-12-02 02:26 -!- lem0na(~lem0na@84.40.71.19) has joined #tryton
2010-12-02 02:55 -!- lem0na(~lem0na@84.40.71.19) has joined #tryton
2010-12-02 02:56 -!- pepeu(~manuel@187.137.92.191) has joined #tryton
2010-12-02 03:57 -!- rednul_(~rednul@host-174-45-250-246.bln-mt.client.bresnan.net) has joined #tryton
2010-12-02 04:29 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-12-02 05:18 -!- yangoon(~mathiasb@p549F6BA1.dip.t-dialin.net) has joined #tryton
2010-12-02 05:32 -!- gremly(~gremly@190.26.156.189) has joined #tryton
2010-12-02 05:54 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-12-02 07:04 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-12-02 08:38 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-12-02 08:46 -!- paepke(~paepke@p4FEB38D4.dip.t-dialin.net) has joined #tryton
2010-12-02 08:58 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton
2010-12-02 09:04 -!- rednul_(~rednul@host-174-45-250-246.bln-mt.client.bresnan.net) has joined #tryton
2010-12-02 09:11 -!- GasbaKid(~GasbaKid@41.96.113.160) has joined #tryton
2010-12-02 09:15 -!- mr_amit(~amit@210.212.163.42) has joined #tryton
2010-12-02 09:19 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-12-02 09:22 <plantian> hello, I'm trying to update some modules I have written and I've come across a case where I can't find any examples in the standard modules, how can I convert this domain to not use a string: http://paste.pocoo.org/show/298875/
2010-12-02 09:25 <plantian> The globals() I think are needed in a case where I'm filtering locations table in a form based on the parent warehouse.
2010-12-02 09:49 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-12-02 10:03 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton
2010-12-02 10:17 <plantian> Is it possible to access at least globals() in a domain statement?
2010-12-02 10:18 <cedk> plantian: no
2010-12-02 10:19 <cedk> plantian: PYSON is language independant so there is no necessary globals in other languages
2010-12-02 10:20 <plantian> cedk: Okay that makes sense, did you see my link earlier?
2010-12-02 10:20 <plantian> http://paste.pocoo.org/show/298875/
2010-12-02 10:21 <cedk> plantian: this is for before PYSON
2010-12-02 10:22 <plantian> Yes, I'm trying to upgrade.
2010-12-02 10:22 <cedk> plantian: with PYSON you just use Eval('_parent_warehouse') with an If()
2010-12-02 10:23 <cedk> If(Eval('_parent_warehouse', {}), [Get(Eval('_parent_warehouse', {}), 'id', 0)], [])
2010-12-02 10:24 <cedk> plantian: something like that
2010-12-02 10:25 <plantian> Okay, yeah I was never 100% sure the purpose of globals but it had to do with the user interface not having direct access to the _parent_warehouse. I will try this for now and hopefully it will behave the same way.
2010-12-02 10:29 -!- rednul_(~rednul@host-174-45-250-246.bln-mt.client.bresnan.net) has joined #tryton
2010-12-02 11:00 -!- paepke(~paepke@p4FEB49B1.dip.t-dialin.net) has joined #tryton
2010-12-02 11:05 -!- cheche(cheche@188.85.213.151) has joined #tryton
2010-12-02 11:24 -!- GasbaKid(~GasbaKid@41.96.0.106) has joined #tryton
2010-12-02 11:59 -!- rednul_(~rednul@host-174-45-250-246.bln-mt.client.bresnan.net) has joined #tryton
2010-12-02 12:13 -!- GasbaKid(~GasbaKid@41.96.17.93) has joined #tryton
2010-12-02 12:22 <yangoon> cedk: btw: just ping me when you think maintenance releases should be scheduled
2010-12-02 12:33 -!- trifon(~trifon@p4FFB898C.dip0.t-ipconnect.de) has joined #tryton
2010-12-02 12:39 -!- ikks(~ikks@190.158.122.179) has joined #tryton
2010-12-02 13:22 <cedk> yangoon: there is still some patches in the queue
2010-12-02 13:22 <cedk> yangoon: but we can plan it for this week-end
2010-12-02 14:40 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-12-02 14:47 -!- paepke(~paepke@p4FEB49B1.dip.t-dialin.net) has joined #tryton
2010-12-02 15:07 -!- gremly(~gremly@200.106.202.91) has joined #tryton
2010-12-02 15:10 -!- vladimir__(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 15:14 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-12-02 15:49 -!- GasbaKid(~GasbaKid@41.96.17.93) has joined #tryton
2010-12-02 15:53 -!- zodman(~andres-va@200.67.176.253) has joined #tryton
2010-12-02 15:55 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 16:14 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 16:31 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 16:43 -!- haggai(~halls@brooke.credativ.ltd.uk) has joined #tryton
2010-12-02 16:45 -!- GasbaKid(~GasbaKid@41.96.120.6) has joined #tryton
2010-12-02 17:01 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-12-02 17:23 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2010-12-02 17:27 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 17:36 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 17:43 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 17:49 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-12-02 17:54 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 17:58 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 18:00 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 18:11 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 18:23 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 18:40 <heffer> can i create a tryton server with a sqlite database, export it from tryton and import it on a tryton server using pgsql?
2010-12-02 18:42 <yangoon> heffer: no, the dumps are in different format
2010-12-02 18:43 <heffer> okay thanks for the info
2010-12-02 18:52 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2010-12-02 18:52 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-12-02 19:21 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2010-12-02 19:22 -!- paepke(~paepke@p4FEB49B1.dip.t-dialin.net) has joined #tryton
2010-12-02 19:43 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 19:54 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 19:57 -!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton
2010-12-02 19:57 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2010-12-02 20:13 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 20:15 <plantian> Does anyone know what could cause this ? I'm updating to 1.6 from 1.4. http://paste.pocoo.org/show/299121/
2010-12-02 20:17 <cedk> plantian: I think it is due to ir.lang,name translation
2010-12-02 20:18 <cedk> plantian: you can try this: DELETE from ir_translation where name = 'ir.lang,name';
2010-12-02 20:19 <yangoon> hmm, was also reported by a german user
2010-12-02 20:20 <yangoon> plantian: but db is not sqlite?
2010-12-02 20:20 <plantian> cedk: okay, trying
2010-12-02 20:20 <plantian> yangoon: postgresql
2010-12-02 20:20 <yangoon> ok
2010-12-02 20:21 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 20:23 <cedk> I think we should modify the check_unique_model of ir.translation to check only for modified ids
2010-12-02 20:28 <cedk> plantian: by the way, are you sure to run 1.6? Because this error message was added for issue1717
2010-12-02 20:28 <cedk> plantian: which was for 1.8
2010-12-02 20:29 <plantian> Right, that might be a problem.
2010-12-02 20:31 <plantian> I guess I orginally intended to clone 1.6 and use it but I just realized that 1.6 is just a tag in the repo.
2010-12-02 20:31 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 20:40 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 20:44 <plantian> cedk: Did 1.6 or 1.8 prohibit domains from being strings?
2010-12-02 20:44 -!- hoRn(~chatzilla@pd95be09e.dip0.t-ipconnect.de) has joined #tryton
2010-12-02 20:44 <yangoon> plantian: pyson is laready in 1.6
2010-12-02 20:45 <plantian> Okay
2010-12-02 20:49 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton
2010-12-02 20:58 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton
2010-12-02 21:02 -!- hoRn(~chatzilla@pd95be09e.dip0.t-ipconnect.de) has joined #tryton
2010-12-02 21:11 -!- enlightx(~enlightx@dynamic-adsl-94-34-210-185.clienti.tiscali.it) has joined #tryton
2010-12-02 22:12 -!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton
2010-12-02 23:05 -!- GasbaKid(~GasbaKid@41.96.120.6) has joined #tryton
2010-12-02 23:15 <plantian> cedk, yangoon: okay switching back to 1.6 and finishing updating domains and update seems to have finished, still some other migration issues though, thanks for the help
2010-12-02 23:17 <plantian> def search_rec_name -- did this interface change for regular models since 1.4?
2010-12-02 23:26 <cedk> plantian: I don't think
2010-12-02 23:27 <plantian> Hmm.. the documentation says its for function field.
2010-12-02 23:27 <plantian> Should I be using search() now ?
2010-12-02 23:29 <cedk> plantian: what changed?
2010-12-02 23:31 <plantian> cedk: Something is wrong with what I'm doing here: http://paste.pocoo.org/show/299245/ -- http://paste.pocoo.org/show/299248/ -- http://paste.pocoo.org/show/299250/
2010-12-02 23:32 <cedk> plantian: yes it has changed
2010-12-02 23:32 <cedk> plantian: yes now args is a single clause and no more a list of clauses
2010-12-02 23:33 <plantian> Is this it -- http://doc.tryton.org/1.6/trytond/doc/ref/models/models.html#trytond.model.ModelStorage.search_rec_name ?
2010-12-02 23:33 <plantian> I don't think doc string is correct.
2010-12-02 23:34 <cedk> plantian: what will be wrong?
2010-12-02 23:35 <plantian> Nevermind, I misread it.
2010-12-02 23:35 <plantian> There is a function field called rec_name that is what is being search and it proxies to name and code.
2010-12-02 23:40 <cedk> plantian: yes
2010-12-02 23:43 <heffer> when will it be possible to use images in header_A4.odt?
2010-12-02 23:44 <cedk> heffer: I think it is possible
2010-12-02 23:44 <heffer> in 1.6 it gave me an python exception with 1.8 the output is corrupt
2010-12-02 23:45 <heffer> but i have no idea how to debug the corrupt output issue
2010-12-02 23:47 <cedk> heffer: update relatorio
2010-12-02 23:49 <heffer> that could be it :)
2010-12-02 23:50 -!- GasbaKid(~GasbaKid@41.96.120.6) has joined #tryton
2010-12-02 23:51 <heffer> yup that seems to work
2010-12-02 23:51 <heffer> thanks for the hint :D

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