Files
odoo_source/odoo
Lucas Lefèvre 04bd54d0bc [FIX] base: Allow to get default with auth=none
Since dae065d, model defaults are retrieved based on the env company instead of
the user's company.

However, for a request with auth='none', the company might not be set on the
environnement (if `allowed_company_ids` is not in the context).
This makes the sql query crash, trying to compare an integer to `false`.

closes odoo/odoo#42951

X-original-commit: fa47b1b23a7fa09166c16aacf025cdcefcfaa9fd
Signed-off-by: lul-odoo <LucasLefevre@users.noreply.github.com>
2020-01-08 14:09:58 +00:00
..
2019-11-21 18:21:40 +00:00
…
2019-12-18 06:56:24 +00:00
2019-10-22 13:17:03 +00:00
2019-11-05 08:14:10 +00:00
2019-10-08 14:12:23 +00:00