IRC logs of #tryton for Thursday, 2008-08-21 #tryton log beginning Thu Aug 21 00:00:01 CEST 2008
2008-08-21 03:55 -!- markusleist( has joined #tryton
2008-08-21 05:19 -!- yangoon( has joined #tryton
2008-08-21 07:43 -!- Timitos(n=Timitos@ has joined #tryton
2008-08-21 07:43 -!- leyoda( has joined #tryton
2008-08-21 08:25 <CIA-55> tryton: leyoda roundup * #265/Exception: ('Error', 'Programming error: child_of on field "categories" is not allowed!'): [new] Traceback (most recent call last): File "/trytond/", line 335, in run res = method(*msg[2:]) File "/trytond/web_service/obj ...
2008-08-21 08:27 <CIA-55> tryton: udono roundup * #264/Duplicating an open invoice results in repeated taxlines and invoice lines: [chatting] ... and there is the information in statusbar missed: "You are now working on the duplicated record!"
2008-08-21 08:27 -!- Gedd(n=ged@ has joined #tryton
2008-08-21 08:27 <CIA-55> tryton: leyoda roundup * #265/Exception: ('Error', 'Programming error: child_of on field "categories" is not allowed!'): [chatting] This pb appear when we try to modify an existent categorie. The update on the database done. If we try to create a new categorie it's ok
2008-08-21 08:31 <CIA-55> tryton: leyoda roundup * #265/Exception: ('Error', 'Programming error: child_of on field "categories" is not allowed!'): If we directly go to edit the categorie it's ok , but if you double click on categorie you have the possibility to list categorie and if you do a ...
2008-08-21 08:58 -!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton
2008-08-21 09:25 <CIA-55> tryton: udono roundup * #266/Inserting invoicelines just appened at the end: [new] ...but not after the line I choose. When I have serveral invoicelines and want to insert another one (or comment, Titel, Subtotal), this ne ...
2008-08-21 09:26 -!- bechamel( has joined #tryton
2008-08-21 09:27 <CIA-55> tryton: udono roundup * #267/KeyError: 'state': [new] Traceback (most recent call last): File "/trytond/", line 335, in run res = method(*msg[2:]) File "/trytond/web_service/obj ...
2008-08-21 09:28 <CIA-55> tryton: udono roundup * #267/KeyError: 'state': [chatting] This error happens when I sort a comment sometimes in a draft document.
2008-08-21 09:29 <CIA-55> tryton: udono roundup * #267/Invoice: KeyError: 'state': After this I cant save the invoice anymore
2008-08-21 09:38 <CIA-55> tryton: udono roundup * #268/Exception: ('lines', 'Traceback (most recent call last):\n File "/trytond/", line 335, in run\n res = method(*msg[2...: [new] Traceback (most recent call last): File "/tryton/gui/window/view_form/view/", line 273, in drag_data_received self.screen.model ...
2008-08-21 09:39 <CIA-55> tryton: udono roundup * #268/Exception: ('lines', 'Traceback (most recent call last):\n File "/trytond/", line 335, in run\n res = method(*msg[2...: [chatting] This error raises too, if i try to sort a comment.
2008-08-21 09:40 <CIA-55> tryton: udono roundup * #268/Invoice: Exception: ('lines', 'Traceback (most recent call last):\n File "/trytond/", line 335, in run\n res = method(*msg[2...: When I try to save: Traceback (most recent call last): File "/trytond/", line 335, in run res = method(*msg[2:]) File "/trytond/w ...
2008-08-21 10:07 <CIA-55> tryton: C?dric Krier <> default * 671:6caf8651f755 tryton/tryton/gui/window/view_form/screen/ Don't reset message on model changed for issue264
2008-08-21 10:07 <CIA-55> tryton: ced roundup * #264/Duplicating an open invoice results in repeated taxlines and invoice lines: [resolved] The message is fixed with changeset 6caf8651f755 But I can not reproduce the repeated lines when duplicating invoice. I have exactly th ...
2008-08-21 10:17 <CIA-55> tryton: C?dric Krier <> default * 123:8b47708314f4 relationship/ Fix typo
2008-08-21 10:17 <CIA-55> tryton: C?dric Krier <> default * 124:0e3befd9d940 relationship/party.xml: Remove child_of on non-tree field for issue265
2008-08-21 10:17 <CIA-55> tryton: ced roundup * #265/Exception: ('Error', 'Programming error: child_of on field "categories" is not allowed!'): [resolved] Fix with changeset 0e3befd9d940
2008-08-21 10:25 <CIA-55> tryton: C?dric Krier <> default * 93:6bb4e46a6319 account_invoice/ Set required for invoice on invoice line for issue267
2008-08-21 10:26 <CIA-55> tryton: ced roundup * #267/Invoice: KeyError: 'state': [resolved] Must be fixed with the changeset 6bb4e46a6319 It was because there was no constraint on the invoice field on invoice line.
2008-08-21 10:30 <udono> cedk: I test your changes later or tomorrow...
2008-08-21 10:31 <CIA-55> tryton: C?dric Krier <> default * 672:e9e194547487 tryton/tryton/gui/window/view_form/model/ Fix set_sequence for temporary negative id that must not be saved for issue268.
2008-08-21 10:31 <CIA-55> tryton: ced roundup * #268/Invoice: Exception: ('lines', 'Traceback (most recent call last):\n File "/trytond/", line 335, in run\n res = method(*msg[2...: [resolved] Fix with changeset e9e194547487
2008-08-21 10:37 <cedk> udono: for issue266, isn't it better to have it before instead of after
2008-08-21 10:43 <udono> cedk: yes
2008-08-21 10:45 <cedk> udono: but I'm not sure because to have it at the end you must select any rows
2008-08-21 10:45 -!- Timitos(n=Timitos@ has joined #tryton
2008-08-21 10:49 <udono> cedk: or just selecting no row
2008-08-21 10:50 <cedk> udono: yes, but users generaly don't know how to unselect row
2008-08-21 10:51 <udono> cedk: so the problem is the same... we can choose to have it on first or last line...
2008-08-21 10:51 <udono> cedk: sorry, but I have to go. cu
2008-08-21 14:37 -!- nicoe( has joined #tryton
2008-08-21 14:38 <nicoe> hello everyone ...
2008-08-21 14:47 <yangoon> hello
2008-08-21 14:47 <yangoon> cedk: are you here?
2008-08-21 14:49 <yangoon> cedk: while updating old database I get 2008-08-21 14:43:01,308 ERROR Error while parsing xml file:
2008-08-21 14:49 <yangoon> In tag record: model with id gb.
2008-08-21 14:49 <yangoon> and
2008-08-21 14:49 <yangoon> psycopg2.IntegrityError: duplicate key value violates unique constraint "relationship_country_name_uniq"
2008-08-21 14:49 <leyoda> yandoo: go to country.xml and delete the gi id part
2008-08-21 14:49 <cedk> yangoon: you must delete "United Kingdom"
2008-08-21 14:50 <leyoda> cedk: ;-)
2008-08-21 14:50 <yangoon> cedk: in the database I suppose
2008-08-21 14:51 <leyoda> yangoon: in /trytond/trytond/modules/relationship/country.xml
2008-08-21 14:51 <yangoon> cedk: I have indeed in the database United Kingdom with code UK, in the xml it is GB
2008-08-21 14:52 <yangoon> leyoda: but why delete it in the xml? Shouldn't the update process exactly handle this?
2008-08-21 14:52 <cedk> yangoon: you must delete in the database
2008-08-21 14:53 <yangoon> cedk: ok
2008-08-21 15:05 <yangoon> cedk: worked now, question to the update process:
2008-08-21 15:05 <yangoon> trytond seems to delete rows after inserting/updating the new ones
2008-08-21 15:06 <yangoon> at the end of the process I have i.e. Deleting
2008-08-21 15:07 <yangoon> I think the error above wouldn't have happened, if trytond would have deleted this row with code GB first and then inserted the new one
2008-08-21 15:08 <cedk> yangoon: we can not because we must know that the record didn't exist
2008-08-21 15:09 <yangoon> cedk: but if it exists wouldn't it be better to update the record instead of delete and insert?
2008-08-21 15:11 <cedk> yangoon: yes but here it is because I have made a script that generate the xml based on pycountry
2008-08-21 15:12 <cedk> yangoon: and the previous one comes from tinyerp with wrong code
2008-08-21 15:16 <yangoon> cedk: What I don't understand yet: if records in the xml are changed (vs. added or deleted), will this always be a problem?
2008-08-21 15:17 <cedk> yangoon: no, only when there is a change in the xml id and that there is on sql constraint
2008-08-21 15:18 <yangoon> cedk: ok, thanks
2008-08-21 16:37 -!- e-ane( has joined #tryton
2008-08-21 16:45 <e-ane> bonjour
2008-08-21 16:46 <Timitos> e-ane: hi
2008-08-21 16:49 <e-ane> wich protocol can i use to connect with tryton server from a web application?
2008-08-21 16:51 <cedk> e-ane: there is xmlrpc or pysocket
2008-08-21 17:01 <bechamel> e-ane: i made an little test script some day ago, it may help you :
2008-08-21 17:18 <e-ane> ok so the language i use in my web framework must be able tu understand python.
2008-08-21 17:19 <e-ane> or i need for example to find an xmlrpc lib for javascript or php
2008-08-21 17:21 <bechamel> e-ane: i have another example in ruby if you want :). For php i think that there in an exemple in the openerp wiki (in "developper book" or something like that). Anyway most of langages has an xmlrpc lib availble.
2008-08-21 17:26 <cedk> for javascript, I think the best will be to implement a json service
2008-08-21 17:28 <CIA-55> tryton: C?dric Krier <> default * 673:d5aac7e1e9ce tryton/tryton/gui/window/view_form/view/form_gtk/ Set new line of one2many to after the selected one in the list for issue266
2008-08-21 17:29 <CIA-55> tryton: ced roundup * #266/Inserting invoicelines just appened at the end: [resolved] Fix with changeset d5aac7e1e9ce
2008-08-21 17:46 <nicoe> cedk: Did you saw ? He's using the same technique as you are to represent the trees.
2008-08-21 17:53 <cedk> nicoe: yes, we saw
2008-08-21 17:54 <cedk> nicoe: but we find his implementation a little bit uggly
2008-08-21 17:54 <nicoe> That's funny ... he did it again without notifying anybody where he found the idea
2008-08-21 17:55 <nicoe> I did not took a look at the implementation but I suspect that by trying to look different they did stupid mistakes.
2008-08-21 17:56 <cedk> nicoe: yes, I think they don't want to credit us so they rewrite all from scratch
2008-08-21 17:56 <cedk> nicoe: but we don't have copyright on the algorithm ;-)
2008-08-21 17:57 <nicoe> cedk: of course, but anyway this is a lack of morality that I find irritating
2008-08-21 17:58 <cedk> nicoe: of course we take back some things that we find interesting but we credit the main stream
2008-08-21 17:58 <cedk> nicoe: by putting the copyright or at least in the commit message
2008-08-21 17:59 <cedk> nicoe: you can see that sometime I put "from openerp rev123"
2008-08-21 18:00 <nicoe> cedk: I already saw that ... but to me this is the normal behavior it's once again his way of acting that is strange
2008-08-21 18:01 <cedk> nicoe: I suppose that he don't want to let people know that he look at our works
2008-08-21 18:01 <nicoe> cedk: you're right I suppose
2008-08-21 18:03 <leyoda> what a shame :(
2008-08-21 18:06 -!- Snapy( has joined #tryton
2008-08-21 18:09 -!- Snapy( has left #tryton
2008-08-21 18:49 <yangoon> cedk: ping
2008-08-21 18:49 <yangoon> cedk: I have a strange behaviour in my old database
2008-08-21 18:50 <yangoon> cedk: after update the form Accounts doesn't show checkbox reconcile as in newly created database
2008-08-21 18:52 <yangoon> cedk: where should I search first?
2008-08-21 18:52 <cedk> yangoon: are you sure the kind of the account is not "view" ?
2008-08-21 18:53 <yangoon> cedk: you are perfectly right, it is of kind view, but how could it change on the update process?
2008-08-21 18:54 <yangoon> cedk: I will reset all accounts to installation default, perhaps my old database will then work again
2008-08-21 18:57 <cedk> yangoon: I don't know, perhaps your database was very old (1month:-)
2008-08-21 18:57 <cedk> yangoon: because at first we don't have the kind field
2008-08-21 18:57 <yangoon> cedk: :-D
2008-08-21 18:57 <cedk> yangoon: we had one field for kind and type
2008-08-21 18:59 <CIA-55> tryton: C?dric Krier <> default * 674:71079e117e9b tryton/tryton/ (3 files in 3 dirs):
2008-08-21 18:59 <CIA-55> tryton: Improve Date and DateTime widget from openerp rev567
2008-08-21 18:59 <CIA-55> tryton: - Add Async Open Source date_widget
2008-08-21 18:59 <CIA-55> tryton: - Improve it for the copy/paste
2008-08-21 19:43 <CIA-55> tryton: C?dric Krier <> default * 46:07adc6cd64f7 company/tests/ ( Add tests script
2008-08-21 19:46 <CIA-55> tryton: leyoda roundup * #269/Exception: ('Error', 'No workflow defined!'): [new] Traceback (most recent call last): File "/trytond/", line 335, in run res = method(*msg[2:]) File "/trytond/web_service/rep ...
2008-08-21 19:47 <CIA-55> tryton: leyoda roundup * #269/Exception: ('Error', 'No workflow defined!'): [chatting] Just a silly test bu in configuration of a new fiscal year if I try to lauch a plugin to see the workflow I obtain a traceback
2008-08-21 20:04 <CIA-55> tryton: C?dric Krier <> default * 861:4602309f787a trytond/trytond/workflow/ Fix error message when printing workflow for issue269
2008-08-21 20:05 <CIA-55> tryton: ced roundup * #269/Exception: ('Error', 'No workflow defined!'): [resolved] Fix with changeset 4602309f787a
2008-08-21 20:34 <CIA-55> tryton: C?dric Krier <> default * 675:4ee7c3cbfd91 tryton/tryton/common/ Stop command mode on focus out
2008-08-21 20:34 <CIA-55> tryton: C?dric Krier <> default * 676:cd50e60d1a8c tryton/share/tryton/ Add new shortcuts for date/datetime fields
2008-08-21 20:57 -!- markusleist( has joined #tryton
2008-08-21 21:08 -!- Timitos(n=Timitos@ has joined #tryton
2008-08-21 21:30 -!- leyoda( has left #tryton
2008-08-21 22:30 -!- b52laptop(n=b52lapto@ has joined #tryton
2008-08-21 22:59 -!- CIA-56(i=cia@ has joined #tryton

Generated by 2.17.3 by Marius Gedminas - find it at!