[FIX] purchase: fixed recomputation of unit price when changing product quantity or uom
[FIX] product: pricelist now consider the quantity in product uom qty for rule application purposes
[FIX] product_visible_discount: display full unit price only when the discount column is displayed

Without this, the unit price is visually set to full, the discount column is not visible, but the actual price used in computation is the discounted price, very misleading !
[FIX] corrected a word in a comment

closes #3423
[FIX] doc: fit code example to new API

When using this code as is, the 'ids' variable throws an exception for not
being defined. In the new API, 'ids' is no longer given as a function variable
but as a variable within 'self'.

close #3406
[IMP] account: Add multi-company record rule for analytic entries report

As a multi-company rule is already present for account.analytic.account and account.analytic.line, should have one on the report on both of them.
[FIX] point_of_sale: details of sales report: include discount when computing taxes

Also, fixed a typo in the report's view.
[CHG] doc: promote individual view types to document toplevel
[FIX] doc: graph <field> does not use :grouping

see #3403 and 7ad4af8
[DOC] fields.py: oldname key
[FIX] payment_paypal: env field has been renamed with environment in 8.0

as env is a built-in orm variable.
[IMP] doc: add some diagrams to workflow doc

Also move transitions to the bottom of the document, and try to clarify the
documentation for split, join and activity kinds.
[FIX] Remove duplicate "Can be purchased" filter.

Duplicate product filter "To Purchase" and "Can be Purchased". Same search
criteria and same name, so removing one doesn't affect people who were
referencing it (e.g. with search_default_* key in context).  Left the one
named "Can be Purchased" because consistent with the equivalent sale filter
"Can be Sold".

Fixes #2718, closes #2864
[IMP] doc: remove guides section, move themes to tutorials and rest to reference

also pass PNGs through crusher, turns out dot produces pretty terrible PNGs
[FIX] base_iban: IBAN constraint trigger

Make sure the constraint on IBAN format is checked when either the state or the account number is changed.
'iban' field was not modified so the check never triggered and could enter invalid IBAN
Fixes #3426