chat.freenode.net #tryton log beginning Mon Nov 29 00:00:03 CET 2010 | ||
2010-11-29 00:12 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton | ||
2010-11-29 00:26 -!- johbo_(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton | ||
2010-11-29 00:57 -!- pepeu(~manuel@187.137.119.172) has joined #tryton | ||
2010-11-29 01:52 -!- chrue1(~chrue@host-091-097-063-238.ewe-ip-backbone.de) has joined #tryton | ||
2010-11-29 03:43 -!- ikks(~ikks@190.158.122.179) has joined #tryton | ||
2010-11-29 03:46 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton | ||
2010-11-29 05:19 -!- yangoon(~mathiasb@p549F6CDD.dip.t-dialin.net) has joined #tryton | ||
2010-11-29 05:26 -!- sharoon(~sharoon@58.68.28.40) has joined #tryton | ||
2010-11-29 05:59 -!- sharoon(~sharoon@58.68.28.40) has joined #tryton | ||
2010-11-29 06:42 -!- sharoon(~sharoon@202.129.198.250) has joined #tryton | ||
2010-11-29 06:45 -!- sharoon(~sharoon@58.68.28.40) has joined #tryton | ||
2010-11-29 07:03 -!- woakas(~woakas@200.106.202.91) has joined #tryton | ||
2010-11-29 07:05 -!- sharoon(~sharoon@202.129.198.250) has joined #tryton | ||
2010-11-29 07:30 -!- Timitos(~kp@88.217.184.172) has joined #tryton | ||
2010-11-29 07:32 -!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton | ||
2010-11-29 07:49 -!- Timitos(~kp@88.217.184.172) has joined #tryton | ||
2010-11-29 07:51 -!- Timitos(~kp@88.217.184.172) has joined #tryton | ||
2010-11-29 08:12 -!- gavinf(~gavinf@196-215-106-210.dynamic.isadsl.co.za) has joined #tryton | ||
2010-11-29 08:13 -!- gavinf(~gavinf@196-215-106-210.dynamic.isadsl.co.za) has left #tryton | ||
2010-11-29 08:15 -!- sharoon(~sharoon@202.129.198.250) has joined #tryton | ||
2010-11-29 08:25 -!- enlightx(~enlightx@247.98.202.62.cust.bluewin.ch) has joined #tryton | ||
2010-11-29 08:27 -!- sharoon(~sharoon@202.129.198.250) has joined #tryton | ||
2010-11-29 08:31 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2010-11-29 08:54 -!- dex__(~dex@vodsl-10745.vo.lu) has joined #tryton | ||
2010-11-29 09:02 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has joined #tryton | ||
2010-11-29 09:08 -!- paepke(~paepke@p4FEB4833.dip.t-dialin.net) has joined #tryton | ||
2010-11-29 09:26 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton | ||
2010-11-29 09:31 -!- sharoon(~sharoon@218.248.84.94) has joined #tryton | ||
2010-11-29 09:37 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2010-11-29 10:19 -!- rednul_(~rednul@host-174-45-250-246.bln-mt.client.bresnan.net) has joined #tryton | ||
2010-11-29 10:21 -!- trifon(~trifon@p4FFB8954.dip0.t-ipconnect.de) has joined #tryton | ||
2010-11-29 10:29 -!- plantian(~ian@c-67-169-72-36.hsd1.ca.comcast.net) has joined #tryton | ||
2010-11-29 11:03 -!- sharoon(~sharoon@115.242.234.143) has joined #tryton | ||
2010-11-29 11:56 <pjstevns> Hi all, | ||
2010-11-29 11:56 <pjstevns> How do I initialize a ModelSingleton? If I don't I get AttributeError on 'write_uid' when accessing the singleton. | ||
2010-11-29 11:57 <cedk> pjstevns: there is one by default | ||
2010-11-29 11:58 <pjstevns> No the table involved is empty | ||
2010-11-29 11:58 <pjstevns> I have a simple configuration object with one field only | ||
2010-11-29 11:59 <pjstevns> There is a default on the field which returns a string | ||
2010-11-29 11:59 -!- enlightx(~enlightx@31-125.203-62.cust.bluewin.ch) has joined #tryton | ||
2010-11-29 12:00 <pjstevns> When I try to force initialization in __init__, using self.create, I get 401 Errors from trytond (??) | ||
2010-11-29 12:01 <cedk> pjstevns: you can not create it in __init__ | ||
2010-11-29 12:01 <pjstevns> should I use init then? | ||
2010-11-29 12:01 <cedk> pjstevns: I mean the system fake a record | ||
2010-11-29 12:01 <cedk> pjstevns: when did you get the write_uid error? | ||
2010-11-29 12:01 <pjstevns> Ok, makes sense, but why the attribute error on write_uid? | ||
2010-11-29 12:02 <pjstevns> Ah, | ||
2010-11-29 12:02 <cedk> pjstevns: perhaps it misses to fake it | ||
2010-11-29 12:02 -!- sharoon(~sharoon@58.68.28.40) has joined #tryton | ||
2010-11-29 12:03 <pjstevns> Looks that way. It happens when I access the char property field, and try to use it to initialize a field on another object | ||
2010-11-29 12:04 <pjstevns> It doesn't happen when I save the singleton in the GUI. | ||
2010-11-29 12:04 <pjstevns> I'll work around it for now. When something comes up I'll let you know. | ||
2010-11-29 12:04 <pjstevns> thanks for now | ||
2010-11-29 12:07 <cedk> pjstevns: could you try with this http://codereview.appspot.com/3324042 | ||
2010-11-29 12:12 <pjstevns> It's gone now, but I hit another problem, so I can't verify it worked. | ||
2010-11-29 12:24 -!- bechamel(~user@cismwks02-virtual1.cism.ucl.ac.be) has joined #tryton | ||
2010-11-29 12:35 -!- sharoon_(~sharoon@115.242.234.143) has joined #tryton | ||
2010-11-29 12:51 -!- sharoon(~sharoon@202.129.198.250) has joined #tryton | ||
2010-11-29 12:56 -!- jcm(~jcm@symetrie.net) has joined #tryton | ||
2010-11-29 13:46 -!- dex__(~dex@vodsl-10745.vo.lu) has joined #tryton | ||
2010-11-29 13:51 -!- GasbaKid(~GasbaKid@41.96.29.91) has joined #tryton | ||
2010-11-29 13:59 <cedk> pjstevns: is the problem still linked to singleton ? | ||
2010-11-29 14:00 <pjstevns> cedk: No. Looks like that one went away with | ||
2010-11-29 14:00 <pjstevns> http://codereview.appspot.com/3324042/ | ||
2010-11-29 14:00 <pjstevns> I'll nuke my database and start over just to make sure | ||
2010-11-29 14:00 <cedk> pjstevns: did you work with proteus? | ||
2010-11-29 14:01 <pjstevns> No, this was from a local module | ||
2010-11-29 14:01 <cedk> pjstevns: ok because I get some patches for proteus in the pipeline | ||
2010-11-29 14:01 <pjstevns> cedk: Ah, great. Look forward to testing them :-) | ||
2010-11-29 14:01 <cedk> pjstevns: by the way, did you look at http://codereview.appspot.com/3300043/ | ||
2010-11-29 14:02 <cedk> pjstevns: I'm writing scenario to test account stock modules | ||
2010-11-29 14:02 <cedk> then I find some issues | ||
2010-11-29 14:02 <pjstevns> cedk: http://codereview.appspot.com/3300043/ LGTM | ||
2010-11-29 14:03 <pjstevns> I've been using the stock module a lot from proteus lately. | ||
2010-11-29 14:03 <pjstevns> read-only that is. write actions take place from my local module (contracts) | ||
2010-11-29 14:03 <cedk> pjstevns: ok | ||
2010-11-29 14:25 -!- vincentvdl(~vincent@62.58.29.41) has joined #tryton | ||
2010-11-29 14:42 -!- pepeu(~manuel@201.155.193.192) has joined #tryton | ||
2010-11-29 14:43 <vincentvdl> Hi, we get errors when using sequence="sequence" attribute when used on a tree of a Many2Many field. Isn't the sequence (drag&drop ordering) supposed to work on a many2many field? | ||
2010-11-29 14:44 <cedk> vincentvdl: it is a strange design | ||
2010-11-29 14:47 <vincentvdl> cedk: I agree in most cases you wouldn't need it | ||
2010-11-29 14:47 -!- vladimir_(~vladimir@213.151.246.136) has joined #tryton | ||
2010-11-29 14:47 <cedk> vincentvdl: but it should work | ||
2010-11-29 14:50 <cedk> pjstevns: http://codereview.appspot.com/3346041/ | ||
2010-11-29 14:51 <vincentvdl> cedk: Traceback (most recent call last): | ||
2010-11-29 14:51 <vincentvdl> File "/tryton/gui/window/view_form/view/list.py", line 372, in drag_data_received | ||
2010-11-29 14:51 <vincentvdl> if record[treeview.sequence].get_state_attrs( | ||
2010-11-29 14:51 <vincentvdl> AttributeError: 'bool' object has no attribute 'get_state_attrs' | ||
2010-11-29 14:52 <cedk> vincentvdl: is sequence field an integer? | ||
2010-11-29 14:55 -!- pjstevns(~pjstevns@a83-163-46-103.adsl.xs4all.nl) has left #tryton | ||
2010-11-29 14:56 <vincentvdl> cedk: Yes I've just doublechecked, it's a simple Integer field. Do you want me to fill a small issue with example? | ||
2010-11-29 14:58 <cedk> vincentvdl: did you put the field in the view? | ||
2010-11-29 15:00 <vincentvdl> cedk: I believe I never did on sequence | ||
2010-11-29 15:00 <vincentvdl> cedk: But will double-check | ||
2010-11-29 15:02 <vincentvdl> cedk: we just added sequence to the tree, but same result | ||
2010-11-29 15:11 <cedk> vincentvdl: this is strange | ||
2010-11-29 15:22 -!- gremly(~gremly@200.106.202.91) has joined #tryton | ||
2010-11-29 15:37 <vincentvdl> cedk: Do I understand correctly you see the same behaviour too? Otherwise I'll make a small example and post it on the forum | ||
2010-11-29 15:37 <cedk> vincentvdl: I did not try it | ||
2010-11-29 15:37 <vincentvdl> cedk: OK | ||
2010-11-29 15:45 <cedk> vincentvdl: but are you sure you got the updated view? | ||
2010-11-29 15:49 <vincentvdl> cedk: yes, we updated the module afterwards (multiple times). By the way we see in the database that the sequence of all its records have value 0 | ||
2010-11-29 16:19 -!- johbo(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton | ||
2010-11-29 16:58 -!- vincentvdl(~vincent@62.58.29.41) has joined #tryton | ||
2010-11-29 17:19 -!- sharoon(~sharoon@202.129.198.250) has joined #tryton | ||
2010-11-29 17:23 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton | ||
2010-11-29 17:58 -!- johbo_(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton | ||
2010-11-29 18:15 -!- paepke(~paepke@p4FEB39A4.dip.t-dialin.net) has joined #tryton | ||
2010-11-29 18:15 -!- JoePass(~gasbakid@41.96.29.91) has joined #tryton | ||
2010-11-29 18:22 -!- jbunting(~jbunting@99-5-88-198.lightspeed.nsvltn.sbcglobal.net) has joined #tryton | ||
2010-11-29 18:42 -!- vincentvdl(~vincent@62.58.29.41) has left #tryton | ||
2010-11-29 19:01 -!- cedk(~ced@gentoo/developer/cedk) has joined #tryton | ||
2010-11-29 19:02 -!- johbo(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton | ||
2010-11-29 19:29 -!- chrue(~chrue@host-091-097-063-238.ewe-ip-backbone.de) has joined #tryton | ||
2010-11-29 19:36 -!- udono(~udono@dynamic-unidsl-85-197-25-105.westend.de) has joined #tryton | ||
2010-11-29 19:39 -!- heg(~heg@dyn.144-85-141-171.dsl.vtx.ch) has joined #tryton | ||
2010-11-29 19:46 -!- trifon(~trifon@91-67-144-158-dynip.superkabel.de) has joined #tryton | ||
2010-11-29 19:47 -!- GasbaKid(~GasbaKid@41.96.29.91) has joined #tryton | ||
2010-11-29 19:49 <paepke> cedk, how do you see the future of relatorio as reporting engine for tryton? does it have a future? | ||
2010-11-29 19:52 -!- GasbaKid(~GasbaKid@41.96.29.91) has joined #tryton | ||
2010-11-29 19:55 <cedk> paepke: I would like to be able to parse any kind of odf file in Tryton | ||
2010-11-29 19:57 <cedk> paepke: otherwise I'm pretty happy with the current functionnality of relatorio | ||
2010-11-29 19:58 <cedk> paepke: except that we could improve some stuffs like colspan etc. in tables | ||
2010-11-29 19:58 <paepke> cedk, i'm asking cause of the implementation of my barcode function into relatorio. and i have another feature request, which can't be handled with relatorio at the current state. | ||
2010-11-29 19:59 <paepke> cedk, inserting formatted text from tryton. like having bold, underlined and other things. thats currently not possible, or i didn't find it. | ||
2010-11-29 20:00 <paepke> cedk, i don't have any successor or something. I'm asking cause I don't know if its worth to implement it somehow. | ||
2010-11-29 20:02 <paepke> cedk, currently relatorio only supports writer and calc documents? | ||
2010-11-29 20:06 <cedk> paepke: inserting text with formating will be complicated | ||
2010-11-29 20:06 <cedk> paepke: but patch will be welcome | ||
2010-11-29 20:07 <cedk> paepke: there is also odp | ||
2010-11-29 20:07 <paepke> cedk, yes, thats what i investigated so far. quite complicated :-) | ||
2010-11-29 20:07 <cedk> paepke: for barcode, it should be handle by external lib like hubarcode and inserted like an image | ||
2010-11-29 20:07 <paepke> cedk, so what are you missing with the oo.org parser? impress, math, draw? | ||
2010-11-29 20:08 <paepke> cedk, yes, i'm finished with hubarcode. but currently as function field. i already pushed some code back to them. | ||
2010-11-29 20:08 <paepke> ACTION like the pure python way of hubarcode. | ||
2010-11-29 20:11 -!- rednul_(~rednul@host-174-45-250-246.bln-mt.client.bresnan.net) has joined #tryton | ||
2010-11-29 20:22 <cedk> paepke: I talk about the Tryton usage of relatorio which is limited to odt | ||
2010-11-29 20:22 <Timitos> cedk: we are already parsing ods with tryton too | ||
2010-11-29 20:24 <cedk> Timitos: oh | ||
2010-11-29 20:24 <cedk> Timitos: it works out of the box? | ||
2010-11-29 20:24 <udono> Timitos: cedk: Yes, but the parsed document has the wrong file suffix *.odt instead of *.ods. | ||
2010-11-29 20:25 <cedk> udono: so a small fix will be welcome | ||
2010-11-29 20:25 <udono> What we need is to have more formats for output. | ||
2010-11-29 20:25 <cedk> I also wanted to be able to convert the result in any format that Ooo support | ||
2010-11-29 20:33 <udono> cedk: I already started an internal note about this: http://paste.pocoo.org/show/297704/ | ||
2010-11-29 20:34 -!- enlightx(~enlightx@217.202.114.129) has joined #tryton | ||
2010-11-29 20:52 <cedk> udono: I don't agree with the move of file action from tryton to trytond | ||
2010-11-29 20:54 <cedk> udono: the application to open a file is directly linked to the OS on which the client is running | ||
2010-11-29 20:54 <udono> cedk: ok. | ||
2010-11-29 20:54 <cedk> I think the extension should be found by analyzing the template file name | ||
2010-11-29 20:56 -!- johbo_(~joh@statdsl-085-016-072-173.ewe-ip-backbone.de) has joined #tryton | ||
2010-11-29 20:57 <udono> cedk: but how we can provide a custom open and print command line call in the client, for the new extensions? | ||
2010-11-29 20:57 <cedk> udono: when I talked about convertion, I mean like generating pdf from odt | ||
2010-11-29 20:57 <cedk> udono: but Ooo can also generate .doc or .rtf etc. | ||
2010-11-29 20:58 <cedk> udono: with the client action window | ||
2010-11-29 20:58 <paepke> cedk, what about feeding the template not from filesystem. maybe through the attachment system. there would be no filename. its a poor mans guessing. | ||
2010-11-29 20:59 <udono> paepke: its another topic for me. | ||
2010-11-29 20:59 <udono> ACTION but an interesting one... | ||
2010-11-29 21:00 <paepke> udono, cedk. imho the print system isn't really existing currently. we have no possibility to control the output somehow. like controlling how much copies would be print. | ||
2010-11-29 21:00 <cedk> paepke: then the module that do that must handle it | ||
2010-11-29 21:01 <cedk> paepke: if you need this kind of parameters then just open it and use the print dialog of Ooo (if it is your program) | ||
2010-11-29 21:02 <paepke> there should be some help for the user. for example some companies want 2 copies of invoices, some want 4 copies. or if it goes outside the counter the toll need more copies and so on. | ||
2010-11-29 21:03 <paepke> s/counter/country/ | ||
2010-11-29 21:04 <cedk> paepke: I don't really like this | ||
2010-11-29 21:04 <paepke> cedk, the simplest solution would be to send two datasets to the parser to have additional/duplicated pages in the invoice. | ||
2010-11-29 21:04 <cedk> paepke: this is not so simple as the documents can be grouped in one | ||
2010-11-29 21:05 <paepke> cedk, thats a common use case. just click the print button and its done right. the user don't has to think about it. | ||
2010-11-29 21:05 <cedk> paepke: and here, it is not like it is not possible to reprint a document | ||
2010-11-29 21:06 <cedk> paepke: and how the user know what he should do with the amount of copy? | ||
2010-11-29 21:06 <paepke> there are a lot of other use cases for it and therefore there exist some output management systems for it... | ||
2010-11-29 21:07 <paepke> cedk, i know its possible to reprint. but its an amount of time for the user. | ||
2010-11-29 21:08 <cedk> paepke: it doesn't fit the design of reporting of Tryton | ||
2010-11-29 21:09 <paepke> cedk, how the user would know it? it depends. but there is normally a process which would led the user. | ||
2010-11-29 21:09 <paepke> cedk, yes, i know it doesn't fit the design. | ||
2010-11-29 21:10 <paepke> cedk, but maybe we can append somehow a different kind of design. like an enhancing module. some need it, some not. | ||
2010-11-29 21:10 <cedk> paepke: or it is simply handle on the report template | ||
2010-11-29 21:10 <paepke> cedk, i don't want that you implement it. i just wanna talk about. | ||
2010-11-29 21:10 <cedk> paepke: by looping the amount of times required | ||
2010-11-29 21:11 <cedk> paepke: I understand but I think it can not be done on the ir.action.report | ||
2010-11-29 21:12 <paepke> cedk, it would be good to have a blueprint maybe based on udono's work. | ||
2010-11-29 21:13 <paepke> cedk, for example it should also be possible to direct print a document without open an viewer on the client. there are a couple of ways to do this. and for me its too early to talk about it yet. | ||
2010-11-29 21:14 <paepke> there are a lot of possible improvements to the report engine. | ||
2010-11-29 21:15 <cedk> paepke: it is already the case | ||
2010-11-29 21:15 <paepke> anyway. i like the current layout very much. its impressive to work with openoffice templates when you had text based layouts before on an as/400. | ||
2010-11-29 21:16 <paepke> cedk, but you need the openoffice binaries on the client, or am i wrong? | ||
2010-11-29 21:16 <cedk> paepke: you need a software that can print the fiel | ||
2010-11-29 21:17 -!- jcm(~jcm@cxr69-10-88-172-230-130.fbx.proxad.net) has joined #tryton | ||
2010-11-29 21:18 <paepke> cedk, gotcha | ||
2010-11-29 23:31 -!- Timitos(~kp@88.217.184.172) has left #tryton |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!