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] Added quantity as type and variable_factor + sequence for flexibility to delivery grid line
[IMP] remove setting of color.ui

After further considering PR #21's arguments, the setup script should
not go around setting `color.ui`:

* it shouldn't be needed for recent gits with default compile
  settings[0]
* it may override advanced users's own colour configuration/
  customisations (or disabling)
* it forces default colours on users for which it may be useless
  (colour- blind) or even detrimental (other vision impairments)
* some linux distributions apparently default to idiotic pagers which
  can't handle ANSI colour codes by default and spew garbage to the
  terminal

[0] https://github.com/git/git/blob/master/Documentation/RelNotes/1.8.4.txt#L178-L180
Add quantity in variable factor too...

I forgot to add the changes before committing
[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
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
If no addons-path provided, include the main addons