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>
[FIX] report: correct page numbering
[FIX]: change correct label and fields in Event Analysis.
[IMP] account: support for partial reconciliation in aged partner balance

When computing the aged partner balance, the partial reconciliation was not
handled correctly. The reconciled amount should be removed from the original
remaining amount instead of displaying two entries in the journal.
eg: if invocie of 1000 in period 1 and payment of 300 in period 2, should only
display +700 in period 1 instead of two entries
Merge pull request #124 from odoo-dev/7.0-aged-partner-partial-mat

[IMP] account: support for partial reconciliation in aged partner balance
    
When computing the aged partner balance, the partial reconciliation was not handled correctly. The reconciled amount should be removed from the original remaining amount instead of displaying two entries in the journal.
eg: if invocie of 1000 in period 1 and payment of 300 in period 2, should only display +700 in period 1 instead of two entries
Merge pull request #14 from savoirfairelinux/7.0-crossovered_unicode_1292245

[FIX] Fix account_budget name unicode error (7.0 lp:1292245)
[FIX] stock: auto_validate move not set to done when multiple parent move set to done at the same time - opw 607970
Merge pull request #55 from yvaucher/7.0-fix-1319095

report_webkit: use safer and non-deprecated methods to handle temporary files
[RESTORE] Restore *.sxw files, skipped during bzr-to-git conversion to discard older binary blobs
[REVERT] b6a7402fdbddfe817fa36292e6f89e8659f9bdea, pagereset seems to be useful in some cases. Need to check deeper
Restore missed images during bzr to git transition
[FIX] purchase: po email template, the currency could be different than the pricelist currency
Fixed delivery grid get_price

It's wrong for cal weight in delivery gird . It's use product.weight * qty.
[FIX] hr_recruitment: default company set according to department company
'invoiced' fields help message is wrong
Merge pull request #207 from joshuajan/7.0

'invoiced' fields help message is wrong
the purchase order is set as invoiced when every line has a validated invoiced.