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
Make report_webkit thread safe by removing parser_instance attribute, as a WebkitParser instance can be shared by multiple thread and thus we don't want a thread to erase parser_instance of anorther thread.
fix indentation
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>
[IMP] work on inline search view in web client

incomplete work.  So far, the search view widget has been split in
two widgets: SearchView and SearchViewDrawer.  The SearchViewDrawer
has been inserted inline, and some preliminary work has been done
to improve the layout.
[FIX] add support for default filters in search view

support for default filters was broken in the previous commit,
now it works again.
[IMP] lots of layout work for inline search view (addon web)

mainly to correctly style the custom filters list.
[IMP] hide drawer when switching views (addon web)

the drawer wasn't closed when switching views, which might be a
problem when the user switches to a form view.  Also, renames the
variable 'searchview_drawer' to 'drawer'.
[FIX] correctly display the searchview/drawer (addon web)

the searchview has been splitted in two widgets: SearchView and
SearchViewDrawer.  They are dependent of each other, so a drawer
has to be created for each searchview.  This was not the case in
some form views (inline, created by a wizard).
[FIX] remove an extra border-bottom css rule (addon web)

the border-bottom was set on drawer_container and on drawer,
resulting in a double border.
[IMP] unlink ir.action.todo which are related to actions which will be deleted.
[IMP] better architecture for searchview/drawer

Before, the searchview and the searchview drawer had to be instantiated by
the user and appended separately to their correct place.  Now, the
searchview is responsible for creating/destroying the drawer, and the
user is responsible for correctly using the insert method with
the node where the searchview/drawer are to be inserted.
[FIX] fix the graphview field selection

searchview has been split in two parts, and the inputs are now located
in the drawer
[FIX] website: respect max_{width,height} for /website/image route
[IMP]: change author and module name
[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