[NOIMP] Create move before other move when routing location is different from production source location
[IMP] Corrections in views + calendar fields isinstance + inventory theoretical qty
[MERGE] Merge from master routing conflict
[FIX] Take into account that location_id of routing can be empty
Merge remote-tracking branch 'odoo/master' into master-wmsstaging4-jco
[IMP] Update views and production_delay and track_production should go to product_template
[IMP] Try to solve BoM expansion + check for context for splitting/copying moves
[IMP] Adapt views of product template start
Merge branch 'masterwmsstaging4views-jco' into master-wmsstaging4-jco
[MERGE] Fix copy_data for merge
[IMP] Start of extra primary view on product template that is not inherited by product_product
[IMP] Update manufacturing
Merge branch '8.0' of https://github.com/odoo/odoo into odoo/8.0
Merge branch 'odoo/8.0' into master-wmsstaging4-jco
[IMP] add read access to all users for product.pricelist.type

In new API, selection field value is checked (against the selection's possible
values) at both read and write. For pricelist.type this requires read access
to product.pricelist.type.
[ADD] demonstrate broken handling of rules access denial in new API
[FIX] only prefetch other cached records with read field uncached during _read_from_database

If expansion of the recordset is done during _prefetch_field, if one of the
prefetches (not the base record(s) but one of those selected by
BaseModel._in_cache_without) can't be read by the current user (due to an
access rule or for field reading reasons, or whatever) the whole read is
failed, even if the record which was specifically asked for could be read on
its own.

By only expanding the read set in _read_from_database, the cache is correctly
set but read() and _prefetch_field() only check the records explicitly asked
for for AccessDenied, prefetched records will only be asked if they are ever
accessed.

fixes #1013
[FIX] filtering out of records which shouldn't be fetched/prefetched

A todo would only filter out records selectioned by the same field's caching,
it should filter out on the whole prefetching selection or an other field
could/would just add it back to the set of records to fetch (and lead to Bad
Things).

Note: this probably deserves a test somehow, but I'm not quite sure how the
todos thing works so...
Merge branch '8.0' of https://github.com/odoo/odoo into odoo/8.0
[MERGE] Resolve conflicts 8.0