chat.freenode.net #tryton log beginning Fri Nov 23 00:00:01 CET 2012 | ||
2012-11-23 09:13 -!- ciupicri(~ciupicri@unaffiliated/ciupicri) has left #tryton | ||
2012-11-23 10:10 -!- sharoonthomas(~sharoonth@198.61.199.179) has left #tryton | ||
2012-11-23 11:44 <ivangarcia> hello, I realized that Tryton 2.6 still doesn't have Fields.Email type | ||
2012-11-23 11:44 <ivangarcia> any plans to add that validation or parameter in the future versions? | ||
2012-11-23 11:47 <cedk> ivangarcia: correct email validation is quite complicate | ||
2012-11-23 12:00 <rmu> all e-mail clients i know of (thunderbird, mutt, gmail) let you type essentially free-form text in the recipient-fields, no verification whatsoever before sending the email IIRC | ||
2012-11-23 12:06 <cedk> rmu: yes and not everybody conforms to the RFC | ||
2012-11-23 12:07 <cedk> I think the good way is to implement the domain validation on non-relational field | ||
2012-11-23 12:09 <rmu> i have a question regarding reports... i have two types of paper: the usual white A4, and pre-prints with the company logo | ||
2012-11-23 12:09 <rmu> some reports should be print on the paper with company logo, some other on plain paper, and include the company-logo in the printout | ||
2012-11-23 12:09 <rmu> some reports also are sent per email as PDF, and also have to include the logo | ||
2012-11-23 12:10 <rmu> for obvious reasons, i don't want to duplicate all reports into a non-logo and a logo-version | ||
2012-11-23 12:11 <rmu> are there any ideas how one could deal with this situation? | ||
2012-11-23 12:12 <cedk> rmu: why not duplicate, it is the purpose of template: showing similar content in different layout | ||
2012-11-23 12:16 <rmu> i feared that duplicating is the only non-smelly option... but duplication sucks from maintainance POV. and i would need to further amend the template mechanism and dig again into ODF spec | ||
2012-11-23 12:17 <rmu> would it be possible to add a plugin to the client that would communicate a boolean flag in the call to retrieve a report? | ||
2012-11-23 12:20 <rmu> my preferred solution would be to use "pdftk background" to add the pdf-template of the company logo... including proper company logo directly in open office has "issues". | ||
2012-11-23 12:34 <cedk> rmu: you can use a wizard to launch the report and setup a context, I think | ||
2012-11-23 13:56 <udono> rmu: Hi, you can put information in frames and unselect the frame property for printing. | ||
2012-11-23 15:19 <rmu> udono: don't understand | ||
2012-11-23 15:19 <rmu> i'm generating PDFs on the serverside | ||
2012-11-23 15:23 <rmu> my idea is: add a field to ir.action.report to identify which reports should be treated with pdftk, and patch the client to show those reports two times. which is sent to the client will be controlled via context. | ||
2012-11-23 15:27 <udono> rmu: you can use a frame and include the logo. Uncheck the frame attribute for printing in soffice. | ||
2012-11-23 15:27 <udono> rmu: then the logo will be shown in the pdf, but not printed | ||
2012-11-23 15:40 <sisalp> cedk: what will bring workflow on stock move ? | ||
2012-11-23 15:41 <sisalp> czdk: anything to read for learning ? | ||
2012-11-23 15:44 <cedk> sisalp: simpler, faster and more maintainable code | ||
2012-11-23 16:11 <sisalp> cedk: thank you | ||
2012-11-23 16:24 <rmu> udono: IIRC that does not work for header/footer, and i still have the problem that sometimes i also want to print the logo... | ||
2012-11-23 16:26 <rmu> udono: delivery-note that is sent to customer is printed on company-paper, the copy for the records is printed on plain paper. more or less the same happens with customer-invoices |
Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!