[FIX] web_diagram, unlink connectors/transitions between nodes from the diagram view (transitions IDs sent to the web client were strings instead of integers)
[FIX] web: correct display of dropdown arrows in ie11
[FIX] website_sale: right number of products in the page

The goal is to fill the page with at least 20 products and to fill all grid lines
Thus, the page should be filled with products until there are 20 products and all lines of the grid are full.
[MERGE] forward port of branch 7.0 up to 8e76938
[FIX] web: remove enforceFocus method from bootstrap modal since it is conflicting with other non bootstrap element

This method trigger the focus event when clicking inside the modal, causing a blur event on other widgets resulting in unwanted problem. Typical case is for the jquery datetimepicker where we try to open a select element which will close right after.
[FIX] crm_partner_assign: colors only if there is a stage on the lead
[FIX] website_sale: check the first product variant radio button in variants list by default to avoid users to click on Add to Cart without choosing any variant
[FIX] account: tax report: translate account.tax.code according to context

As get_lines is called from the template, use a partial to embed the original context.
[FIX] calendar: avoid to pass ids as string to unlink and write methods

opw-616532: if the event is associated somehow to a workflow, an assert is done to check that element of the ids list are (int, long)
[MERGE] forward port of branch saas-3 up to 2c1bcfb
[FIX] Render of report shouldn't update context

With API 8 context is frozendict that don't support update
[FIX] website_mail: connected users can't follow a website document
[FIX] website_event_sale: display the discounted price in website.

Add price_reduce compute method on ticket and sale order line
[IMP] res_country: add relation from country to group_country. The purpose of this patch is to allow in domain (model.country_id.country_group_ids, '=', 'Europe')
[FIX] web: avoid incoherent actual_mode after refresh

When accessing an existing record in form mode directly (enter the url or refresh a page), the daterecord has not been initialized yet. This means that the value of actual_mode will be set to 'edit' before loading the current record (method _actualize_mode() called from do_show()).
This was problematic for one2many fields that we loaded in edit mode, showing add/delete icons/buttons in readonly views. (opw 607910)
[FIX] When using "--stop-after-init", set the return code correctly. A non zero return code reflect the number of databases that fail to load/update

Backport of 2c4e370b766db6280d38a4d3535e07de604b1922 and
33ce0e73dba7c23d004a278f61943be8052e7f37
[FIX] Report: use ir.config 'report.url' key as base url if it exists

Browse ir.config 'report.url' with superuser as
the user may want to restrict access of this key to the public
[IMP] config: Test that the config file is readable

Fixes #3237

cherry-pick of 8e72049
[MERGE] forward port of branch 7.0 up to d2fd05e
[ADD] web: add a route '/web/dbredirect' to ensure the connection to the right database via the get param db.