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

chat.freenode.net #tryton log beginning Sat Jan 29 00:00:02 CET 2011
2011-01-29 00:14 <plantian> Is it necessary for modules listed in --init= to be ordered by dependence?
2011-01-29 00:14 <cedk> plantian: no
2011-01-29 00:15 <plantian> cedk: okay, thanks
2011-01-29 00:17 <plantian> cedk: Have you ever seen an error like this -- http://paste.pocoo.org/show/328539/
2011-01-29 00:26 <cedk> plantian: are you not mixing 1.4.0 with later release
2011-01-29 00:32 -!- nicoe_(~nicoe@200.122-247-81.adsl-dyn.isp.belgacom.be) has joined #tryton
2011-01-29 00:33 <plantian> cedk: 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.
2011-01-29 01:47 -!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has joined #tryton
2011-01-29 01:47 -!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has left #tryton
2011-01-29 03:02 -!- gremly(~gremly@190.127.249.122) has joined #tryton
2011-01-29 04:05 -!- FWiesing(~franz@mail.tryton.at) has left #tryton
2011-01-29 05:18 -!- yangoon(~mathiasb@p549F5E5E.dip.t-dialin.net) has joined #tryton
2011-01-29 05:56 -!- zodman(~zodman@foresight/developer/zodman) has joined #tryton
2011-01-29 07:36 -!- gavinf(~gavinf@196-215-79-176.dynamic.isadsl.co.za) has joined #tryton
2011-01-29 08:32 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton
2011-01-29 09:30 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-01-29 10:03 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton
2011-01-29 10:25 -!- Timitos(~kp@88.217.184.172) has joined #tryton
2011-01-29 10:26 -!- kwmiebach(~ad@xdsl-87-79-170-244.netcologne.de) has joined #tryton
2011-01-29 10:53 -!- chrue(~chrue@host-091-097-084-194.ewe-ip-backbone.de) has joined #tryton
2011-01-29 11:03 -!- FWiesing(~franz@mail.tryton.at) has joined #tryton
2011-01-29 11:29 -!- paepke(~paepke@p4FEB01F9.dip0.t-ipconnect.de) has joined #tryton
2011-01-29 11:54 -!- Gerald_E(~quassel@ip-240-3.pel.cz) has joined #tryton
2011-01-29 11:54 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton
2011-01-29 12:17 -!- johbo_(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton
2011-01-29 12:34 -!- chrue1(~chrue@95.33.157.254) has joined #tryton
2011-01-29 12:53 -!- juanfer(~juanfer@190.27.116.46) has joined #tryton
2011-01-29 13:05 -!- carlos(~cperello@81.202.144.53.dyn.user.ono.com) has joined #tryton
2011-01-29 13:50 -!- paepke(~paepke@p4FEB1AA4.dip0.t-ipconnect.de) has joined #tryton
2011-01-29 13:57 -!- enlightx(~enlightx@static-217-133-61-144.clienti.tiscali.it) has joined #tryton
2011-01-29 14:25 -!- marga(~marga@nereida.gnuservers.com.ar) has joined #tryton
2011-01-29 15:00 -!- JamesPharaoh(~james@50.50.219.87.dynamic.jazztel.es) has joined #tryton
2011-01-29 15:50 -!- elbenfreund(~elbenfreu@p54B955EA.dip.t-dialin.net) has joined #tryton
2011-01-29 16:01 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2011-01-29 16:11 -!- marc0s(~marc0s@unaffiliated/marc0s) has joined #tryton
2011-01-29 16:11 <marc0s> hi
2011-01-29 16:21 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton
2011-01-29 16:27 -!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton
2011-01-29 16:27 -!- zodman1(~zodman1@189.253.138.72) has joined #tryton
2011-01-29 16:38 -!- hoRn(~chatzilla@dslb-094-223-191-011.pools.arcor-ip.net) has joined #tryton
2011-01-29 16:38 <hoRn> hi
2011-01-29 16:43 <hoRn> short question: I have a product = fields.Function(fields.Many2One('product.product', 'Product'),'get_product', searcher='search_product')
2011-01-29 16:43 <hoRn> in 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 False
2011-01-29 16:48 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2011-01-29 16:49 <cedk> hoRn: it depends of your searcher method
2011-01-29 16:50 <hoRn> cedk
2011-01-29 16:50 <hoRn> cedk: ok
2011-01-29 16:51 <hoRn> cedk: I will print the result of my searcher
2011-01-29 16:55 <hoRn> i don't understand my own model ;)
2011-01-29 16:55 <cedk> hoRn: that's an issue :-)
2011-01-29 16:57 <hoRn> cedk: 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 relation
2011-01-29 16:58 <hoRn> i can't explain what I'm doing because I'm still modelling the strangest businesscase i've ever heart
2011-01-29 16:59 <hoRn> the result of the searcher is an empty list
2011-01-29 17:02 <cedk> hoRn: empty list means any records
2011-01-29 17:05 <hoRn> cedk: ok - i want all records with an 'empty' - function field
2011-01-29 17:06 <cedk> hoRn: you must return in the searcher a domain that means that
2011-01-29 17:07 <hoRn> cedk: so my searcher is wrong?
2011-01-29 17:11 <cedk> hoRn: yes it returns a wrong domain
2011-01-29 17:13 <hoRn> cedk: rok - i was thinkink half an hour for returning a wrong domain? What a pity.
2011-01-29 17:14 <hoRn> cedk: need to think half a hour more
2011-01-29 17:16 <hoRn> cedk: can i abuse you with the searcher?
2011-01-29 17:17 <cedk> hoRn: if you want
2011-01-29 17:25 <hoRn> cedk: http://pastie.org/1509112
2011-01-29 17:26 <hoRn> cedk: my aim is to get all coating.lines not yet associated to a product with the domain
2011-01-29 17:31 <marc0s> any 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 translated
2011-01-29 17:32 <cedk> hoRn: I don't understand why you use a function field
2011-01-29 17:32 <cedk> hoRn: it looks like a One2Many?
2011-01-29 17:32 <hoRn> cedk: 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 project
2011-01-29 17:32 <cedk> marc0s: is it defined in __tryton__.py ?
2011-01-29 17:33 <marc0s> cedk: didn't check... let's see
2011-01-29 17:33 <marc0s> cedk: yes, it is
2011-01-29 17:33 <cedk> hoRn: I don't understand your modelisation
2011-01-29 17:33 <marc0s> cedk: should the module be installed after defining the language or something like that?
2011-01-29 17:34 -!- bechamel(~user@host-85-201-144-79.brutele.be) has joined #tryton
2011-01-29 17:34 -!- enlightx(~enlightx@dynamic-adsl-94-34-226-200.clienti.tiscali.it) has joined #tryton
2011-01-29 17:34 <cedk> marc0s: ho, the module description is defined in __tryton__.py and you must define a description for your language
2011-01-29 17:35 <marc0s> cedk: i see, i meant after setting up the language of the user
2011-01-29 17:35 <cedk> hoRn: because in get_product you take the first product you find, that sounds very strange and unpridectible
2011-01-29 17:36 <cedk> marc0s: yes
2011-01-29 17:36 <marc0s> cedk: it's not about a module i'm writing, just the default product one
2011-01-29 17:36 <cedk> marc0s: so you must select this language for your user
2011-01-29 17:36 <cedk> marc0s: and the language must be checked as translatable
2011-01-29 17:37 <marc0s> cedk: so far i've already done that
2011-01-29 17:38 <marc0s> cedk: i've upgraded the module through the modules administration and now its strings appear translated
2011-01-29 17:38 <cedk> marc0s: did you restart the server between the time you set the language as translatable?
2011-01-29 17:38 <marc0s> cedk: uhm... i don't remember now... probably not
2011-01-29 17:38 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2011-01-29 17:39 <marc0s> cedk: i'll restart it now and check if the others modules appear translated
2011-01-29 17:39 <cedk> marc0s: ok are you talking about the module description not translated or the all software?
2011-01-29 17:39 <hoRn> cedk: my model is the result of the effort to modeling a very strange usecase ;)
2011-01-29 17:39 <marc0s> cedk: all the module strings that show up in the client, not just the description
2011-01-29 17:43 <marc0s> cedk: just run an --update=all on the server and all the modules appear translated
2011-01-29 17:44 <cedk> marc0s: in the module list ?
2011-01-29 17:44 <marc0s> cedk: no, shut down the server and run ./trytond --update=all --database=foo
2011-01-29 17:46 <hoRn> marc0s: thats right - or you nedd to update the translations manually in the addministration>>localisation-menu
2011-01-29 17:46 <hoRn> huii - syntax error everywhere
2011-01-29 17:46 <marc0s> hoRn: the sync translations action, maybe?
2011-01-29 17:47 <cedk> marc0s: I would like to understand what was not translated?
2011-01-29 17:47 <marc0s> cedk: menus, fields' labels, ...
2011-01-29 17:48 <cedk> marc0s: ok so it requires a update all after you change the language into translatable
2011-01-29 17:48 <marc0s> cedk: ok, that's what i wasn't aware of :)
2011-01-29 17:51 <hoRn> marc0s: b.t.w. - is there a trytonic way to overwrite some translations of standard modules without undermining the update of this modules?
2011-01-29 17:51 <hoRn> @all
2011-01-29 17:51 <marc0s> hoRn: i've started to try tryton today, so... can give you no much help :)
2011-01-29 17:52 <cedk> hoRn: not really
2011-01-29 17:53 <cedk> hoRn: by the way, I can not help you with the searcher as I don't understand the design
2011-01-29 17:53 <hoRn> cedk: a flag 'manual_translated' in the translations would be nice
2011-01-29 17:53 <marc0s> cedk: i assume then that translation data from modules is not loaded into the database if the language is not marked as 'translatable', right?
2011-01-29 17:53 <cedk> marc0s: correct
2011-01-29 17:54 <marc0s> cedk: and that this is done on the module initialization, hence the required update
2011-01-29 17:55 <cedk> marc0s: yes
2011-01-29 17:56 <hoRn> cedk: if you can't help me, the things are doesn't look too rosy ;)
2011-01-29 18:00 <cedk> hoRn: no but if you can explain me why you use such data model...
2011-01-29 18:04 -!- GasbaKid(~GasbaKid@41.96.114.108) has joined #tryton
2011-01-29 18:06 <hoRn> cedk: 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 product
2011-01-29 18:08 <cedk> hoRn: I don't see that in the code you copy/paste
2011-01-29 18:08 <cedk> hoRn: but why not using reference field?
2011-01-29 18:09 <hoRn> cedk: will take a look
2011-01-29 18:11 <hoRn> cedk: ok - i don't have noticed the possibilities of the reference field
2011-01-29 18:28 -!- zodman1(~zodman1@189.253.138.72) has joined #tryton
2011-01-29 18:33 -!- paepke(~paepke@p4FEB1AA4.dip0.t-ipconnect.de) has left #tryton
2011-01-29 18:52 -!- GasbaKid(~GasbaKid@41.96.114.108) has joined #tryton
2011-01-29 19:27 -!- Lo-lan-do(~roland@mirexpress.internal.placard.fr.eu.org) has joined #tryton
2011-01-29 19:39 -!- woakas(~woakas@200.106.202.91) has joined #tryton
2011-01-29 19:48 -!- zodman1(~zodman1@189.253.138.72) has left #tryton
2011-01-29 20:11 -!- Vladimirek(~vladimir@bband-dyn213.178-41-22.t-com.sk) has joined #tryton
2011-01-29 20:21 -!- gremly(~gremly@190.127.249.121) has joined #tryton
2011-01-29 20:47 -!- pepeu(~manuel@201.155.193.192) has joined #tryton
2011-01-29 20:48 -!- JamesPharaoh(~james@76.50.219.87.dynamic.jazztel.es) has joined #tryton
2011-01-29 21:34 -!- heffer(~felix@fedora/heffer) has joined #tryton
2011-01-29 22:29 -!- kwmiebach(~ad@xdsl-78-34-248-75.netcologne.de) has joined #tryton
2011-01-29 22:32 -!- GasbaKid(~GasbaKid@41.96.119.217) has joined #tryton
2011-01-29 23:10 -!- predatell(~werty@195.189.234.248) has joined #tryton
2011-01-29 23:53 -!- GasbaKid(~GasbaKid@41.96.119.217) has joined #tryton

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