This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import logging | |
import odoo | |
from odoo import http | |
from odoo.tools import config | |
_logger = logging.getLogger(__name__) | |
# similar to odoo.http.db_monodb but forcing the PRODUCTION_DB database | |
# in case there are several databases and request (like portal/website) |