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

chat.freenode.net #tryton log beginning Thu Dec 2 00:00:02 CET 2010
-!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton00:27
-!- GasbaKid(~GasbaKid@41.96.112.70) has joined #tryton00:37
-!- ecarreras(~under@unaffiliated/ecarreras) has joined #tryton01:10
-!- ikks(~ikks@190.158.122.179) has joined #tryton01:17
-!- ikks(~ikks@190.158.122.179) has joined #tryton01:19
-!- ikks(~ikks@190.158.122.179) has joined #tryton01:43
-!- ikks(~ikks@190.158.122.179) has joined #tryton01:50
-!- ikks(~ikks@190.158.122.179) has joined #tryton02:16
-!- lem0na(~lem0na@84.40.71.19) has joined #tryton02:26
-!- lem0na(~lem0na@84.40.71.19) has joined #tryton02:55
-!- pepeu(~manuel@187.137.92.191) has joined #tryton02:56
-!- rednul_(~rednul@host-174-45-250-246.bln-mt.client.bresnan.net) has joined #tryton03:57
-!- pepeu(~manuel@201.155.193.192) has joined #tryton04:29
-!- yangoon(~mathiasb@p549F6BA1.dip.t-dialin.net) has joined #tryton05:18
-!- gremly(~gremly@190.26.156.189) has joined #tryton05:32
-!- pepeu(~manuel@201.155.193.192) has joined #tryton05:54
-!- pepeu(~manuel@201.155.193.192) has joined #tryton07:04
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton08:38
-!- paepke(~paepke@p4FEB38D4.dip.t-dialin.net) has joined #tryton08:46
-!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton08:58
-!- rednul_(~rednul@host-174-45-250-246.bln-mt.client.bresnan.net) has joined #tryton09:04
-!- GasbaKid(~GasbaKid@41.96.113.160) has joined #tryton09:11
-!- mr_amit(~amit@210.212.163.42) has joined #tryton09:15
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton09:19
plantianhello, 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/09:22
plantianThe globals() I think are needed in a case where I'm filtering locations table in a form based on the parent warehouse.09:25
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton09:49
-!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton10:03
plantianIs it possible to access at least globals() in a domain statement?10:17
cedkplantian: no10:18
cedkplantian: PYSON is language independant so there is no necessary globals in other languages10:19
plantiancedk:  Okay that makes sense, did you see my link earlier?10:20
plantianhttp://paste.pocoo.org/show/298875/10:20
cedkplantian: this is for before PYSON10:21
plantianYes, I'm trying to upgrade.10:22
cedkplantian: with PYSON you just use Eval('_parent_warehouse') with an If()10:22
cedkIf(Eval('_parent_warehouse', {}), [Get(Eval('_parent_warehouse', {}), 'id', 0)], [])10:23
cedkplantian: something like that10:24
plantianOkay, 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.10:25
-!- rednul_(~rednul@host-174-45-250-246.bln-mt.client.bresnan.net) has joined #tryton10:29
-!- paepke(~paepke@p4FEB49B1.dip.t-dialin.net) has joined #tryton11:00
-!- cheche(cheche@188.85.213.151) has joined #tryton11:05
-!- GasbaKid(~GasbaKid@41.96.0.106) has joined #tryton11:24
-!- rednul_(~rednul@host-174-45-250-246.bln-mt.client.bresnan.net) has joined #tryton11:59
-!- GasbaKid(~GasbaKid@41.96.17.93) has joined #tryton12:13
yangooncedk: btw: just ping me when you think maintenance releases should be scheduled12:22
-!- trifon(~trifon@p4FFB898C.dip0.t-ipconnect.de) has joined #tryton12:33
-!- ikks(~ikks@190.158.122.179) has joined #tryton12:39
cedkyangoon: there is still some patches in the queue13:22
cedkyangoon: but we can plan it for this week-end13:22
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton14:40
-!- paepke(~paepke@p4FEB49B1.dip.t-dialin.net) has joined #tryton14:47
-!- gremly(~gremly@200.106.202.91) has joined #tryton15:07
-!- vladimir__(~vladimir@213.151.246.136) has joined #tryton15:10
-!- pepeu(~manuel@201.155.193.192) has joined #tryton15:14
-!- GasbaKid(~GasbaKid@41.96.17.93) has joined #tryton15:49
-!- zodman(~andres-va@200.67.176.253) has joined #tryton15:53
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton15:55
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton16:14
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton16:31
-!- haggai(~halls@brooke.credativ.ltd.uk) has joined #tryton16:43
-!- GasbaKid(~GasbaKid@41.96.120.6) has joined #tryton16:45
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton17:01
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton17:23
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton17:27
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton17:36
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton17:43
-!- pepeu(~manuel@201.155.193.192) has joined #tryton17:49
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton17:54
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton17:58
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton18:00
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton18:11
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton18:23
heffercan i create a tryton server with a sqlite database, export it from tryton and import it on a tryton server using pgsql?18:40
yangoonheffer: no, the dumps are in different format18:42
hefferokay thanks for the info18:43
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton18:52
-!- pepeu(~manuel@201.155.193.192) has joined #tryton18:52
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton19:21
-!- paepke(~paepke@p4FEB49B1.dip.t-dialin.net) has joined #tryton19:22
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton19:43
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton19:54
-!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton19:57
-!- pepeu(~manuel@201.155.193.192) has joined #tryton19:57
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton20:13
plantianDoes anyone know what could cause this ? I'm updating to 1.6 from 1.4.  http://paste.pocoo.org/show/299121/20:15
cedkplantian: I think it is due to ir.lang,name translation20:17
cedkplantian: you can try this: DELETE from ir_translation where name = 'ir.lang,name';20:18
yangoonhmm, was also reported by a german user20:19
yangoonplantian: but db is not sqlite?20:20
plantiancedk: okay, trying20:20
plantianyangoon: postgresql20:20
yangoonok20:20
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton20:21
cedkI think we should modify the check_unique_model of ir.translation to check only for modified ids20:23
cedkplantian: by the way, are you sure to run 1.6? Because this error message was added for issue171720:28
cedkplantian: which was for 1.820:28
plantianRight, that might be a problem.20:29
plantianI 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.20:31
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton20:31
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton20:40
plantiancedk: Did 1.6 or 1.8 prohibit domains from being strings?20:44
-!- hoRn(~chatzilla@pd95be09e.dip0.t-ipconnect.de) has joined #tryton20:44
yangoonplantian: pyson is laready in 1.620:44
plantianOkay20:45
-!- vladimir_(~vladimir@213.151.246.136) has joined #tryton20:49
-!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton20:58
-!- hoRn(~chatzilla@pd95be09e.dip0.t-ipconnect.de) has joined #tryton21:02
-!- enlightx(~enlightx@dynamic-adsl-94-34-210-185.clienti.tiscali.it) has joined #tryton21:11
-!- pjstevns(~pjstevns@helpoort.xs4all.nl) has joined #tryton22:12
-!- GasbaKid(~GasbaKid@41.96.120.6) has joined #tryton23:05
plantiancedk, 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 help23:15
plantiandef search_rec_name -- did this interface change for regular models since 1.4?23:17
cedkplantian: I don't think23:26
plantianHmm.. the documentation says its for function field.23:27
plantianShould I be using search() now ?23:27
cedkplantian: what changed?23:29
plantiancedk: 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/23:31
cedkplantian: yes it has changed23:32
cedkplantian: yes now args is a single clause and no more a list of clauses23:32
plantianIs this it -- http://doc.tryton.org/1.6/trytond/doc/ref/models/models.html#trytond.model.ModelStorage.search_rec_name  ?23:33
plantianI don't think doc string is correct.23:33
cedkplantian: what will be wrong?23:34
plantianNevermind, I misread it.23:35
plantianThere is a function field called rec_name that is what is being search and it proxies to name and code.23:35
cedkplantian: yes23:40
hefferwhen will it be possible to use images in header_A4.odt?23:43
cedkheffer: I think it is possible23:44
hefferin 1.6 it gave me an python exception with 1.8 the output is corrupt23:44
hefferbut i have no idea how to debug the corrupt output issue23:45
cedkheffer: update relatorio23:47
hefferthat could be it :)23:49
-!- GasbaKid(~GasbaKid@41.96.120.6) has joined #tryton23:50
hefferyup that seems to work23:51
hefferthanks for the hint :D23:51

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