[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] product: pricelist, uom and price_surcharge

The price_surcharge attribute must be computed based on the reference unit of measure (divided by the factor).
This is to make sure than 12 units and 1 dozen have the same price after pricelist computation (opw 599727).

Added test checking the correctness of pricelist computation based on unit of measures.
[FIX] product_visible_discount: discount with different unit of measures

The computation of the price without pricelist should take care of the unit of measure.
e.g. if computing discount for objects in dozen (on a product with price in unit), returned unit price should be (price*12) where 12 is the factor to go from dozen to unit.
Otherwise the compared prices (with and without pricelist) would not use the same unit of measure and the comparaison would be inconsistent. (opw 599727)
[FIX] When extra move for consumption lines, copy lot and when producing more than produced, create extra move
[FIX] website_sale: Postal Code is required during checkout for countries without postal codes; Zip must be not required.
[FIX] product: is_product_variant is all time false. result: can not change ean because the field is hidden in the view. Need to overwrite the function field on product.product to have the real value (true for product.product)
[FIX] website: update jQuery.transfo lib + adapt code
[FIX] website_sale_options: only one optional product is added to the cart and the quantity of the optional product don't change in the cart when we click on more or less. Fix the number of items displayed in the modal options.
[FIX] account.fiscal.position: Fix get_fiscal_position for auto apply:

First match a fiscal position for the given country, then for a country
group containing the country. If none found, search a fiscal position
without country nor country group
[FIX] website.sale: Double / triple digits do not get displayed correctly on ecommerce quantity selector
[FIX] avoid leaving dangling account moves when deleting a bank statement

Fixes #3292
Forward port of branch 7.0 up to 42bf0a5
[FIX] product: reference in test
Forward port of branch 7.0 up to rev 8abd003
[FIX] web: cors rpc calls were missing the session cookie, resulting in new sessions being created for every call
[FIX] web: cors rpc calls were missing the session cookie, resulting in new sessions being created for every call
[FIX] mail: read more show original message

Instead of html cleaned html, to allow display blockquotes

opw-614729
[FIX] account: limit search for fields_view_get to one result

+ use ir.model.data get_object_reference method for better performance (cached result)

opw-616616
Merge pull request #3321 from odoo-dev/8.0-wmsmrpfixes-jco

[FIX] When extra move for consumption lines, copy lot and when producing...
[FIX] product_visible_discount: use on_change result for product value

At the end of the onchange call product_id_change, the uom may have changed (e.g. if product in different category).
To compute the quantity, we need to use the new uom and not the first one (that may be Unit, default value)