IRC logs of #tryton for Saturday, 2011-01-29

chat.freenode.net #tryton log beginning Sat Jan 29 00:00:02 CET 2011
plantianIs it necessary for modules listed in --init= to be ordered by dependence?00:14
cedkplantian: no00:14
plantiancedk: okay, thanks00:15
plantiancedk: Have you ever seen an error like this -- http://paste.pocoo.org/show/328539/00:17
cedkplantian: are you not mixing 1.4.0 with later release00:26
-!- nicoe_(~nicoe@200.122-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton00:32
plantiancedk: Wow, yeah I think that might be the problem, I was initializing a list of new modules before I had run update on the old database in my build script.00:33
-!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has joined #tryton01:47
-!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has left #tryton01:47
-!- gremly(~gremly@190.127.249.122) has joined #tryton03:02
-!- FWiesing(~franz@mail.tryton.at) has left #tryton04:05
-!- yangoon(~mathiasb@p549F5E5E.dip.t-dialin.net) has joined #tryton05:18
-!- zodman(~zodman@foresight/developer/zodman) has joined #tryton05:56
-!- gavinf(~gavinf@196-215-79-176.dynamic.isadsl.co.za) has joined #tryton07:36
-!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton08:32
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton09:30
-!- cedk(~ced@gentoo/developer/cedk) has joined #tryton10:03
-!- Timitos(~kp@88.217.184.172) has joined #tryton10:25
-!- kwmiebach(~ad@xdsl-87-79-170-244.netcologne.de) has joined #tryton10:26
-!- chrue(~chrue@host-091-097-084-194.ewe-ip-backbone.de) has joined #tryton10:53
-!- FWiesing(~franz@mail.tryton.at) has joined #tryton11:03
-!- paepke(~paepke@p4FEB01F9.dip0.t-ipconnect.de) has joined #tryton11:29
-!- Gerald_E(~quassel@ip-240-3.pel.cz) has joined #tryton11:54
-!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton11:54
-!- johbo_(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton12:17
-!- chrue1(~chrue@95.33.157.254) has joined #tryton12:34
-!- juanfer(~juanfer@190.27.116.46) has joined #tryton12:53
-!- carlos(~cperello@81.202.144.53.dyn.user.ono.com) has joined #tryton13:05
-!- paepke(~paepke@p4FEB1AA4.dip0.t-ipconnect.de) has joined #tryton13:50
-!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton13:57
-!- marga(~marga@nereida.gnuservers.com.ar) has joined #tryton14:25
-!- JamesPharaoh(~james@50.50.219.87.dynamic.jazztel.es) has joined #tryton15:00
-!- elbenfreund(~elbenfreu@p54B955EA.dip.t-dialin.net) has joined #tryton15:50
-!- pepeu(~manuel@201.155.193.192) has joined #tryton16:01
-!- marc0s(~marc0s@unaffiliated/marc0s) has joined #tryton16:11
marc0shi16:11
-!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton16:21
-!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton16:27
-!- zodman1(~zodman1@189.253.138.72) has joined #tryton16:27
-!- hoRn(~chatzilla@dslb-094-223-191-011.pools.arcor-ip.net) has joined #tryton16:38
hoRnhi16:38
hoRnshort question: I have a product = fields.Function(fields.Many2One('product.product', 'Product'),'get_product', searcher='search_product')16:43
hoRnin an other model i wanna call this model with a doamin - product is False. domain=[('product', '=', False)] - but it seems, that a function.Field is never False16:43
-!- pepeu(~manuel@201.155.193.192) has joined #tryton16:48
cedkhoRn: it depends of your searcher method16:49
hoRncedk16:50
hoRncedk: ok16:50
hoRncedk: I will print the result of my searcher16:51
hoRni don't understand my own model ;)16:55
cedkhoRn: that's an issue :-)16:55
hoRncedk: could be bad design. I have an object production_specification. you can do so much specifications you want - but if it referenced by an product, its a fixed relation16:57
hoRni can't explain what I'm doing because I'm still modelling the strangest businesscase i've ever heart16:58
hoRnthe result of the searcher is an empty list16:59
cedkhoRn: empty list means any records17:02
hoRncedk: ok - i want all records with an 'empty' - function field17:05
cedkhoRn: you must return in the searcher a domain that means that17:06
hoRncedk: so my searcher is wrong?17:07
cedkhoRn: yes it returns a wrong domain17:11
hoRncedk: rok - i was thinkink half an hour for returning a wrong domain? What a pity.17:13
hoRncedk: need to think half a hour more17:14
hoRncedk: can i abuse you with the searcher?17:16
cedkhoRn: if you want17:17
hoRncedk: http://pastie.org/150911217:25
hoRncedk: my aim is to get all coating.lines not yet associated to a product with the domain17:26
marc0sany clue about why module's strings don't appear translated? i've checked that the modules have the proper es_ES.csv tryton dialogs appear correctly translated17:31
cedkhoRn: I don't understand why you use a function field17:32
cedkhoRn: it looks like a One2Many?17:32
hoRncedk: if you think about why I'm doing this: the specification is a note about the needs of a production case. sometimes is only related to a specific product. so the specification is related to a special product. sometimes is a more global specification - than its related to a project17:32
cedkmarc0s: is it defined in __tryton__.py ?17:32
marc0scedk: didn't check... let's see17:33
marc0scedk: yes, it is17:33
cedkhoRn: I don't understand your modelisation17:33
marc0scedk: should the module be installed after defining the language or something like that?17:33
-!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton17:34
-!- enlightx(~enlightx@dynamic-adsl-94-34-226-200.clienti.tiscali.it) has joined #tryton17:34
cedkmarc0s: ho, the module description is defined in __tryton__.py and you must define a description for your language17:34
marc0scedk: i see, i meant after setting up the language of the user17:35
cedkhoRn: because in get_product you take the first product you find, that sounds very strange and unpridectible17:35
cedkmarc0s: yes17:36
marc0scedk: it's not about a module i'm writing, just the default product one17:36
cedkmarc0s: so you must select this language for your user17:36
cedkmarc0s: and the language must be checked as translatable17:36
marc0scedk: so far i've already done that17:37
marc0scedk: i've upgraded the module through the modules administration and now its strings appear translated17:38
cedkmarc0s: did you restart the server between the time you set the language as translatable?17:38
marc0scedk: uhm... i don't remember now... probably not17:38
-!- pepeu(~manuel@201.155.193.192) has joined #tryton17:38
marc0scedk: i'll restart it now and check if the others modules appear translated17:39
cedkmarc0s: ok are you talking about the module description not translated or the all software?17:39
hoRncedk: my model is the result of the effort to modeling  a very strange usecase ;)17:39
marc0scedk: all the module strings that show up in the client, not just the description17:39
marc0scedk: just run an --update=all on the server and all the modules appear translated17:43
cedkmarc0s: in the module list ?17:44
marc0scedk: no, shut down the server and run ./trytond --update=all --database=foo17:44
hoRnmarc0s: thats right - or you nedd to update the translations manually in the addministration>>localisation-menu17:46
hoRnhuii - syntax error everywhere17:46
marc0shoRn: the sync translations action, maybe?17:46
cedkmarc0s: I would like to understand what was not translated?17:47
marc0scedk: menus, fields' labels, ...17:47
cedkmarc0s: ok so it requires a update all after you change the language into translatable17:48
marc0scedk: ok, that's what i wasn't aware of :)17:48
hoRnmarc0s: b.t.w. - is there a trytonic way to overwrite some translations of standard modules without undermining the update of this modules?17:51
hoRn@all17:51
marc0shoRn: i've started to try tryton today, so... can give you no much help :)17:51
cedkhoRn: not really17:52
cedkhoRn: by the way, I can not help you with the searcher as I don't understand the design17:53
hoRncedk: a flag 'manual_translated' in the translations would be nice17:53
marc0scedk: i assume then that translation data from modules is not loaded into the database if the language is not marked as 'translatable', right?17:53
cedkmarc0s: correct17:53
marc0scedk: and that this is done on the module initialization, hence the required update17:54
cedkmarc0s: yes17:55
hoRncedk: if you can't help me, the things are doesn't look too rosy ;)17:56
cedkhoRn: no but if you can explain me why you use such data model...18:00
-!- GasbaKid(~GasbaKid@41.96.114.108) has joined #tryton18:04
hoRncedk: my project is for a coating company. they have products which are requested 1000++ times a year- this products are having a fixed specifications of the production instructions. BUT: there are projects only done one-time. so i need a model that can be related to a project or to a product18:06
cedkhoRn: I don't see that in the code you copy/paste18:08
cedkhoRn: but why not using reference field?18:08
hoRncedk: will take a look18:09
hoRncedk: ok - i don't have noticed the possibilities of the reference field18:11
-!- zodman1(~zodman1@189.253.138.72) has joined #tryton18:28
-!- paepke(~paepke@p4FEB1AA4.dip0.t-ipconnect.de) has left #tryton18:33
-!- GasbaKid(~GasbaKid@41.96.114.108) has joined #tryton18:52
-!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton19:27
-!- woakas(~woakas@200.106.202.91) has joined #tryton19:39
-!- zodman1(~zodman1@189.253.138.72) has left #tryton19:48
-!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton20:11
-!- gremly(~gremly@190.127.249.121) has joined #tryton20:21
-!- pepeu(~manuel@201.155.193.192) has joined #tryton20:47
-!- JamesPharaoh(~james@76.50.219.87.dynamic.jazztel.es) has joined #tryton20:48
-!- heffer(~felix@fedora/heffer) has joined #tryton21:34
-!- kwmiebach(~ad@xdsl-78-34-248-75.netcologne.de) has joined #tryton22:29
-!- GasbaKid(~GasbaKid@41.96.119.217) has joined #tryton22:32
-!- predatell(~werty@195.189.234.248) has joined #tryton23:10
-!- GasbaKid(~GasbaKid@41.96.119.217) has joined #tryton23:53

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