Files
odoo_source/addons/hw_drivers/http.py
T
lejeune quentin 08621a1b0c [FIX] hw_drivers: Allow the IoT to run without data base
From the last refactoring #78857 it was no longer possible to run the odoo server on an iot

With this commit we change the override of the db_list function
And and reload the driver controllers

closes odoo/odoo#86665

Signed-off-by: Quentin Lejeune (qle) <qle@odoo.com>
2022-03-24 12:57:16 +01:00

11 lines
194 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
import odoo
def db_list(force=False, host=None):
return []
odoo.http.db_list = db_list