IRC logs of #tryton for Thursday, 2008-06-12

chat.freenode.net #tryton log beginning Thu Jun 12 00:00:02 CEST 2008
CIA-52tryton: Timitos roundup * #112/IndexError: string index out of range: [chatting] I tried to pay an invoice. In the dialog 'Pay Invoice' I selected Journal 'Cash'. Now I had to select 'Default Debit Account' and 'Defa ...00:02
-!- Timitos(n=Timitos@88.217.184.172) has left #tryton00:05
-!- yangoon(n=mathiasb@p549F617F.dip.t-dialin.net) has joined #tryton05:19
-!- Timitos(n=Timitos@88.217.184.172) has joined #tryton07:02
-!- udono(n=udono@dynamic-unidsl-85-197-21-238.westend.de) has joined #tryton07:27
-!- cedk(n=ced@gentoo/developer/cedk) has joined #tryton07:54
udonogood morning08:12
CIA-52tryton: ced roundup * #51/cannot enter move_line in treeview of account_move_line completely: Did you create your own view on a journal with the fields 'journal' and 'period' ? Because I don't see any default view where you can see those fi ...08:52
CIA-52tryton: ced roundup * #111/module project: field project_type should have default_value: [chatting] The module is under development.08:53
CIA-52tryton: Timitos roundup * #113/^: [new] Traceback (most recent call last): File "/trytond/netsvc.py", line 349, in run res = method(*msg[2:]) File "/trytond/web_service/obj ...08:54
CIA-52tryton: Timitos roundup * #51/cannot enter move_line in treeview of account_move_line completely: Financial Management -> Entries -> Account Moves I try to create a Move with entering lines in tree view and to post it. But I don´t succeed. On ...08:57
-!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton08:58
CIA-52tryton: Timitos roundup * #114/HINT: Kein Operator stimmt mit dem angegebenen Namen und den Argumenttypen ?berein. Sie m?ssen m?glicherweise ausdr?ckliche Typumwandlungen hinzuf?gen.: [new] Traceback (most recent call last): File "/trytond/netsvc.py", line 349, in run res = method(*msg[2:]) File "/trytond/web_service/obj ...09:01
gadagahi09:11
Timitosgadaga: hi09:11
gadagaTimitos: hi09:12
CIA-52tryton: ced roundup * #112/IndexError: string index out of range: [resolved] Fix with changeset 03af016277a609:14
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 108:03af016277a6 account/journal.py: Fix domain "account not view" for issue11209:14
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 109:547cc3ceacfb account/move.py: Don't set move field from line if there are empty for issue5109:21
CIA-52tryton: ced roundup * #51/cannot enter move_line in treeview of account_move_line completely: [resolved] Fix with the changeset 547cc3ceacfb09:21
CIA-52tryton: uso roundup * #104/IntegrityError: NULL-Wert in Spalte ?name? verletzt Not-Null-Constraint: [testing] Yes, you are right Timitos. Fixed in f0156a303997. Thanks a lot. Testing welcome: http://mercurial.intuxication.org/hg/relationship_peop ...09:27
-!- bechamel(n=user@user-85-201-84-14.tvcablenet.be) has joined #tryton09:34
udonohello cedk09:58
udonocedk: is there an field attribute like readonly, but just for the users entry, not for internal changes. Somthing for deactivating an entry to a field, but not invisible and not readonly for internal functions?10:00
CIA-52tryton: Timitos roundup * #104/IntegrityError: NULL-Wert in Spalte ?name? verletzt Not-Null-Constraint: [resolved] fixed.10:08
CIA-52tryton: Timitos roundup * #114/HINT: Kein Operator stimmt mit dem angegebenen Namen und den Argumenttypen ?berein. Sie m?ssen m?glicherweise ausdr?ckliche Typumwandlungen hinzuf?gen.: [resolved] same error like issue #109 closed.10:10
bechameludono: readonly does prevent the system to write this field is just for the user. (if i understand correectly your question)10:11
bechameludono: i just re-read myself, correction:  "readonly does _not_ prevent the system .."10:17
udonobechamel: ok, that mean readonly depends just to the gui widgets. Thanks10:19
Timitosbechamel: sure? we have exactly this problem. we have a readonly field which is changed with the onchange function. but if we save this record. the field contains his old value10:19
cedkTimitos: onchange function is for the client10:20
cedkTimitos: so the client doesn't send the readonly fields to the server10:20
cedkTimitos: I think your dev is wrong10:20
cedkTimitos: changing readonly fields with onchange is not a good way10:21
Timitoscedk: ok I understand. we have to rethink. do have a proposal10:21
cedkTimitos: if it is readonly, so it is a function field10:21
Timitoscedk: yes i mentioned this already to udono.10:22
udonocedk: but the readonly field is not with an on_change attribute. Another field should update the readonly field with on_change, this should be possible or isn't? it.10:30
cedkudono: no, for me it doesn' have sence10:33
cedkudono: if the field depends just of one other, it must be a field function10:33
udonocedk: ok10:34
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 400:d9d23cdf455e tryton/tryton/gui/window/view_form/view/list_gtk/editabletree.py: Validate row on editable treeview even if we don't have tree_saves10:40
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 401:692ff6268a06 tryton/tryton/common/common.py: Improve issue title for sql error10:40
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 13:a4edfffbf36f account_statement/statement.py: Fix check_unique_waiting_statement query for issue11310:46
CIA-52tryton: ced roundup * #113/LINE 1: ...tement_statement WHERE state = 'waiting' GROUP BY company, j: [resolved] Fix with changeset a4edfffbf36f10:47
CIA-52tryton: htgoebel roundup * #115/patches: codecleanup for netsvc: [new] Enclosed please find some changeset containing code cleanups for netsvc10:48
-!- essich(n=essich@p4FCF9806.dip0.t-ipconnect.de) has joined #tryton10:58
CIA-52tryton: htgoebel roundup * #116/"compute invoice" Non-NULL constrain vaiolated for »report_output_format«: [new] - fresh DB - imported account_invoice - created company "mycompany" (only required fields filled) - created minimalistic Account chart (usin ...11:00
CIA-52tryton: htgoebel roundup * #109/HINT: Kein Operator stimmt mit dem angegebenen Namen und den Argumenttypen ?berein. Sie m?ssen m?glicherweise ausdr?ckliche Typumwandlungen hinzuf?gen.: See issue116, then click "Pro Forma" -> Error11:02
CIA-52tryton: ced roundup * #115/patches: codecleanup for netsvc: [resolved] Applied except for netsvc2 because it doesn't follow the guide lines. Class must be preceded with double empty line and function with o ...11:05
CIA-52tryton: hartmut@demetrius.muc.goebel-consult.de default * 599:687caa88a822 trytond/trytond/netsvc.py: Must not overwrite rpc_paths in baseclass SimpleXMLRPCServer.SimpleXMLRPCRequestHandler. Fixed.11:05
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 600:b0b0564cd17c trytond/trytond/netsvc.py: Code cleanup: removed duplicate code for starting SSL.11:05
CIA-52tryton: hartmut@demetrius.muc.goebel-consult.de default * 601:54c5db67fb08 trytond/trytond/netsvc.py: Code cleanup: remove unnecessary interface-defaults (0.0.0.0 and ::).11:05
CIA-52tryton: hartmut@demetrius.muc.goebel-consult.de default * 602:a6a61188f780 trytond/trytond/netsvc.py: Code cleanup: removed duplicate code11:05
CIA-52tryton: hartmut@demetrius.muc.goebel-consult.de default * 603:bf7329d6c219 trytond/trytond/netsvc.py: MixIn class for IPv6 Servers.11:05
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 51:b06e1cba867e account_invoice/invoice.py: Improve error message on set_number11:05
CIA-52tryton: htgoebel roundup * #115/patches: codecleanup for netsvc: [chatting] Using 2 blank lines in front of a single-line class may obey the rules, but is hard to read: lines fall apart optical.11:12
CIA-52tryton: ced roundup * #116/"compute invoice" Non-NULL constrain vaiolated for »report_output_format«: [testing] I try to reproduce the issue but I can not. I don't find any column "report_output_format". Are you sure you don't have any non tryton m ...11:15
bechamelcedk: regerding the last commit (51:b06e1cba867e): iirc the find method on the period object is already raising an exception when there is no period for the given date11:15
cedkbechamel: ha ok11:16
CIA-52tryton: matb roundup * #109/HINT: Kein Operator stimmt mit dem angegebenen Namen und den Argumenttypen ?berein. Sie m?ssen m?glicherweise ausdr?ckliche Typumwandlungen hinzuf?gen.: This is probably due to the stricter type casting since postgresql 8.3. tryton is not the only application, where you have to add type casts... Wi ...11:18
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 52:a4b148b1d46b account_invoice/invoice.py: No need to raise a exception period find does it already11:20
CIA-52tryton: ced roundup * #109/HINT: Kein Operator stimmt mit dem angegebenen Namen und den Argumenttypen ?berein. Sie m?ssen m?glicherweise ausdr?ckliche Typumwandlungen hinzuf?gen.: I look like there is no workflow created on the invoice. Is it an old invoice?11:23
CIA-52tryton: ced roundup * #116/"compute invoice" Non-NULL constrain vaiolated for »report_output_format«: Is it compute or pro forma that you click?11:24
CIA-52tryton: htgoebel roundup * #116/"compute invoice" Non-NULL constrain vaiolated for »report_output_format«: in this issue it's compute. This will show a requester, no traceback. (Pro forma is in issue115)11:27
CIA-52tryton: htgoebel roundup * #109/HINT: Kein Operator stimmt mit dem angegebenen Namen und den Argumenttypen ?berein. Sie m?ssen m?glicherweise ausdr?ckliche Typumwandlungen hinzuf?gen.: its a fresh db and a fresh invoice.11:34
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 402:4d1c1b54d825 tryton/tryton/gui/window/view_form/view/form_gtk/parser.py: Improve save_current test when clicking on button11:34
CIA-52tryton: ced roundup * #116/"compute invoice" Non-NULL constrain vaiolated for »report_output_format«: Can you test with the tryton changeset 4d1c1b54d82511:35
CIA-52tryton: ced roundup * #109/HINT: Kein Operator stimmt mit dem angegebenen Namen und den Argumenttypen ?berein. Sie m?ssen m?glicherweise ausdr?ckliche Typumwandlungen hinzuf?gen.: Is it the id of the invoice displayed in the client?11:52
-!- FWiesing(n=FWiesing@194.208.185.12) has joined #tryton12:10
FWiesinghi12:10
gadagaFWiesing: hi12:11
udonoHi, I am struggeling with the function fields, may someone help me out?12:31
cedkudono: what is your problem?12:38
cedkgadaga: did you see the unittest script?12:39
udonocedk: I dont know :-)12:39
cedkudono: paste the code12:40
udonocedk: ok12:40
gadagacedk: no, it was been in hg?12:40
cedkgadaga: http://www.tryton.org/hg/trytond/rev/8dea3531b24a http://www.tryton.org/hg/modules/relationship/rev/cc2761abd58212:41
gadagacedk: ok i find it ;)12:41
FWiesingafk12:45
CIA-52tryton: htgoebel roundup * #109/HINT: Kein Operator stimmt mit dem angegebenen Namen und den Argumenttypen ?berein. Sie m?ssen m?glicherweise ausdr?ckliche Typumwandlungen hinzuf?gen.: no id, since the record can not be saved (see issue116)12:46
CIA-52tryton: matb roundup * #63/Some additions to the bugposting function on error view: I was told in squid group, that I am probably right, that the POST request should never be seen by the proxy. Some implementation help could be: ...12:49
CIA-52tryton: htgoebel roundup * #116/"compute invoice" Non-NULL constrain vaiolated for »report_output_format«: Error still occurs.12:50
CIA-52tryton: htgoebel roundup * #109/HINT: Kein Operator stimmt mit dem angegebenen Namen und den Argumenttypen ?berein. Sie m?ssen m?glicherweise ausdr?ckliche Typumwandlungen hinzuf?gen.: But as of 4d1c1b54d825, the traceback does not occur, just the "null-contraint" error of issue116. I suggest to solve 116 first.12:54
CIA-52tryton: ced roundup * #116/"compute invoice" Non-NULL constrain vaiolated for »report_output_format«: "report_output_format" doesn't exist in tryton. So I think it is one of your dev.13:02
CIA-52tryton: htgoebel roundup * #116/"compute invoice" Non-NULL constrain vaiolated for »report_output_format«: [done-cbb] you are rights. It's in some uncommitted stuff i've written for issue42. I mixed it up since I've defined output_format for #42. Sorry ...13:11
udonocedk: I put it all in a small paste, But I think I dont understand the principle of fields.Function. http://paste.pocoo.org/show/68128/ Help would be great.13:15
CIA-52tryton: htgoebel roundup * #109/HINT: Kein Operator stimmt mit dem angegebenen Namen und den Argumenttypen ?berein. Sie m?ssen m?glicherweise ausdr?ckliche Typumwandlungen hinzuf?gen.: [chatting] after isse116 has been solved, this bug does not occur anymore. Solved,13:15
essichcedk: regarding reports and output format: "The internal name must be unique!"13:18
essichcedk: this hinders to have the same report in different output-formats (odt and pdf).13:19
essichcedk: I'm unsure if we need this13:19
cedkessich: can not change it because parser need to find the report action by his name13:22
bechameludono: a function associated to a fields.Function must retrun something like {1: "name1", 2: "name2"} where 1 and 2 are in the "ids" args13:22
essichcedk: But if I change the internal name to eg. account.invoice.pdf, the report will fall back to the default report.13:23
udonobechamel: if it is type char, thanis only {1: "name"} possible?!13:24
essichcedk: so the question is: do we need the option to have _one_ report in differnet output-format? I do not know13:24
cedkessich: not me, but this is not possible currently13:25
cedkessich: the constraint is there for a good reason13:25
bechameludono: if it's type char you must return a char yes13:26
essichcedk: so we keept it as it is now13:27
essichcedk: I somebody requires it, we'll find an solution :-)13:27
essichcedk: Perhaps fallback like this account.invoice.pdf.foo -> account.invoice.pdf -> account.invoice13:28
essichcedk: but not yet ;-)13:28
cedkessich: as I always say, for me it is the report parse that define the output format13:28
bechameludono: maybe you need somthing like that : http://paste.pocoo.org/show/68135/13:30
udonobechamel, this looks good, I try, thanky13:34
CIA-52tryton: ced roundup * #63/Some additions to the bugposting function on error view: Can you try with this one.14:00
udonobechamel: can I set functional fields to invisible? It seems not to work, just the label is invisible...14:04
cedkudono: wich kind of fields function it is ?14:06
udonocedk: type="char"14:06
cedkudono: what is the code?14:07
udonocedk: http://paste.pocoo.org/show/68157/14:07
udonocedk: is it a bug in the framework or in my definition?14:43
CIA-52tryton: matb roundup * #63/Some additions to the bugposting function on error view: traceback patch7: Exception: Traceback (most recent call last): File "/usr/src/hg/tryton-dist/tryton/tryton/common/common.py", line 343, in send ...14:50
CIA-52tryton: ced roundup * #63/Some additions to the bugposting function on error view: new patch15:26
cedkudono: I don't know, it works here15:26
cedkudono: maybe it is linked to other things15:27
udonocedk: ok, I check15:27
bechameludono: framework :)15:29
udonobechamel: didn't it work at you, too?15:30
bechameludono: yes i have the same behaviour15:30
udonobechamel: ok, we are two, ced is one, so we are right ;-)15:31
cedkudono: ok, I re-check15:31
bechameludono: yes but cedk is very stubborn :D15:32
udono:-)15:33
-!- essich(n=essich@p4FCF9806.dip0.t-ipconnect.de) has left #tryton15:55
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 403:4d6a19874c4a tryton/tryton/gui/window/view_form/ (screen/screen.py view/form_gtk/one2many.py): Make domain on one2many works for dialog and form view16:01
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 404:55ecbea8b0cc tryton/tryton/gui/window/view_form/model/field.py: Fix state_set when readonly attribute was set.16:01
cedkudono: fixed16:01
udonocedk: thanks16:05
CIA-52tryton: matb roundup * #63/Some additions to the bugposting function on error view: traceback patch8: Exception: File "/usr/src/hg/tryton-dist/tryton/tryton/common/common.py", line 316, in make_connection response = connecti ...16:22
CIA-52tryton: ced roundup * #63/Some additions to the bugposting function on error view: fix typo16:25
udonocedk: Yes, it works! Great!16:27
udonocedk: But there is a gap there where the hidden field is. I try to catch it in a <group> but the hidden field takes some place. Do you know this behavior?16:29
-!- gadaga(n=gael@sednaco19320-gw.clients.easynet.fr) has joined #tryton16:29
cedkudono: you must hide all the field on the same line16:30
cedkudono: because field are put in a table16:30
udonocedk: yes, the table I know, but did an invisible field count for a column (...or two including lable) in this table?16:32
cedkudono: one field = field column16:33
udonocedk: is there some spaceholder rendert in gtk when a field is invisible.16:33
udonorendert=rendered16:34
cedkudono: normally not16:34
udonocedk: than ther seems another bug...16:34
cedkudono: send a screenshot16:35
udonook16:35
FWiesingback16:40
udonohello FWiesing16:53
FWiesingudono: hello16:53
udonosomeone knows the xpath for <notebook colspan="6"> ?17:04
udonoI tried <xpath expr="/form/notebook[@name=&quot;&quot;]" position="after">17:05
udonoand <xpath expr="/form/notebook" position="after">17:06
udonobut both are not working17:06
udonogot it17:09
udono<xpath expr="/form/notebook" position="after"> works fine.17:18
CIA-52tryton: matb roundup * #63/Some additions to the bugposting function on error view: traceback for patch9 already in msg42017:23
CIA-52tryton: ced roundup * #63/Some additions to the bugposting function on error view: And if you comment all the lines about response ?17:28
CIA-52tryton: matb roundup * #63/Some additions to the bugposting function on error view: commenting lines 316-319: Exception: Traceback (most recent call last): File "/usr/src/hg/tryton-dist/tryton/tryton/common/common.py", line 343, ...17:55
CIA-52tryton: uso roundup * #117/GUI: small gap when field before is invisible: [new] It's just a small gap, but it makes the layout on screen strange moving. See Pictures.17:55
CIA-52tryton: uso roundup * #117/GUI: small gap when field before is invisible: [chatting] The two pictures illustrate the behavior. on picture Bild.png name field is invisible and complete_person_name is visible. On Bild2.png ...17:58
CIA-52tryton: uso roundup * #117/GUI: small gap when field before is invisible: Another Behavior is that I must count invisible fields in groups, too. I have to count 12 cols for the row, but there are just 10 field and labels ...18:02
CIA-52tryton: uso roundup * #117/GUI: small gap when field before is invisible: If I try to use a count of 10 cols in the code snipped on msg427 than I get pictures Bild3 and Bild4. The active field is moving in the next row i ...18:09
CIA-52tryton: uso roundup * #118/Timout for new authentication on client is to short.: [new] Better will be 5 or 10 Minutes.18:19
CIA-52tryton: ced roundup * #118/Timout for new authentication on client is to short.: [resolved] It is set to 10 min18:22
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 405:06a0b52b4d3e tryton/tryton/gui/window/view_form/view/form_gtk/parser.py:18:38
CIA-52tryton: Remove col_spacing, row_spacing and border_width and use instead xpadding to18:38
CIA-52tryton: not take space for hidden widgets for issue11718:38
CIA-52tryton: ced roundup * #117/GUI: small gap when field before is invisible: [testing] Must be fixed with changeset 06a0b52b4d3e18:39
CIA-52tryton: uso roundup * #117/GUI: small gap when field before is invisible: Small gap is away. Great. msg427, msg428 stays unsolved/undiscussed.19:12
-!- yangoon(n=mathiasb@p549F4F94.dip.t-dialin.net) has joined #tryton19:16
CIA-52tryton: ced roundup * #117/GUI: small gap when field before is invisible: [resolved] for msg427 and msg428, it is normal because you must see that we fill a table and we can not predict if some fields will be exclusively ...19:28
-!- essich(n=essich@p4FCF9806.dip0.t-ipconnect.de) has joined #tryton19:31
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 604:95dc2cba706e trytond/trytond/osv/orm.py: Don't empty states for readonly record, just remove 'readonly' attributes19:42
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 605:898aa071ae5a trytond/trytond/res/user.py: Add status_bar field on user to be display in the client19:42
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 36:ba3e55c2c5cb company/company.py: Add company name in the status bar19:42
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 6:fefaa963fcbb project/work.py: Add default project to project_type19:42
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 406:2603d6aece25 tryton/tryton/common/common.py: Improve process_exption to return True if login succeed19:42
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 407:0c183e80a9a5 tryton/tryton/gui/window/preference.py: Fix window preference if not logged19:42
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 408:8bce2b239f89 tryton/tryton/gui/main.py: Use status_bar and refresh it after setting user preferences19:42
CIA-52tryton: C?dric Krier <ced@b2ck.com> default * 409:df9c96a6f20a tryton/tryton.py: Remove tryton.py from commit 39919:47
-!- Timitos(n=Timitos@88.217.184.172) has left #tryton22:20

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