Use NamedTemporaryFile instead of file and of deprecated mktemp. That way we ensure 2 files created at the exact same time will have a unique name
Fix incompatibility with Windows using tempfile.
[FIX] Fix account_budget name unicode error

Fix bug https://bugs.launchpad.net/openobject-addons/+bug/1292245:
    Invoice budget's warning when crossovered budget lines are not related
    to any account will cause a UnicodeEncodeError if the account has
    unicode-only characters such as é.

Make sure that the budget name is a unicode to avoid UnicodeEncodeError
which happens when budget name contains UTF-8 characters.

Signed-off-by: Sandy Carter <sandy.carter@savoirfairelinux.com>
[FIX] website: respect max_{width,height} for /website/image route
Now when a search is conducted in the fields and not m2o results have a message saying "No results to show" since the show nothing will display the user is confused
Merge branch 'master' of https://github.com/odoo/odoo
Optimized search fields from m2o

Added translation of the message
Now this style of message in a CSS class and not use HTML tags
[FIX] website_hr_recruitment: Hide unpublished job offers to portal users and employees
Merge pull request #96 from odoo-dev/saas-4-hr-security-rim

[FIX] website_hr_recruitment: Hide unpublished job offers to portal users and employees
[FIX] report: correct page numbering
[FIX] address div more to the left on external reports
[FIX] Report: do not raise when wkhtmltopdf returns a code 1. In most cases, it is due to some http requests which did not success *but* the pdf is still acceptable. Far from the best commit ever, but it avoids to completely crash when just a link to an image is wrong
[FIX] account_analytic_analysis: recurring invoices prepare and product_id_change

product_id_change set the description with the same behavior as sale orders
product_id_change set the price unit according to the pricelist
_prepare_invoice is split into two sub methods, _prepare_invoice_data and _prepare_invoice_line
_prepare_invoice actually prepare the invoice values instead of directly creating the invoice
[FIX] Report: double the default height/width of barcode image to avoid a blurred/unusable barcode once integrated in a report
[FIX] Report: removed psutil/signal/openerp worker crap
[FIX] Report: less verbose error message
[MERGE] Forward-port of latest saas-3 bugfixes, up to rev. 6958d47694df0a5397b07c40b061c41e43046941
[FIX] Report: inform the user that he may not print a pdf report while his openerp is running with only one worker; adapt method to extract wkhtmltopdf version to also work on mac where the ouput of '--version' is different from gnu/linux binary
[FIX] ir_actions: adapt render_report when called in a tests/qweb report context to generate the pdf only if a directory has been provided
[FIX] survey: enable survey access to portal users instead of 404