chat.freenode.net #tryton log beginning Sat Dec 22 00:00:01 CET 2012 | ||
2012-12-22 00:02 <rmu> http://stackoverflow.com/questions/2850893/reading-binary-data-from-stdin | ||
2012-12-22 00:03 <odicha> universal_newlines=true doesn't varies | ||
2012-12-22 00:04 <odicha> lets try python -u | ||
2012-12-22 00:04 <rmu> seems to have some answers that could work. can't test myself, no windows systems or vms around | ||
2012-12-22 00:06 <odicha> ok I'll walk that way later | ||
2012-12-22 00:06 <odicha> not success with -u modifier | ||
2012-12-22 00:07 <odicha> but I'll do some more tests later | ||
2012-12-22 00:07 <odicha> thanks a lot | ||
2012-12-22 14:31 <Telesight> Hello, 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)? | ||
2012-12-22 14:32 <shomon> you mean a kind of form where they fill it in and then email it back or something? | ||
2012-12-22 14:33 <shomon> maybe you can just import them into libreoffice and make them into pdfs? | ||
2012-12-22 14:33 <shomon> https://danilop.wordpress.com/2008/07/02/how-to-create-pdf-forms-with-openoffice/ | ||
2012-12-22 14:35 <Telesight> Shomon: Yes fill in and send back. I can not send a pdf because the client can not save the filled parts. | ||
2012-12-22 14:36 <shomon> I guess easiest is "merge" - a spreadsheet with pretty pictures and colors to make it easy for them to fill in say an order form | ||
2012-12-22 14:37 <shomon> and then when you get all the results back you merge them in to one master spreadsheet etc... | ||
2012-12-22 14:37 <shomon> although I'm not sure how you'd then import that back to tryton | ||
2012-12-22 14:37 <Telesight> If I send an .odt document, Windhoos fanatics think it is a virus or something ;-) | ||
2012-12-22 14:37 <shomon> guess it depends on your context. we're an open source centric place here | ||
2012-12-22 14:38 <shomon> but you can always convert... laborious/boring as that may be | ||
2012-12-22 14:39 <Telesight> 90% of the world say "what I do not know I do not eat¨ so they not even think of double clicking the .odt document ... | ||
2012-12-22 14:39 <shomon> all our computers are debian/ubuntu here | ||
2012-12-22 14:40 <shomon> and people generally aware of open source.. a bit of user education never hurts, but depends how much you really care | ||
2012-12-22 14:40 <shomon> the price factor can convert people who don't like just pirating office | ||
2012-12-22 14:41 <Telesight> I do not have control over these users, they are just clients, simple users that where grown up with Windhoos. | ||
2012-12-22 14:42 <Telesight> So I have to send something that can be filled in and that I (LIbreoffice) can read back. | ||
2012-12-22 14:52 <shomon> process I think will be : export as odt, open in odt (I think you can do batch conversions.- see it's help) | ||
2012-12-22 14:53 <shomon> then save as M$ format | ||
2012-12-22 14:53 <shomon> and send /mailmerge | ||
2012-12-22 14:53 <shomon> convert back and bob's your uncle | ||
2012-12-22 14:53 <shomon> or reimport into tryton... | ||
2012-12-22 14:55 <Telesight> Shomon: 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. | ||
2012-12-22 14:57 <Telesight> I thought of an .rtf document, but maybe there is a better way ... | ||
2012-12-22 15:02 <shomon> send a link with each format downloadable from the page? | ||
2012-12-22 15:02 <shomon> web interface would be the way forward | ||
2012-12-22 15:04 <Telesight> Shomon: It is not the webinterface, it is the lack of a standard editable document format :-( | ||
2012-12-22 15:05 <shomon> :S | ||
2012-12-22 15:13 <Telesight> Shomon: A webinterface would be handy if you have an inquiry with an document/form in Tryton that an individual client can fill in. | ||
2012-12-22 15:41 <shomon> Telesight, web interface I think is coming in a few months... | ||
2012-12-22 15:43 <Telesight> Shomon: beautifull, but it does not solve the problem of a standard editable document. | ||
2012-12-22 15:47 <rmu> Telesight: there is no such thing. either use .doc / .docx, or use .pdf, have the user save the form-data as .fdf, and submit those. | ||
2012-12-22 16:03 <Telesight> rmu: Yes that is pitty ... | ||
2012-12-22 16:05 <Telesight> I think the easiest way is to create an .odt aswell as an .doc format | ||
2012-12-22 16:09 <Telesight> I 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. | ||
2012-12-22 16:24 <rmu> i think people are pretty relaxed if you meant openerp | ||
2012-12-22 16:25 <Telesight> rmu: :-D | ||
2012-12-22 16:35 <shomon> argh he said it!! https://www.youtube.com/watch?v=QTQfGd3G6dg | ||
2012-12-22 17:51 <odicha> Hi All!! | ||
2012-12-22 17:51 <odicha> rmu: unoconv error finally | ||
2012-12-22 17:52 <odicha> rmu: it adds CR to LF (windows style....) I'll report it dagwiers.... | ||
2012-12-22 17:53 <rmu> odicha: so it's not the python stdin that is doing some sort of conversion? | ||
2012-12-22 17:56 <odicha> the way unoconv makes the stdout to the pipe | ||
2012-12-22 17:56 <odicha> it makes carriage return in windows style so it braks pdf | ||
2012-12-22 17:56 <odicha> only using stdout on win32 | ||
2012-12-22 17:57 <odicha> if I make unoconv -f pdf myfile.odt it works ok | ||
2012-12-22 17:57 <rmu> odicha: why do you run this under windows. i'm sure there are more problems like this lurking | ||
2012-12-22 17:57 <odicha> if I make unoconv -f pdf --stdout myfile.odt >> result.pdf it has the extra bytes | ||
2012-12-22 17:58 <rmu> strange | ||
2012-12-22 17:58 <odicha> normal on win32 with python | ||
2012-12-22 17:58 <odicha> no so strange :) | ||
2012-12-22 18:00 <odicha> some other things to look at tryton & win32 are... no attachments in "send by email" action button | ||
2012-12-22 18:01 <odicha> print button prints directly to default printer with no menus at all (this is by default in win32 print action, not a tryton error) | ||
2012-12-22 18:01 <odicha> but if I can solve some of them it's better for all I think | ||
2012-12-22 18:04 <rmu> of course | ||
2012-12-22 18:05 <odicha> my 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 them | ||
2012-12-22 18:27 <odicha> rmu: solved... at unoconv... msvcrt.setmode(sys.stdout.fileno(), os.O_BINARY) | ||
2012-12-22 18:27 <odicha> windozzz | ||
2012-12-22 18:28 <odicha> I'll open a bug at unoconv... | ||
2012-12-22 18:56 <odicha> rmu: fyi... when you make sys.stdout.write( seq.value ) in unoconv it adds a CR so it breaks output to stdout... | ||
2012-12-22 18:56 <odicha> nobody uses stdout in windows + unoconv... | ||
2012-12-22 18:56 <odicha> regards all!! | ||
2012-12-22 21:21 -!- ciupicri(~ciupicri@unaffiliated/ciupicri) has left #tryton | ||
2012-12-22 23:02 <coeps> hello, 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? | ||
2012-12-22 23:03 <coeps> I would like to separate groups, access, views etc in different files, since it becomes a little complicated in my model to find things quickly |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!