Files
odoo_source/addons/website/tests/__init__.py
T
Jeremy Kersten f727cd2645 [IMP] base, model, website[*]: add get_base_url helper
Before this commit, when we want to make an external url, we need to know
if the record is related to a specific website or not, and choose base_url
or website domain.

Now each model have a fonction get_base_url (public to be callable from email
template, ...) and website override this function to add the website domain if
the record is website specific.

closes odoo/odoo#34089

Signed-off-by: Jérémy Kersten (jke) <jke@openerp.com>
2019-06-13 09:26:54 +00:00

15 lines
417 B
Python

# -*- coding: utf-8 -*-
# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import test_converter
from . import test_base_url
from . import test_get_current_website
from . import test_qweb
from . import test_crawl
from . import test_ui
from . import test_views
from . import test_menu
from . import test_page
from . import test_website_favicon
from . import test_website_reset_password