[FIX] stock: production lot as no longer a company_id field
[MERGE] forward port of branch saas-5 up to c86f217
[FIX] base_action_rule: define patched methods inside a function to fix their closure.
[FIX] account: _get_analytic_lines needs the date_invoice

During the conversion of account_invoice.py to the new API, the date_invoice written on the invoice has been moved in the end of the action_move_create method.

But, the method _get_analytic_lines needs it sooner.
[FIX] account_analytic_plans: _convert_ref takes only 1 arg

Since the convert of account_invoice to the new api.
_convert_ref is defined as a staticmethod in account_invoice.py
[FIX] website_customer: check that country id exists before access the name, else traceback when we come from a non existing id via the url/controller
[ADD] crm: use company/contact name for fill partner_info in chatter

Sometimes, when you send an email in the chatter, a pop-up is displayed to fill the partner details
This case happens when the email address you send the email is not associated to an existing partner
In such cases, in lead, we use the company name and contact name to fill the partner name
[FIX] web: css tweaks
[FIX] web: fix tooltip that were stuck visible

tooltip stuck visible should be removed on click + remove tooltip container except for modal in order to prevent them for staying visible in some rare occasion
[FIX] account: on_change_unit_amount do not reset uom to default
[MERGE] forward port of branch 7.0 up to cd31cbf556cc11950ce6188041cf5c2fcd89e0f8
[FIX] account: unit arg of on_change_unit_amount can be False
[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] 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 ;-)