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
[FIX] report add the humanreadable option to barcode image generator

Closes #4334
[FIX] product: variants prices (extra price) digits precision

When adding an extra price for a variant (through the button variant prices in the product template form) with a digits precision greater than 2 (4 for instance), the computed public price did not keep the digits precision of the extra price
[FIX] payment_buckaroo: brq_test expects boolean
[FIX] website_sale: compute base price from default company currency to user currency to display the good lst_price or price extra
[IMP] enable loading custom models/fields and views from module data files

Loading views for custom models from module data files was not possible because
custom models and fields were introduced into the registry after all modules
were loaded.  As a consequence, the view architecture did not pass the checks.

This patch takes a different approach: custom models and fields are loaded
early on in the registry, so that views can be validated.  The trick is to take
special care of relational custom fields: we skip them if their comodel does
not appear in the registry.  This allows to install and upgrade modules that
create/modify custom models, fields and views for them.
[IMP] registry loading: setup models only if necessary

When loading the registry without any module installation/upgrade, models are
set up once instead of twice.  In other cases, models are always set up before
installations/upgrades.
[FIX] web: reordering in editable list views

Broaden the set of conditions where reordering is allowed. Lists can be
reordered when they are sorted by sequence (or sequence ASC)

opw-619465
[FIX] hr_holidays: Add missing context check

Fixes #4341
[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] odoo.py fix fetching of git remotes

remove the useless heads in local refs so that:

git checkout -b master odoo/master

and

git checkout -b master-name odoo-dev/master-name

works.
[FIX] website_sale perfomance on public categories

Use a domain instead of python filtering when loading root categories.

Closes #4324
[FIX] payment_buckaroo: copy values dict to avoid altering original dict

_buckaroo_generate_digital_sign uses the values dict to generate the shasign
At some point, it alters the dict, it removes BRQ_SIGNATURE, but, as the values dict was not copied, it altered the original dict.
So, the key BRQ_SIGNATURE was not anymore present for methods called after _buckaroo_generate_digital_sign.
For instance, the overriden method form_feedback of website_sale payment
[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