yaml: use selected user and not admin for onchange

Fixes: #1885
yaml: use selected user and not admin for defaults
[FIX] Fixes #4026 on discount barcode in POS
[FIX] account_check_writing: correct domains on allow_check

Fixes #4269
[FIX] project: don't use planned_hours in project gantt

The gantt view does not have enough data to properly display a project's length
based on only the planned hours.
It also makes it impossible to change the project's length using drag & drop.
It's safer to simply display the start and end dates recorded in the project
Fixes #2632
[REF] Packaging: Backport of v8 packaging

[REF] Packaging: backport of a7ab5a4109ec99d77f61a6d4c8bc7696149ea09c
[REF] Packaging: backport of a700a1139ee19d71bc4669ff74bc53c87b38dc7b
[REF] Packaging: backport of 9d0bd2807e2c2b949ece62fd6be04a1cf39c8e0d
[REF] Packaging: backport of b0722d3e5d6bebdf19dc29b8ba04651ae508839f
[REF] Packaging: backport of 24b2c93814dfa18fa1aa88bb0497a73b7b8b3e6e
[REF] Packaging: backport of e874cdafaa9675251cd7852b8e9b1662cee7d19a
[REF] Packaging: backport of 56b61da16387e642130477e604022207a77e3f74
[REF] Packaging: backport of be96dd85959528b86f7535b9b4cc0dc86981ca33
[REF] Packaging: backport of 50a4da99f051d125b8435477657ee2b115a8e0bd
[REF] Packaging: backport of 1c41f3699303da770797002025b7c8226fb562eb
[REF] Packaging: backport of cc11331733a5cb8aff6c7f0d4def1404e83b80e8
[FIX] Packaging: backport of 134716308266ff
[REF] Package: backport of 93845d683c0420118c162eb855abb690150b692d
[REF] Package: backport of 012bc01c113c8d008a0eb94219f1cb519519ff0d
[FIX] Package: partial apply of d9e72a3716488ce8
[REF] Package: backport of 67036feff4f3d2d86a9e9e3e19f85fc183f466c6
[REF] Package: backport of 73de0138dedfe0faaae857544746915315a0dbeb
[REF] Package: backport of 30d987ed30e64a498ef392a0aa83ca7f4d220a97
[REF] Package: backport of 29132669a16792a84960f03c5627f04e0ad8ff6a
[REF] Package: backport of 7db12dc47b1e89ba0a7315c567fafdc722f47b90
[REF] Package: backport of f668f9c6cdc4fcea1c647959feed42359eb78009
[REF] Package: backport of 2cf4051a1556d64a1ff321658c4c2e0a60a13132
[REF] Packaging: backport of 735924878f89041f3b74540848baef71790872a1
[REF] Packaging: backport of f2598ecdce169f8134ff1f5c84eb12e14a5d6f34
[REF] Package: backport of fd21912cfe76f90447059cdf2617bcd7631cc122
[REF] Package: backport of 9a8cdf49b08ce9e1b4238bf122ee2c4271d44f62
[REF] Package: backport of 2f4984b8381c6407a720b122733242e6cf3101da
[REF] Package: backport of 6e9edeeb46d4161bf7be02f570073c9c1edf45c7
[REF] Package: partial backport of d4624fa826a5e9542782f2c53c8ba2c766d093bc
[REF] Package: backport of 9f13722f7837a80e423ca6e7a7337d66f900e564
[FIX] sql_db: close db connexions before removing them.

Closes #831 aka lp 1322191
[FIX] delivery stock_move form, weight alignment

Closes: #954
[FIX] event onchange event type

Courtesy of Alejandro Santana

Closes: #1046, #1047
Merge pull request #1886 from lepistone/7.0-fix-yaml-onchange-user

use selected user and not admin to run yaml tests
Avoid false values in calendar views

'false' is displayed when no value is assigne to a field declared in a calend.

Impacted versions:

8.0, master
Steps to reproduce:

Create a fresh database, create a new customer and set his fiscal position.
Create a quotation, select the customer
Current behavior:

File "/Users/keje/src/odoo/addons/account/partner.py", line 107, in get_fiscal_position
return part.property_account_position.id
NameError: global name 'part' is not defined

Expected behavior:

No error
[FIX] company contacts should have the credit limit of the company they belong to; spotted by Alexis de Lattre.
[IMP] web: update font awesome to 4.2

Required for themes which uses the new icons
[FIX] web: correctly show/hide container div

view manager should hide/show divs even if you don't have a controller set.
[ADD] documentation requirements

add new requirements to generate the docs.
[FIX] account: Discount is an amount and should be right aligned

The header already is but the value isn't.
Fixes #4372
[FIX] website_sale: the price per line display a wrong reduction if the tax is include
[FIX] account_anglo_saxon: account selection for onchange

Following 3a50d4b3, should not distinguish invoice and refund for account
selection in anglo-saxon.
Do this in both onchange method and invoice creation from picking.
[FIX] account_anglo_saxon: do not put stock accounts on services

Services are not moved in stock so invoices created from stock.picking should
not use stock accounts, same when creating lines for sales. opw 615263
[FIX] account_anglo_saxon: keep reference to stock.move on invoice line

When an invoice is created from a picking keep a reference to the stock.move to
use the right price for the COGS entry.
This used to be done by the _prepare_invoice_line method but it was removed
during WMS refactoring, replacing by the brand new _get_invoice_line_vals
method! opw 615263