[FIX] account: while refuding the invoice with payment term journal items are created wrongly with write-off account
[ADD] Added timesheet accounts menu in hr configuration
[IMP]Improved code to set action
[IMP]Improved code to set use_timesheets default true and added action for menu Timesheets Accounts
[IMP]override name_create method of analytic account for not do not open contract page on quick create
[REM]Removed use_timesheets field from defaults
[IMP]Improved code
[IMP] Improved code of name_create method
[IMP]Improved code to open contract wizard from hr timesheet
[MRG]Merge with lp:openobject-addons
[IMP]set default_use_timesheets true in analytic user function
[MRG]Merge with lp:openobject-addons
[IMP] mail, email_template: mass mailing feature cleaning
- now differentiates mass mailing and mass post.
- mass mailing is a true mass mailing
- using same_thread log a copy in the document, without using message_post
(using notification field, + model and res_id)
- improved form view of composer, adding a filed explaining a bit the various
recipients
- removed unnecessary fields coming from the template (partner_to, ...) because
they are confusing -> composer should be easier to understand and use
- removed some unnecessary code
- removed double body computation when using templates (one for tmeplate, then
the wizard -> not necessary)

This commit will be followed by other to try to improve the mass mailing
and mass post.
[MERGE] Sync with trunnk
[IMP] mail, email_template: still continuing work to improve performances of mass mailing.
main differences :
- record_name is not a function field anymore, but a char field + a method in create
if not given (default-like, but dependent of other values). This allows the composer
to give a value for record_name (False for email mass mailing) to avoid browsing
records and having their access rights issues in the way
- author_id, email_from coming from composer instead of called in every mail.message
creation
- moved code dealing with attachments from send_mail to get_mail-values, to that at
the end of this method we know all values of the email

Some tests have been updated / temporarily disabled.
[MERGE] Sync with trunk
[CLEAN] email_template: cleaned modified code to lessen the diff
[CLEAN] mail: some code cleaning in the modifications
[MRG]Merge with trunk
[MRG]Merge with trunk