only use alpha channel if it exists
[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] point_of_sale: fixed rounding issue for pos order when discount added(maintenance: 615322).
[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] Operation does not necessary have product for extra move
Merge pull request #3294 from odoo-dev/8.0-fixextrapack-jco

[FIX] Operation does not necessary have product for extra move
[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