IRC logs of #tryton for Wednesday, 2008-08-13

chat.freenode.net #tryton log beginning Wed Aug 13 00:00:01 CEST 2008
2008-08-13 07:15 -!- FWiesing(n=Wiesinge@194.208.185.12) has joined #tryton
2008-08-13 08:08 -!- leyoda(n=leyoda@pic33-1-87-88-179-8.dsl.club-internet.fr) has joined #tryton
2008-08-13 08:23 -!- Gedd(n=ged@77.109.115.86) has joined #tryton
2008-08-13 08:54 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-13 09:06 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-08-13 09:07 -!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton
2008-08-13 09:08 -!- cedk_(n=ced@ced.homedns.org) has joined #tryton
2008-08-13 09:32 -!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton
2008-08-13 09:43 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-13 09:43 <gadaga> hi
2008-08-13 10:09 <CIA-54> tryton: Timitos roundup * #250/account types - equity as parent of income: [new] setting equity as parent of income is a good change but now income statement is not working any more. I will provide a patch for this issue.
2008-08-13 10:15 -!- gael_(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-13 10:25 <CIA-54> tryton: Timitos roundup * #250/account types - equity as parent of income: [testing] this patch fixes the issue.
2008-08-13 10:27 <CIA-54> tryton: udono roundup * #249/Network is unreachable: Another strange thing is that I have to encode the password two times to login, after connection refused. This behavior is an alert for the securi ...
2008-08-13 10:28 <udono> hi all
2008-08-13 10:28 <Timitos> udono: hi
2008-08-13 10:43 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-13 11:07 <udono> Must class: name be unique for the system? Or can I use a class: Party in another module than relationship?
2008-08-13 11:07 <cedk> udono: no problems
2008-08-13 11:08 <udono> cedk: Thanks
2008-08-13 11:08 -!- kultviech(n=kultviec@p5B0D065D.dip0.t-ipconnect.de) has joined #tryton
2008-08-13 11:08 <cedk> udono: juste named only once in a file
2008-08-13 11:08 <cedk> udono: but it will not really be a problem
2008-08-13 11:08 <udono> cedk: it's standard Python, I like it.
2008-08-13 11:09 <leyoda> cedk: just finished a total installation of Tryton server and client under Leopard 10.5.4 with macports 1.6 and wants to do a documentation for the wiki, but I have a little pb no gtl icons of the menubar are visible, whick gtk theme you use ?
2008-08-13 11:10 <udono> cedk: but the _name attribute have to be unique, except I like to inherit/overwite them...
2008-08-13 11:11 <cedk> udono: yes
2008-08-13 11:11 <cedk> leyoda: all icons are in share/pixmaps/
2008-08-13 11:13 <cedk> leyoda: and by default tryton use the gtk setting to display or not the icons in menu bar
2008-08-13 11:15 -!- bechamel`(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton
2008-08-13 11:17 <leyoda> cedk: ok so ... if icons are not visible what can I look at to resolve this small problem
2008-08-13 11:18 <cedk> leyoda: do you see icon in the menu (folder, document, etc..)?
2008-08-13 11:18 <cedk> leyoda: otherwise go to options>Menubar and select Text and Icons
2008-08-13 11:19 <leyoda> cedk: done since the beginning but no way I sent you by email a capture
2008-08-13 11:30 -!- Timitos(n=Timitos@88.217.184.172) has joined #tryton
2008-08-13 11:43 -!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton
2008-08-13 11:44 <leyoda> cedk: so ... an idea ? no errors in logs
2008-08-13 11:45 <cedk> leyoda: I have no log error
2008-08-13 11:49 <cedk> leyoda: by the way, the best way to report bug is http://bugs.tryton.org/
2008-08-13 11:50 <cedk> leyoda: like that we have a knowledge database
2008-08-13 11:53 -!- kultviech(n=kultviec@p5B0D065D.dip0.t-ipconnect.de) has left #tryton
2008-08-13 12:10 <CIA-54> tryton: Timitos roundup * #227/translation of client does not work under windows: [testing] with this patch client translation is working on windows xp
2008-08-13 12:12 <cedk> Timitos: what do you have in the LANG variable?
2008-08-13 12:12 <Timitos> leyoda: if you can make the wiki entry for installation on macos x i can also try and have a look. but i have only mac os x 10.3 here
2008-08-13 12:13 <cedk> Timitos: for the issue250, don't assign it to you if you want that we put the patch
2008-08-13 12:13 <Timitos> cedk: ok. sorry i forgot
2008-08-13 12:14 <Timitos> cedk: lang = os.getenv('LANG') its an environment variable from ox
2008-08-13 12:14 <Timitos> os
2008-08-13 12:14 <leyoda> Timitos: ok I will done as soon as possible but with the 10.3 I m not sure you can use de X11 2.2.3 or X11 2.3.0
2008-08-13 12:14 <Timitos> cedk: on my machine it is None
2008-08-13 12:15 <Timitos> leyoda: ok i will see if i find some guy having 10.5
2008-08-13 12:15 <Timitos> leyoda: what about 10.4?
2008-08-13 12:16 <CIA-54> tryton: Timitos roundup * #250/account types - equity as parent of income: forgot to change assignment of issue
2008-08-13 12:16 <leyoda> Timitos: same :(
2008-08-13 12:16 <Timitos> ok. so i will look for 10.5 :-)
2008-08-13 12:18 <CIA-54> tryton: Timitos roundup * #227/translation of client does not work under windows: some more info about my patch http://www.nabble.com/Using-gettext,-where-am-I-doing-mistake-td16946215.html
2008-08-13 12:23 <cedk> leyoda: and when you connect to the server is there folder icon in the menu view ?
2008-08-13 12:25 <cedk> Timitos: I don't understand your patch for translation because you set LANG variable to unix locale name and not with the windows name
2008-08-13 12:26 <leyoda> cedk: no
2008-08-13 12:26 <Timitos> cedk: did you take a look on the link i sent later?
2008-08-13 12:28 <Timitos> cedk: the funny thing is, that it is working. i think the important thing is, that os.environ['LANG'] must have a value before using setlocale
2008-08-13 12:29 <cedk> leyoda: I think this is because you gtk+ doesn't handle svg format
2008-08-13 12:29 <cedk> Timitos: yes but which value?
2008-08-13 12:29 <cedk> Timitos: de_DE or German_Germany ?
2008-08-13 12:29 <Timitos> with my code it is set to de_DE and it is working.
2008-08-13 12:30 <cedk> ok
2008-08-13 12:30 <cedk> Timitos: I will make the change but I will not use your patch because there is some mistake
2008-08-13 12:30 <Timitos> default_lang, default_enc = locale.getdefaultlocale() : this line brings the value de_DE on my machine
2008-08-13 12:31 <cedk> Timitos: we must force to use the language from the server and don't care about the LANG value
2008-08-13 12:33 <Timitos> cedk: the only thing i want is that translation is working on windows. i am not a native developper so i think you will surely find a better way to make it work. but i hope my information was helpful.
2008-08-13 12:34 <Timitos> cedk: yes you are right. my patch uses language from the system not from the settings of the user.
2008-08-13 12:36 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 640:d3f277265218 tryton/tryton/translate.py: Set LANG variable for win32 for issue227
2008-08-13 12:37 <CIA-54> tryton: ced roundup * #227/translation of client does not work under windows: [resolved] Fix with changeset d3f277265218
2008-08-13 12:37 <cedk> Timitos: can you test with this changeset
2008-08-13 12:37 <Timitos> cedk: just a minute
2008-08-13 12:38 <leyoda> cedk: DONE! in fact I must add the librsvg in the installation under Leopard and it work ;-) thanks
2008-08-13 12:39 <leyoda> cedk: just need to test all prints under Leopard with Apercu now
2008-08-13 12:39 <Timitos> cedk: it is working. but now i get a warning: WARNING:translate:Unable to unset locale
2008-08-13 12:41 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 641:a3f511b8b568 tryton/tryton/translate.py: Argument for LANG must be string and not None
2008-08-13 12:41 <cedk> Timitos: and with this one
2008-08-13 12:43 <Timitos> cedk: ok. the warning disappeared. Great!
2008-08-13 12:44 <Timitos> cedk: but stop. now translation is not working ?????
2008-08-13 12:44 -!- kultviech(n=kultviec@p54976648.dip.t-dialin.net) has joined #tryton
2008-08-13 12:45 <gadaga> cedk: in account.payment_term.line what do you think about make a default_currency by value of company.currency ?
2008-08-13 12:47 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 642:84f72008ec8e tryton/tryton/translate.py: Don't call setlocale on win32 with lang = None
2008-08-13 12:47 <cedk> Timitos: and now?
2008-08-13 12:48 <cedk> gadaga: payment term are not linked to a company
2008-08-13 12:48 <Timitos> cedk: stop. was my mistake. need to work more with mercurical :-[.
2008-08-13 12:48 <Timitos> cedk: with changeset 641 everything is working.
2008-08-13 12:49 <cedk> Timitos: sure ?
2008-08-13 12:49 <Timitos> cedk: yes
2008-08-13 12:49 <Timitos> cedk: translation working and no warning
2008-08-13 12:49 <cedk> Timitos: so I revert 642
2008-08-13 12:49 <Timitos> cedk: yes
2008-08-13 12:50 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 643:c3f90820d294 tryton/tryton/translate.py: Backed out changeset 84f72008ec8e
2008-08-13 13:39 <udono> hello, I need some assistance on domain's, has someone a little bit time?
2008-08-13 13:40 <udono> The relationship_party_roles module is nearly ready but needs some domains ...
2008-08-13 13:40 <udono> You can download and test it via http://mercurial.intuxication.org/hg/relationship_party_role
2008-08-13 13:49 <udono> My problem: I have a class PartyRole with an one2many attribute to the class Role, the class Role has an one2many attribute to a class RoleType
2008-08-13 13:53 <udono> I need in the class PartyRole a list of all roles with RoleType.name != "Title"
2008-08-13 13:53 <udono> any suggestion welcome
2008-08-13 13:57 <bechamel> udono: if you look in trytond/modules/stock/move.xml line 94 your will see that it's possible to put a dot on the left side of the expresion ('from_location.type', '=', 'supplier').
2008-08-13 13:58 <udono> bechamel: ah yes, I doesn't recognized before, thanks
2008-08-13 14:07 <udono> bechamel: hmm I try it with domain="[('relationship_role_type.name', '!=', 'Title')]" on role attribute in PartyRole class, but I get an error... http://paste.pocoo.org/show/82083/
2008-08-13 14:08 <udono> bechamel: and the whole list is empty...
2008-08-13 14:10 <bechamel> try whitout quotes around your domain
2008-08-13 14:10 <bechamel> udono: hum your domain is defined in python or in the xml ?
2008-08-13 14:11 <udono> bechamel: its in python
2008-08-13 14:11 <bechamel> udono: so quotes are ok
2008-08-13 14:12 <bechamel> udono: no sorry, remove them
2008-08-13 14:12 <udono> bechamel: ok, done, works. Error away, now next error: http://paste.pocoo.org/show/82084/
2008-08-13 14:13 <udono> :-)
2008-08-13 14:13 <udono> bechamel: just wait, I try myself
2008-08-13 14:17 <udono> bechamel: is it possible to use relationship_role_type.name in python, too? Because Tryton say: http://paste.pocoo.org/show/82085/
2008-08-13 14:17 <udono> bechamel: Tryton recognize relationship_role_type as a name, not a table...
2008-08-13 14:18 <bechamel> udono: yes, domain are expressed on the fields of the current object
2008-08-13 14:18 <bechamel> udono: so you have to use the name of the field who link your object with relationship_role_type
2008-08-13 14:20 <udono> bechamel: ok, try
2008-08-13 14:21 <udono> bechamel: is this possible: relationship_role.relationship_role_type.name
2008-08-13 14:21 <udono> bechamel: having two dots?
2008-08-13 14:21 <bechamel> udono: i dont think but i'm not sure
2008-08-13 14:25 <udono> bechamel: no doesn't work... I have no idea to go further.
2008-08-13 14:26 <cedk> udono: you must set "[('name', '!=', 'Title')]"
2008-08-13 14:29 -!- leyoda(n=leyoda@pic33-1-87-88-179-8.dsl.club-internet.fr) has joined #tryton
2008-08-13 14:32 <udono> cedk: doesn't work, sorry all are included even this with title: The produced SQL is this: SELECT relationship_role.id FROM "relationship_role" WHERE ((relationship_role.name != %s) AND (relationship_role.active = %s)) ORDER BY relationship_role.id ASC,relationship_role.name ASC Params: [u'Title', 'True']
2008-08-13 14:33 <cedk> udono: this SQL seems good
2008-08-13 14:35 <udono> cedk: no, WHERE ((relationship_role.name != %s) is wron, because I need this: I have a class PartyRole with an one2many attribute to the class Role, the class Role has an one2many attribute to a class RoleType I need in the class PartyRole a list of all roles with RoleType.name != "Title"
2008-08-13 14:36 <cedk> udono: so put the domain I say on the one2many field of Role
2008-08-13 14:37 <udono> cedk: ok, but on Role I need the Titles for layouting the tree...
2008-08-13 14:38 <cedk> udono: I don't understand
2008-08-13 14:40 <udono> cedk: I need to restrict the Domain just in PartyRole, but in Role it shouldn't be restricted. I need something like this: select * from relationship_role where type in (select id from relationship_role_type where name != 'Title');
2008-08-13 14:40 <cedk> udono: so put the domain in the view
2008-08-13 14:41 <cedk> udono: but it seems to me suspicious
2008-08-13 14:41 <udono> cedk: why
2008-08-13 14:41 <udono> ?
2008-08-13 14:41 <cedk> udono: domain like that
2008-08-13 14:42 <cedk> udono: if you are on this view you can not see everything but if you are on this other view you can
2008-08-13 14:43 <udono> cedk: yes. I want to filter Roles which are just Titles for the classification in a tree.
2008-08-13 14:44 <udono> cedk: So I need to see them in the classification view, and to filter them in the view where I choose the Roles for a Party...
2008-08-13 14:45 <cedk> udono: so there is no problem to put the domain on the PartyRole field
2008-08-13 14:46 <udono> cedk: yes, the domain is just for the PartyRole, but not for Role self.
2008-08-13 14:46 <cedk> udono: so that what I sy
2008-08-13 14:49 <udono> cedk: but it doesnt work... but I see my description has been wrong... one2many is wrong, its all many2one... I make an example paste
2008-08-13 14:56 <udono> cedk: bechamel: maybe this helps: http://paste.pocoo.org/show/82088/
2008-08-13 14:57 -!- kultviech(n=kultviec@p54976648.dip.t-dialin.net) has left #tryton
2008-08-13 15:04 <cedk> udono: the only way I see is to create two view for relationship.role one for the one in relationship.party.role with the domain and one for other use
2008-08-13 15:04 <cedk> udono: but I find this very strange
2008-08-13 15:05 <cedk> udono: if you can not use the name Title why is it there
2008-08-13 15:06 <udono> cedk: Because its a title for some roles, and not a role self.
2008-08-13 15:07 <cedk> udono: I find this very strange if it is not a role why is it there as type of a role ?
2008-08-13 15:07 <udono> cedk: it is a type title, not role.
2008-08-13 15:08 <udono> it is like invoice_line type view
2008-08-13 15:08 <udono> cedk: you cann not put taxes or amounts on this invoice lines...
2008-08-13 15:08 <cedk> udono: no because we allow to use any type of invoice line
2008-08-13 15:09 <cedk> udono: it doesn't depend of if we come from invoice or refund, etc...
2008-08-13 15:10 <cedk> udono: perhaps you try to merge two things in one object
2008-08-13 15:12 <udono> cedk: ok, I understand and think about. Maybe there is no problem, and just strange thoughts of me, like you mentioned.
2008-08-13 15:12 <udono> cedk: I will let it as it is. Maybe later in use we finde some better ideas...
2008-08-13 15:13 <udono> cedk: Thanks for clearing :-)
2008-08-13 16:03 <leyoda> cedk: about invoice date the format is amaerican format how to do to have franch format JJ/MM/AAAA ?
2008-08-13 16:07 <cedk> leyoda: set the user language to french
2008-08-13 16:21 <leyoda> cdek: it's done since the beginning but no way
2008-08-13 16:28 <cedk> leyoda: have the french locale on the host
2008-08-13 16:29 <leyoda> cedk: it's leopard so can you give me the exact environement variable you nedd because these are not necessary on Mac OSX
2008-08-13 16:29 -!- Gedd(n=ged@77.109.115.86) has joined #tryton
2008-08-13 16:31 <cedk> leyoda: leopard need to have info to format date for the french
2008-08-13 16:36 <leyoda> cedk: no variables like linux have define for that they probably have another file generate by 'international' who actualy is in french so I will export a variable for tryton
2008-08-13 16:36 <leyoda> cedk: I have a warnin on the server like : WARNING:web-service:Report account.invoice: unable to set locale "fr_FR.mac-roman"
2008-08-13 16:38 <cedk> leyoda: it seems that you don't have the fr_FR locales
2008-08-13 16:55 <leyoda> cedk: If I define in the /etc/profile the variable LANG=fr_FR.UTF-8 , it's ok it works
2008-08-13 16:58 <cedk> leyoda: can you run this in python: locale.setlocale(locale.LC_ALL, 'fr_FR')
2008-08-13 16:59 <leyoda> cedk: euh ... it's ok in the interfcae but if I print the proforma the date is always in american format
2008-08-13 16:59 <leyoda> cedk: Python 2.5.2 (r252:60911, Aug 12 2008, 10:45:54)
2008-08-13 16:59 <leyoda> [GCC 4.0.1 (Apple Inc. build 5465)] on darwin
2008-08-13 16:59 <leyoda> Type "help", "copyright", "credits" or "license" for more information.
2008-08-13 16:59 <leyoda> >>> locale.setlocale(locale.LC_ALL, 'fr_FR')
2008-08-13 16:59 <leyoda> Traceback (most recent call last):
2008-08-13 17:00 <leyoda> File "<stdin>", line 1, in <module>
2008-08-13 17:00 <leyoda> NameError: name 'locale' is not defined
2008-08-13 17:01 <cedk> leyoda: import locale
2008-08-13 17:03 <leyoda> cedk: oups I saw the result .. 'fr_FR' but I always have WARNING:web-service:Report account.invoice: unable to set locale "fr_FR.mac-roman"
2008-08-13 17:05 <cedk> leyoda: and with this: locale.setlocale(locale.LC_ALL, 'fr_FR.UTF-8')
2008-08-13 17:07 <leyoda> cedk: 'fr_FR.UTF-8'
2008-08-13 17:37 <CIA-54> tryton: udono roundup * #251/KeyError: 'Aktuelle Sicht \xc3\x9cbersetzen': [new] Traceback (most recent call last): File "/tryton/gui/main.py", line 498, in sig_plugin_execute tryton.plugin.execute(datas, self.windo ...
2008-08-13 17:38 <leyoda> cedk: some ideas about this WARNING:web-service:Report account.invoice: unable to set locale "fr_FR.mac-roman"
2008-08-13 17:39 <CIA-54> tryton: udono roundup * #251/KeyError: 'Aktuelle Sicht \xc3\x9cbersetzen': [chatting] This error happens when open a client plugin (translate view in this case) the plugin is translated in "Aktuelle Sicht \xc3\x9cbersetze ...
2008-08-13 17:41 <gadaga> cedk, bechamel : i've just seen that we have a module name 'sale' in mercurial, when you think that you finish it?
2008-08-13 17:54 <ansxx> do any of you already worked with tinyerp reports ?
2008-08-13 18:01 <cedk> gadaga: I don't know
2008-08-13 18:01 <cedk> leyoda: it is the same as for the client
2008-08-13 18:22 <leyoda> cedk: nop , onnly on the server
2008-08-13 18:23 <cedk> leyoda: it is the same problem as for the client
2008-08-13 18:25 <cedk> ansxx: Tryton report has a more powerfull syntax
2008-08-13 18:25 <ansxx> I just found out about my problem :P
2008-08-13 18:26 <ansxx> using OOo sections for block repeating sounds quite strange to me
2008-08-13 18:27 <cedk> ansxx: it is because of the poor syntax used
2008-08-13 18:41 <ansxx> yep :/
2008-08-13 18:41 <ansxx> what's tryton exactly? I did not take a close look yet
2008-08-13 18:42 <ansxx> just a framework? or something like openerp-ng ?
2008-08-13 18:42 <cedk> ansxx: more something like openerp-ng
2008-08-13 18:42 <cedk> ansxx: it is a rewrite that we make on the framework and on the modules
2008-08-13 18:42 <ansxx> I like openerp but a few things are... ugly, really
2008-08-13 18:43 <ansxx> & the documentation is so damn ugly
2008-08-13 18:43 <udono> cedk: do you know a way how I can dive into a hierarchie of parents. I have a recursive function but having problems on objects: new_role = role.parent; new_role.parent is not role.parent.parent but why?
2008-08-13 18:44 <cedk> udono: it must be
2008-08-13 18:44 <udono> cedk: ok, than the fault is elswhere...
2008-08-13 18:44 <cedk> udono: but recusion on tree is poor performing
2008-08-13 18:45 <udono> cedk: I need it for flattening the tree into a list.
2008-08-13 18:45 <udono> cedk: so I have to dive
2008-08-13 18:45 <udono> into the parents...
2008-08-13 18:46 <ansxx> does the tryton team already attempted to "join" the openerp team in order to improve it instead of forking?
2008-08-13 18:46 <cedk> udono: there is the Modified Preorder Tree Traversal
2008-08-13 18:47 <cedk> ansxx: we come from tiny company
2008-08-13 18:47 <udono> cedk: whats that?
2008-08-13 18:48 <cedk> udono: http://www.sitepoint.com/article/hierarchical-data-database/2
2008-08-13 18:48 <cedk> udono: there is in the ORM all the stuff to handle this
2008-08-13 18:49 <cedk> udono: we implemented on the stock.location
2008-08-13 18:49 <udono> ansxx: Iam not this satisfied with tiny, they doomed all of our german translations of the wikibook...
2008-08-13 18:49 <udono> cedk: thanks!
2008-08-13 18:50 <cedk> udono: it allows to retrieve all the childs or parents with just one query
2008-08-13 18:50 <ansxx> cedk: you're working in Tiny ?
2008-08-13 18:50 <udono> cedk: grate!
2008-08-13 18:51 <cedk> ansxx: was
2008-08-13 18:51 <ansxx> I know you're part of the gentoo team (yeah, I'm gentoo addicted aswell)
2008-08-13 18:51 <ansxx> so I need to thank you for that already :P
2008-08-13 18:51 <ansxx> ok
2008-08-13 18:51 <ansxx> may I ask why you left ?
2008-08-13 18:52 <ansxx> (sorry but I'm starting openerp integration for my company so I also need to know the editor of the application)
2008-08-13 19:19 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-13 19:25 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 829:50e12507bfe0 trytond/trytond/ir/module/module.py: Fix remove user in call raise_user_error
2008-08-13 19:25 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 830:d4add6f56c95 trytond/trytond/report/report.py: Fix locale for win32 and MacOS X
2008-08-13 19:25 <CIA-54> tryton: C?dric Krier <ced@b2ck.com> default * 644:59786b3bbf5d tryton/tryton/translate.py: Set encoding to UTF-8 for MacOS X
2008-08-13 19:25 <leyoda> cedk: ;-)
2008-08-13 19:26 <cedk> leyoda: it must work now
2008-08-13 19:30 <leyoda> cedk: I will try but i saxw CIA ;-)
2008-08-13 19:32 <leyoda> cedk: always the same WARNING:web-service:Report account.invoice: unable to set locale "fr_FR.mac-roman" , only on the servewhen I print the invoice :(
2008-08-13 20:14 <udono> cedk: I implemented the Modified Preorder Tree Traversal, is there a way to find out all the parents of a node, I cant find an example
2008-08-13 20:15 <udono> cedk: ('parent', 'child_of', [role.id]) gives only the childs...
2008-08-13 20:16 <cedk> leyoda: you must update the server
2008-08-13 20:17 <leyoda> cedk: I don a hg fpull and fupdate ... but you speak about another thing perhaps , sorry for the delay I al in a meeting
2008-08-13 20:17 <cedk> udono: I think it left < left_value and right > right_value
2008-08-13 20:18 <cedk> leyoda: it is not possible, I put a test to put encoding to UTF-8 if os.name is 'mac'
2008-08-13 20:19 <leyoda> cedk: perhaps but each time I do a print invoice of the invoice I have [Wed Aug 13 20:18:15 2008] INFO:init:module:account_invoice
2008-08-13 20:19 <leyoda> 2008-08-13 20:18:16,275 INFO successful login from 'lionel' using database 'dbtryton1'
2008-08-13 20:19 <leyoda> [Wed Aug 13 20:18:16 2008] INFO:web-service:successful login from 'lionel' using database 'dbtryton1'
2008-08-13 20:19 <leyoda> 2008-08-13 20:18:26,728 WARNING Report account.invoice: unable to set locale "fr_FR.mac-roman"
2008-08-13 20:22 <leyoda> cedk: and date format is always american in the print result of the invoice
2008-08-13 20:22 <cedk> leyoda: I realy think that you don't run an updated server
2008-08-13 20:23 <leyoda> cedk: When I done the hg fpull and hg fupdate I saw 2 modifications but how can verify I have the correction you done about this locales b
2008-08-13 20:24 <cedk> hg log -l1
2008-08-13 20:24 <cedk> changeset d4add6f56c95
2008-08-13 20:25 <leyoda> cedk: hg log -l1
2008-08-13 20:25 <leyoda> changeset: 830:d4add6f56c95
2008-08-13 20:25 <leyoda> tag: tip
2008-08-13 20:25 <leyoda> user: C├ędric Krier <ced@b2ck.com>
2008-08-13 20:25 <leyoda> date: Wed Aug 13 19:25:10 2008 +0200
2008-08-13 20:25 <leyoda> summary: Fix locale for win32 and MacOS X
2008-08-13 20:25 <leyoda> cedk : ... so ... the modification is done but it doesn't work ...
2008-08-13 20:28 <cedk> leyoda: if it works for the client and don't why it is not for the server it is the same code
2008-08-13 20:47 <leyoda> cedk:??
2008-08-13 20:48 <udono> cedk: many thanks, works great!
2008-08-13 21:02 -!- leyoda(n=leyoda@pic33-1-87-88-179-8.dsl.club-internet.fr) has left #tryton
2008-08-13 21:08 <CIA-54> tryton: udono roundup * #252/field with translate=True: on translation error:: [new] I created a field with translate=True name = fields.Char('Name', required=True, translate=True, states=STATES) Klick ok in the translation ...
2008-08-13 21:18 -!- udono(n=udono@dynamic-unidsl-85-197-20-149.westend.de) has joined #tryton
2008-08-13 22:07 -!- Gedd(n=ged@77.109.115.86) has joined #tryton
2008-08-13 22:48 <CIA-54> tryton: ced roundup * #252/field with translate=True: on translation error:: [resolved] This is because you try to write on a record that comes from a xml file

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