[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] sale: translate advance message on advance invoice
[FIX] mail: set the parent_id to the first message of type email

And fallback of any type if there is none of type email

This fix allow the communication between two mail thread from two different Odoo servers having message creation subtypes, like project issue or crm lead
[FIX] account: use float_compare instead of just <>
Merge branch '8.0' of https://github.com/odoo/odoo into 8.0-win32
[FIX] Produce line should be connected to its procurement

[FIX] Better to work through the production_id of the procurement
[FIX] Byproducts should not start in waiting state
Merge pull request #3148 from odoo-dev/8.0-wmsmrporderpoint-jco

8.0 wmsmrporderpoint jco
Merge branch '8.0' of https://github.com/odoo/odoo into 8.0-win32
[FIX] website_sale: no need to specific to a selection field that it is of type char

Besides, if set, the field will appear as a simple char field in the form view & editable lists
+ADD the type in the editable view
[FIX] website: use dom element instead of jquery class to click input file

For some reasons, the browser will prevent to open the system file browser when clicking the input file with javascript using the jquery class element, but it works when using the standard js dom element.
Merge branch '8.0' of https://github.com/odoo/odoo into 8.0-win32
[FIX] Do not lose session.db on authentication error
[IMP] point_of_sale: add constraint on company

Using a payment method belonging to another company will raise errors when closing the session.
To avoid being stuck at session closing, forbid to create a POS using a journal of another company.
[FIX] mrp: traceability of production

When consuming product, the main_production_move is set as the source of production (used for consumed_for parameter)
However the method action_consume now (since 661a204) returns the new moves (when spliting) instead of the original one. This means that the tracebility would fail.
[FIX] project: Overpassed Deadline computation

The field delay_endings_days represents the number of days since the deadline.
This field was using the write_date instead of now to compute it and was using the absolute value (so project in advance would also get overdue days
Merge branch '8.0' of https://github.com/odoo/odoo into 8.0-win32
[FIX] Correct price correction courtesy of richard_willowit #2983 #2985
Merge pull request #3160 from odoo-dev/8.0-wmspricecorr-jco

[FIX] Correct price correction courtesy of richard_willowit #2983 #2985
Merge branch '8.0' of https://github.com/odoo/odoo into 8.0-win32