[FIX] email_template: fix invalid uses of tools.email_split

This is necessary to have the tests pass after
the corresponding server patch in server 7.0
at revision 5198 revision-id: odo@openerp.com-20140114120344-r58wndgybqusnnq7

lp bug: https://launchpad.net/bugs/1199386 fixed
lp bug: https://launchpad.net/bugs/1165531 fixed

bzr revid: odo@openerp.com-20140114134627-6j83f4s6pvnj4uma
[IMP] view_form: do not display hugly error message when name_get returns no value but more helpful message (eg: bad default value returns wrong id)

bzr revid: mat@openerp.com-20140114145720-r3lg0qjezqj4p3i1
[FIX] tools.email_split: improve email extraction using stdlib + extra tests

The original code was having issues telling apart
names containing emails from the actual email.
This patch is inspired by Etienne Hirt's patch
on bug 1165531 for OpenERP 6.1.
This will also help solve bug 1199386, if we can
centralize all email parsing through this helper.

lp bug: https://launchpad.net/bugs/1199386 fixed
lp bug: https://launchpad.net/bugs/1165531 fixed

bzr revid: odo@openerp.com-20140114154426-usu6intv5139egd3
[FIX] purchase: fix workflow for orders based on incoming shipments

Purchase orders Based on incoming shipments never ended in done stage

bzr revid: dle@openerp.com-20140114164804-zhfy9lb308554kp1
[FIX] base: print workflow now displays the transition where the workflow instance is stuck

bzr revid: dle@openerp.com-20140114170529-wg1c3q8492whr19d
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140115062126-ypg4xp33rspusnts
bzr revid: launchpad_translations_on_behalf_of_openerp-20140115062205-ov2axame3z00jkii
[FIX] base_calendar: when sorting on a many2one field (format (id, name)), sort on the name value instead of full tuple

bzr revid: mat@openerp.com-20140115085748-029ntjqc71huep25
[FIX] portal: use email_split method to avoid blocking valid emails, rather than obsolete email_re

lp bug: https://launchpad.net/bugs/1199386 fixed

bzr revid: odo@openerp.com-20140115093120-r2u2bmms9y847b93
[MERGE] [FIX] reference field: correct editable tree view for refrence field (opw 601553)

bzr revid: mat@openerp.com-20140115110038-30hgekee12evx5fm
[FIX] mail: mail_thread: fixed a bug in subscription, new followers
could overwrite the subscription of previous followers.

This has already been fixed in saas-2 branch at revision 9079 (revid
tde@openerp.com-20140109131748-hgtflp40pmjhlhu2). But the fix is also
valid for the 7.0 stable branch.

bzr revid: tde@openerp.com-20140115115825-fniobvz33sssvrwd
[FIX] web: view_form.js, allow press enter to break line in fieldtextwidget

bzr revid: dle@openerp.com-20140115120844-1z0pbh9pc63tllce
[FIX] ir.translation: search view should use the stored `src` colum, the `source` function is meant for edition only

bzr revid: odo@openerp.com-20140115121021-978u00gkshuabvtf
[IMP] sale,purchase order: order the field based on date_order instead of name
This avoids getting irrelevent order based on sequences without padding (eg: SO10 between SO1 and SO2)

bzr revid: mat@openerp.com-20140115140527-pztwh3kl6y9y7jbe
[FIX] Fix the missing border-bottom of the notebook in dialogs

bzr revid: cto@openerp.com-20140115142608-rjemiq5lq8ju8zc0
[IMP] sale,purchase order: order the field based on date_order instead of name (opw 602879)
This avoids getting irrelevent order based on sequences without padding (eg: SO10 between SO1 and SO2)

bzr revid: mat@openerp.com-20140115144030-04xlhaf3b4sviq92
[MERGE] [FIX] css: Fix the missing border-bottom of the notebook in dialogs

bzr revid: mat@openerp.com-20140115145049-bj80tsytb8fcrsiw
[FIX] hr_timesheet_sheet: save correctly if focus is in a timesheet input

on_change_unit_amount was called manually in the timesheet widget. Normally, save waits for all on_change to be applied, but in this case, as the on_change its called manually in the js, it was not the case.
The fix is to put all deferreds for which we must wait for in an array, and to wait all deferreds to be done before saving.

bzr revid: dle@openerp.com-20140115165114-nqa2ynszgocrnt52
Launchpad automatic translations update.

bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060347-s1e2v9o33n1cxk2y
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060418-cw791djr2ebt2wuy
bzr revid: launchpad_translations_on_behalf_of_openerp-20140116060651-x8r0l0m27wcx0yav
[FIX] base_calendar: when searching on events, avoid getting an error if virtual_id=False and count=True

bzr revid: mat@openerp.com-20140116094758-y32i7bw4zpakk92z
[FIX]Re-Fixed the issue of file input widget which is not working in firefox and IE.

bzr revid: msh@openerp.com-20140116115247-abzdc5blst8ucfmm