IRC logs of #tryton for Saturday, 2012-12-22 #tryton log beginning Sat Dec 22 00:00:01 CET 2012
odichauniversal_newlines=true doesn't varies00:03
odichalets try python -u00:04
rmuseems to have some answers that could work. can't test myself, no windows systems or vms around00:04
odichaok I'll walk that way later00:06
odichanot success with -u modifier00:06
odichabut I'll do some more tests later00:07
odichathanks a lot00:07
TelesightHello, TRyton uses .odt documents. But what is the best document format to use when you want a client to fill in a document; .rtf  (rich text format)?14:31
shomonyou mean a kind of form where they fill it in and then email it back or something?14:32
shomonmaybe you can just import them into libreoffice and make them into pdfs?14:33
TelesightShomon: Yes fill in and send back.  I can not send a pdf because the client can not save the filled parts.14:35
shomonI guess easiest is "merge" - a spreadsheet with pretty pictures and colors to make it easy for them to fill in say an order form14:36
shomonand then when you get all the results back you merge them in to one master spreadsheet etc...14:37
shomonalthough I'm not sure how you'd then import that back to tryton14:37
TelesightIf I send an .odt document, Windhoos fanatics think it is a virus or something ;-)14:37
shomonguess it depends on your context. we're an open source centric place here14:37
shomonbut you can always convert... laborious/boring as that may be14:38
Telesight90% of the world say "what I do not know I do not eat¨ so they not even think of double clicking the .odt document ...14:39
shomonall our computers are debian/ubuntu here14:39
shomonand people generally aware of open source.. a bit of user education never hurts, but depends how much you really care14:40
shomonthe price factor can convert people who don't like just pirating office14:40
TelesightI do not have control over these users, they are just clients, simple users that where grown up with Windhoos.14:41
TelesightSo I have to send something that can be filled in and that I (LIbreoffice) can read back.14:42
shomonprocess I think will be : export as odt, open in odt (I think you can do batch conversions.- see it's help)14:52
shomonthen save as M$ format14:53
shomonand send /mailmerge14:53
shomonconvert back and bob's your uncle14:53
shomonor reimport into tryton...14:53
TelesightShomon: Problem is: there are clients with M$, Apple and OSS so I have to use a fill-in document that each can read and edit.14:55
TelesightI thought of an .rtf document, but maybe there is a better way ...14:57
shomonsend a link with each format downloadable from the page?15:02
shomonweb interface would be the way forward15:02
TelesightShomon: It is not the webinterface, it is the lack of a standard editable document format :-(15:04
TelesightShomon: A webinterface would be handy if you have an inquiry with an document/form in Tryton that an individual client can fill in.15:13
shomonTelesight, web interface I think is coming in a few months...15:41
TelesightShomon: beautifull, but it does not solve the problem of a standard editable document.15:43
rmuTelesight: there is no such thing. either use .doc / .docx, or use .pdf, have the user save the form-data as .fdf, and submit those.15:47
Telesightrmu: Yes that is pitty ...16:03
TelesightI think the easiest way is to create an .odt aswell as an .doc format16:05
TelesightI remember that "the ERP that is not allowed to mention" in the past had some kind of wizard to create an inquiry-set and this inquiry was presented to the client by the webinterface ... but I am not sure if this was exactly the case.16:09
rmui think people are pretty relaxed if you meant openerp16:24
Telesightrmu: :-D16:25
shomonargh he said it!!
odichaHi All!!17:51
odicharmu: unoconv error finally17:51
odicharmu: it adds CR to LF (windows style....) I'll report it dagwiers....17:52
rmuodicha: so it's not the python stdin that is doing some sort of conversion?17:53
odichathe way unoconv makes the stdout to the pipe17:56
odichait makes carriage return in windows style so it braks pdf17:56
odichaonly using stdout on win3217:56
odichaif I make unoconv -f pdf myfile.odt it works ok17:57
rmuodicha: why do you run this under windows. i'm sure there are more problems like this lurking17:57
odichaif I make unoconv -f pdf --stdout myfile.odt >> result.pdf it has the extra bytes17:57
odichanormal on win32 with python17:58
odichano so strange :)17:58
odichasome other things to look at tryton & win32 are... no attachments in "send by email" action button18:00
odichaprint button prints directly to default printer with no menus at all (this is by default in win32 print action, not a tryton error)18:01
odichabut if I can solve some of them it's better for all I think18:01
rmuof course18:04
odichamy idea is that tryton server acn be run from a win32 instance if someone mantains it. It works, only some little errors (not tryton errors, many of them18:05
odicharmu: solved... at unoconv... msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY)18:27
odichaI'll open a bug at unoconv...18:28
odicharmu: fyi... when you make sys.stdout.write( seq.value ) in unoconv it adds a CR so it breaks output to stdout...18:56
odichanobody uses stdout in windows + unoconv...18:56
odicharegards all!!18:56
-!- ciupicri(~ciupicri@unaffiliated/ciupicri) has left #tryton21:21
coepshello, if I define a bunch of xml files in a model, is there a predictable order in wich they are read on update or install of the model?23:02
coepsI would like to separate groups, access, views etc in different files, since it becomes a little complicated in my model to find things quickly23:03

Generated by 2.11.0 by Marius Gedminas - find it at!