[MERGE] forward port of branch 7.0 up to 7c5bf67a5f9378fe4ae01eeffff24889f7bdcdc5
[FIX] crm: base_partner_merge, search with lowercase for name,email

and without spaces for vat
[FIX] mail: message-id not parsed properly in message_route

Same as for rev 4bad513, the references were not correctly parsed, added missing regex
[FIX] account: avoid to propagate context in send by email button

There is no reason to propagate the context in those buttons.

Besides, it leads to issues concerning the email template, rendering the wrong res_id because the active_id was wrongly propagated
[FIX] event: registration and confirmation template now have a domain on event.registration.
Otherwise all templates are displayed and this will lead to some issues.

Also added a description on event.registration, because currently its
displayed name is Email Thread.
[FIX] mass_mailing: allow to add a user/email to a specific mailing list and not always the last as previously.
[FIX] web: remove unneeded overflow-y on modal-body class

Will fix problem where opened dropdown list were hidden behind the modal footer
[FIX] website: the media video create by the media editor is not display in firefox. change the css to display the video and add z-index to the div for edit mode
[FIX] orm.search_count: ignore `limit`, `offset` and most importantly `order`

These parameters are (or should be) irrelevant for
a search_count(), and they could actually break the
result or make it significantly slower (e.g applying
`order` on large tables).
This fixes a performance regression introduced by
0f43032b.

We could also raise an error offset/limit are
passed in combination with count, but that seems
unnecessary.

Also switched to "SELECT count(1)" for the count
query, as it is simpler and just as fast.
We'd get the same perf with * or any constant value,
as in "SELECT count('me in')", but let's keep it
simple ;-)
[MERGE] Forward-port saas-3 up to e79a367
[MERGE] Forward-port saas-4 up to 8b15482
[FIX] mail: bad display of join button on mail groups.
[FIX] mass_mailing: possibility to subscribe again to a mailing list

It was not possible to subscribe again to a mailing list once unsubscribed
[MERGE] Foward-port saas-5 up to ee4df1e
[FIX] website_sale: confirm sale order on payment_confirmation

Same behavior than in saas-5
[FIX] web: multiple opened modal need fixing since bootstrap lib update
[FIX] website: slug: fallback to positive ID when slug appears to contain a missing negative ID

In some rare cases database records have negative IDs,
so the slug URL could look like /foo--20. This could
be mistaken for a slug ending with a `-` and a positive ID.
The latter is not supposed to happned as final hyphens
are stripped by slugify, but has been used in the past
and may be used in old links.
[FIX] website: update url in the footer
[FIX] orm: set default before removing magic fields

When a record is created, the magic fields (id, create_date,...) are first removed from the vals as the user should not set a value for these.
However if a value for this is given in default value (e.g. defined in an ir.value), the creation would crash (sql error : column specified more than once) as the magic column would be added again.
[FIX] product_visible_discount: multicurrency pricelists

When we compute the discount of a product to display (result of product_id_change), we compare prices in the currency of the product while we expect prices in the currency of the pricelist. opw 606188