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] mail: access link generaTION

Catch only the error related to the access of the linked record.
Previous was hidding error to access the ir.config_parameter and eventual other
errors from the orm.
Uses SUPERUSER_ID to access instance URL (e.g. portal has no access to it).
Fixes #4234 #4234
[FIX]web_gantt: value rendering with decimal separator other than dot
[MERGE] forward port of branch 7.0 up to 60a361c
[FIX] web_gantt: duration in business days if delay not set

delay already being the hours amount in business hours

opw-620189
[MERGE] forward port of branch 7.0 up to f833d2e
[FIX] crm_partner_assign: more precise geolocation

Google api geolocation service returns a precise latitude and longitude, greater or equal than 5 digits
The precision is important as storing 2 digits instead of 5 can lead to an inaccuracy of allmost half a mile.
[FIX] mail: thread messages order on show more

If click show more in a flat thread (level 0, such as under leads, issues, etc.) append messages from newer to older
If click show more in an indented thread (level > 0, such as in the messaging wall), append messages from older to newer
[IMP] stock: Default address for the default WH

So that with minimal config, PO's have a delivery address.
[FIX] stock: barcode, display pickings of active stock picking type

If a stock picking type was disabled, but had pickings in assigned or partially available state, the barcode interface main menu crashed
Because the stock picking type was not available in pickings_by_type array
[FIX] account: prevent selecting company's contacts for manual account.move.line

Only the commercial partner (parent company) should be set in partner field of
an account.move.line.
Fixes #4261, opw 618763
[FIX]stock: return of 'To Be Invoiced' picking should also be invoiced

When creating a return picking, the default invoice state is 'To Be Invoiced' if
returned picking was invoiced. However if the invoice of the picking has not
been generated yet (state '2binvoiced'), the return should also be invoiced.
Fixes #4002
[FIX] account: bank statement reconciliation: use the transaction communication in 'open balance' journal items name
Fixes #4227
[FIX] website_mass_mailing: snippet animation does not toggleClass for subrscribe button. When the user click on edit snippet editor does not start animation with editable_mode true
[FIX] account: aged partner balance, advance partial payment

Partners totals were not correct if the partner paid partially an invoice in advance
For an invoice of 20.000 in the future, with a payment made in advance of 5000
The column not due must contains 20.000, as the amount is not yet due
One of the column 1-30, 30-60, ... (accordingly on when the payment was made). must contains -5000
The total should be 15.000
[MERGE] forward port of branch 7.0 up to 43cf6d5
[MERGE] forward port of branch saas-3 up to 36bf774
[FIX] account_check_writing: correct domains on allow_check

Fixes #4269