IRC logs of #tryton for Thursday, 2008-08-21

chat.freenode.net #tryton log beginning Thu Aug 21 00:00:01 CEST 2008
-!- markusleist(n=markus@n4-82.dsl.vianetworks.de) has joined #tryton03:55
-!- yangoon(n=mathiasb@p549F7E19.dip.t-dialin.net) has joined #tryton05:19
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton07:43
-!- leyoda(n=leyoda@pic33-1-87-88-179-8.dsl.club-internet.fr) has joined #tryton07:43
CIA-55tryton: leyoda roundup * #265/Exception: ('Error', 'Programming error: child_of on field "categories" is not allowed!'): [new] Traceback (most recent call last): File "/trytond/netsvc.py", line 335, in run res = method(*msg[2:]) File "/trytond/web_service/obj ...08:25
CIA-55tryton: 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!"08:27
-!- Gedd(n=ged@77.109.114.192) has joined #tryton08:27
CIA-55tryton: 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 ok08:27
CIA-55tryton: 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 ...08:31
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton08:58
CIA-55tryton: 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 ...09:25
-!- bechamel(n=user@user-85-201-14-207.tvcablenet.be) has joined #tryton09:26
CIA-55tryton: udono roundup * #267/KeyError: 'state': [new] Traceback (most recent call last): File "/trytond/netsvc.py", line 335, in run res = method(*msg[2:]) File "/trytond/web_service/obj ...09:27
CIA-55tryton: udono roundup * #267/KeyError: 'state': [chatting] This error happens when I sort a comment sometimes in a draft document.09:28
CIA-55tryton: udono roundup * #267/Invoice: KeyError: 'state': After this I cant save the invoice anymore09:29
CIA-55tryton: udono roundup * #268/Exception: ('lines', 'Traceback (most recent call last):\n File "/trytond/netsvc.py", line 335, in run\n res = method(*msg[2...: [new] Traceback (most recent call last): File "/tryton/gui/window/view_form/view/list.py", line 273, in drag_data_received self.screen.model ...09:38
CIA-55tryton: udono roundup * #268/Exception: ('lines', 'Traceback (most recent call last):\n File "/trytond/netsvc.py", line 335, in run\n res = method(*msg[2...: [chatting] This error raises too, if i try to sort a comment.09:39
CIA-55tryton: udono roundup * #268/Invoice: Exception: ('lines', 'Traceback (most recent call last):\n File "/trytond/netsvc.py", line 335, in run\n res = method(*msg[2...: When I try to save: Traceback (most recent call last): File "/trytond/netsvc.py", line 335, in run res = method(*msg[2:]) File "/trytond/w ...09:40
CIA-55tryton: C?dric Krier <ced@b2ck.com> default * 671:6caf8651f755 tryton/tryton/gui/window/view_form/screen/screen.py: Don't reset message on model changed for issue26410:07
CIA-55tryton: 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 ...10:07
CIA-55tryton: C?dric Krier <ced@b2ck.com> default * 123:8b47708314f4 relationship/party.py: Fix typo10:17
CIA-55tryton: C?dric Krier <ced@b2ck.com> default * 124:0e3befd9d940 relationship/party.xml: Remove child_of on non-tree field for issue26510:17
CIA-55tryton: ced roundup * #265/Exception: ('Error', 'Programming error: child_of on field "categories" is not allowed!'): [resolved] Fix with changeset 0e3befd9d94010:17
CIA-55tryton: C?dric Krier <ced@b2ck.com> default * 93:6bb4e46a6319 account_invoice/invoice.py: Set required for invoice on invoice line for issue26710:25
CIA-55tryton: 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.10:26
udonocedk: I test your changes later or tomorrow...10:30
CIA-55tryton: C?dric Krier <ced@b2ck.com> default * 672:e9e194547487 tryton/tryton/gui/window/view_form/model/group.py: Fix set_sequence for temporary negative id that must not be saved for issue268.10:31
CIA-55tryton: ced roundup * #268/Invoice: Exception: ('lines', 'Traceback (most recent call last):\n File "/trytond/netsvc.py", line 335, in run\n res = method(*msg[2...: [resolved] Fix with changeset e9e19454748710:31
cedkudono: for issue266, isn't it better to have it before instead of after10:37
udonocedk: yes10:43
cedkudono: but I'm not sure because to have it at the end you must select any rows10:45
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton10:45
udonocedk: or just selecting no row10:49
cedkudono: yes, but users generaly don't know how to unselect row10:50
udonocedk: so the problem is the same... we can choose to have it on first or last line...10:51
udonocedk: sorry, but I have to go. cu10:51
-!- nicoe(n=nicoe@ip-80-236-206-69.dsl.scarlet.be) has joined #tryton14:37
nicoehello everyone ...14:38
yangoonhello14:47
yangooncedk: are you here?14:47
yangooncedk: while updating old database I get 2008-08-21 14:43:01,308 ERROR Error while parsing xml file:14:49
yangoonIn tag record: model relationship.country with id gb.14:49
yangoonand14:49
yangoonpsycopg2.IntegrityError: duplicate key value violates unique constraint "relationship_country_name_uniq"14:49
leyodayandoo: go to country.xml and delete the gi id part14:49
cedkyangoon: you must delete "United Kingdom"14:49
leyodacedk: ;-)14:50
yangooncedk: in the database I suppose14:50
leyodayangoon: in /trytond/trytond/modules/relationship/country.xml14:51
yangooncedk: I have indeed in the database United Kingdom with code UK, in the xml it is GB14:51
yangoonleyoda: but why delete it in the xml? Shouldn't the update process exactly handle this?14:52
cedkyangoon: you must delete in the database14:52
yangooncedk: ok14:53
yangooncedk: worked now, question to the update process:15:05
yangoontrytond seems to delete rows after inserting/updating the new ones15:05
yangoonat the end of the process I have i.e.  Deleting 221@relationship.country15:06
yangoonI think the error above wouldn't have happened, if trytond would have deleted this row with code GB first and then inserted the new one15:07
cedkyangoon: we can not because we must know that the record didn't exist15:08
yangooncedk: but if it exists wouldn't it be better to update the record instead of delete and insert?15:09
cedkyangoon: yes but here it is because I have made a script that generate the xml based on pycountry15:11
cedkyangoon: and the previous one comes from tinyerp with wrong code15:12
yangooncedk: What I don't understand yet: if records in the xml are changed (vs. added or deleted), will this always be a problem?15:16
cedkyangoon: no, only when there is a change in the xml id and that there is on sql constraint15:17
yangooncedk: ok, thanks15:18
-!- e-ane(n=yann@sednaco19320-gw.clients.easynet.fr) has joined #tryton16:37
e-anebonjour16:45
Timitose-ane: hi16:46
e-anewich protocol can i use to connect with tryton server from a web application?16:49
cedke-ane: there is xmlrpc or pysocket16:51
bechamele-ane: i made an little test script some day ago, it may help you : http://paste.pocoo.org/show/82918/17:01
e-aneok so the language i use in my web framework must be able tu understand python.17:18
e-aneor i need for example to find an xmlrpc lib for javascript or php17:19
bechamele-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.17:21
cedkfor javascript, I think the best will be to implement a json service17:26
CIA-55tryton: C?dric Krier <ced@b2ck.com> default * 673:d5aac7e1e9ce tryton/tryton/gui/window/view_form/view/form_gtk/one2many.py: Set new line of one2many to after the selected one in the list for issue26617:28
CIA-55tryton: ced roundup * #266/Inserting invoicelines just appened at the end: [resolved] Fix with changeset d5aac7e1e9ce17:29
nicoecedk: Did you saw http://fptiny.blogspot.com/2008/08/latest-changes-in-framework.html ? He's using the same technique as you are to represent the trees.17:46
cedknicoe: yes, we saw17:53
cedknicoe: but we find his implementation a little bit uggly17:54
nicoeThat's funny ... he did it again without notifying anybody where he found the idea17:54
nicoeI did not took a look at the implementation but I suspect that by trying to look different they did stupid mistakes.17:55
cedknicoe: yes, I think they don't want to credit us so they rewrite all from scratch17:56
cedknicoe: but we don't have copyright on the algorithm ;-)17:56
nicoecedk: of course, but anyway this is a lack of morality that I find irritating17:57
cedknicoe: of course we take back some things that we find interesting but we credit the main stream17:58
cedknicoe: by putting the copyright or at least in the commit message17:58
cedknicoe: you can see that sometime I put "from openerp rev123"17:59
nicoecedk: I already saw that ... but to me this is the normal behavior it's once again his way of acting that is strange18:00
cedknicoe: I suppose that he don't want to let people know that he look at our works18:01
nicoecedk: you're right I suppose18:01
leyodawhat a shame :(18:03
-!- Snapy(n=mobile@pic33-1-87-88-179-8.dsl.club-internet.fr) has joined #tryton18:06
-!- Snapy(n=mobile@pic33-1-87-88-179-8.dsl.club-internet.fr) has left #tryton18:09
yangooncedk: ping18:49
yangooncedk: I have a strange behaviour in my old database18:49
yangooncedk: after update the form Accounts doesn't show checkbox reconcile as in newly created database18:50
yangooncedk: where should I search first?18:52
cedkyangoon: are you sure the kind of the account is not "view" ?18:52
yangooncedk: you are perfectly right, it is of kind view, but how could it change on the update process?18:53
yangooncedk: I will reset all accounts to installation default, perhaps my old database will then work again18:54
cedkyangoon: I don't know, perhaps your database was very old (1month:-)18:57
cedkyangoon: because at first we don't have the kind field18:57
yangooncedk: :-D18:57
cedkyangoon: we had one field for kind and type18:57
CIA-55tryton: C?dric Krier <ced@b2ck.com> default * 674:71079e117e9b tryton/tryton/ (3 files in 3 dirs):18:59
CIA-55tryton: Improve Date and DateTime widget from openerp rev56718:59
CIA-55tryton: - Add Async Open Source date_widget18:59
CIA-55tryton: - Improve it for the copy/paste18:59
CIA-55tryton: C?dric Krier <ced@b2ck.com> default * 46:07adc6cd64f7 company/tests/ (__init__.py test_company.py): Add tests script19:43
CIA-55tryton: leyoda roundup * #269/Exception: ('Error', 'No workflow defined!'): [new] Traceback (most recent call last): File "/trytond/netsvc.py", line 335, in run res = method(*msg[2:]) File "/trytond/web_service/rep ...19:46
CIA-55tryton: 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 traceback19:47
CIA-55tryton: C?dric Krier <ced@b2ck.com> default * 861:4602309f787a trytond/trytond/workflow/workflow.py: Fix error message when printing workflow for issue26920:04
CIA-55tryton: ced roundup * #269/Exception: ('Error', 'No workflow defined!'): [resolved] Fix with changeset 4602309f787a20:05
CIA-55tryton: C?dric Krier <ced@b2ck.com> default * 675:4ee7c3cbfd91 tryton/tryton/common/date_widget.py: Stop command mode on focus out20:34
CIA-55tryton: C?dric Krier <ced@b2ck.com> default * 676:cd50e60d1a8c tryton/share/tryton/tryton.glade: Add new shortcuts for date/datetime fields20:34
-!- markusleist(n=markus@n4-82.dsl.vianetworks.de) has joined #tryton20:57
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton21:08
-!- leyoda(n=leyoda@pic33-1-87-88-179-8.dsl.club-internet.fr) has left #tryton21:30
-!- b52laptop(n=b52lapto@41.249.250.195) has joined #tryton22:30
-!- CIA-56(i=cia@208.69.182.149) has joined #tryton22:59

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