Website Test

test_website
REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/19.0/test_website
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORSOdoo S.A.
MAINTAINERS
MAINTAINERSOdoo S.A.
COMMITTERS
COMMITTERSRaphael Collet, Xavier Morel, Mohammed Shekha, Nicolas Lempereur, Géry Debongnie, Aaron Bohy, Jeremy Kersten, Lucas Perais (lpe), qsm-odoo, Lucas Perais, Julien Castiaux, Xavier-Do, Paul Morelle, Julien Mougenot, Gorash, Mathieu Duckerts-Antoine, William Braeckman, Benjamin Vray, odoo, Benoit Socias, luvi, Julien (jula), Robin Lejeune (role), Levi Siuzdak (sile), FrancoisGe, bram1000, divy-odoo, Mehdi Outagant (MOU), Serge Bayet (seba), Manushi Shah, Rahil Ghanchi, Pierre Pulinckx (PIPU), Denis Rygaert, Arib Ansari, Pierre Lamotte (pila), Pierre Pulinckx, Bastien PIERRE, Krzysztof Magusiak (krma), Ajit Singh, chdh-odoo, Augustin (duau), Alice Gaudon, panj-odoo
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:51:40
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web_unsplash
    - base_setup
    - base
    - web
    - html_editor
    - bus
    - website
    - digest
    - mail
    - web_tour
    - portal
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
    - html_builder
    - theme_default
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES geoip2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module contains tests related to website. Those are
present in a separate module as we are testing module install/uninstall/upgrade
and we don't want to reload the website module every time, including it's possible
dependencies. Neither we want to add in website module some routes, views and
models which only purpose is to run tests.

Code Analysis

Views touched (18)
XML IDNameModelTypeStatus
model_item Model item ir.ui.view qweb New
test_error_view Test Error View qweb New
test_form Test Form ir.ui.view qweb New
test_model_multi_website_view_kanban test.model.multi.website.kanban test.model.multi.website kanban New
test_model_multi_website_view_list Test Multi Model Pages List test.model.multi.website list New
test_model_multi_website_view_list_js_class_bug Test Multi Model Pages list js_class bug test.model.multi.website list New
test_model_page_layout Test Model ir.ui.view qweb New
test_model_view_kanban test.model.kanban test.model kanban New
test_model_view_list Test Model Pages List test.model list New
test_page_view Test Page View qweb New
test_redirect_view test_redirect_view ir.ui.view qweb New
test_redirect_view_qs test_redirect_view_qs ir.ui.view qweb New
test_view Test View qweb New
test_view_access_error test_view_access_error ir.ui.view qweb New
test_view_child_broken test_view_child_broken ir.ui.view qweb Inherits test_website.test_view
test_view_to_be_t_called Test View To Be t-called qweb New
update_module_base_view update_module_base_view ir.ui.view qweb New
view_test_model_form test.model.form test.model form New
HTTP endpoints (37)
Route(s)HandlerAuthTypeMethodsFlags
/empty_controller_test WebsiteTest.empty_controller_test public http ALL website
/get WebsiteTest.get_method public http GET website
/get_post WebsiteTest.get_post_method public http GET, POST website
/get_post_nomultilang WebsiteTest.get_post_method_no_multilang public http GET, POST website
/post WebsiteTest.post_method public http POST website
/test_access_error_http WebsiteTest.test_access_error_http public http ALL website
/test_access_error_json WebsiteTest.test_access_error_json public jsonrpc ALL website
/multi_company_website WebsiteTest.test_company_context public http ALL website
/test_countries_308, /test_countries_308/<model("test.model"):rec> WebsiteTest.test_countries_308 public http ALL website
/test_access_denied_http WebsiteTest.test_denied_error_http public http ALL website
/test_access_denied_json WebsiteTest.test_denied_error_json public jsonrpc ALL website
/test_error_view WebsiteTest.test_error_view public http ALL website
/test_get_dbname WebsiteTest.test_get_dbname public jsonrpc ALL website
/ignore_args/a WebsiteTest.test_ignore_args_a public http ALL website
/ignore_args/converter/<string:a> WebsiteTest.test_ignore_args_converter public http ALL website
/ignore_args/converter/<string:a>/nokw WebsiteTest.test_ignore_args_converter_nokw public http ALL website
/ignore_args/converteronly/<string:a> WebsiteTest.test_ignore_args_converter_only public http ALL website
/ignore_args/kw WebsiteTest.test_ignore_args_kw public http ALL website
/ignore_args/none WebsiteTest.test_ignore_args_none public http ALL website
/test_internal_error_http WebsiteTest.test_internal_error_http public http ALL website
/test_internal_error_json WebsiteTest.test_internal_error_json public jsonrpc ALL website
/test_lang_url/<model("res.country"):country> WebsiteTest.test_lang_url public http ALL website
/test_missing_error_http WebsiteTest.test_missing_error_http public http ALL website
/test_missing_error_json WebsiteTest.test_missing_error_json public jsonrpc ALL website
/test_model/<model("test.model"):test_model> WebsiteTest.test_model public http ALL website
/test_website/country/<model("res.country"):country> WebsiteTest.test_model_converter_country public http ALL website
/test_website/200/<model("test.model"):rec> WebsiteTest.test_model_converter_seoname public http ALL website
/test_website/model_item/<int:record_id> WebsiteTest.test_model_item public http GET website
/test_website/model_item_sudo/<int:record_id> WebsiteTest.test_model_item_sudo public http GET sudo website
/test_website/test_redirect_view_qs WebsiteTest.test_redirect_view_qs public http ALL website
/test_website_sitemap, /test_website_sitemap/something/<model("test.model"):rec> WebsiteTest.test_sitemap public http ALL website
/test_user_error_http WebsiteTest.test_user_error_http public http ALL website
/test_user_error_json WebsiteTest.test_user_error_json public jsonrpc ALL website
/test_validation_error_http WebsiteTest.test_validation_error_http public http ALL website
/test_validation_error_json WebsiteTest.test_validation_error_json public jsonrpc ALL website
/test_view WebsiteTest.test_view public http ALL website
/test_view_access_error WebsiteTest.test_view_access_error public http ALL website
Models touched (7)

New fields (4)
  • name Char
    required=True translate=True
  • submodel_ids One2many → test.submodel
    args: 'test.submodel', 'test_model_id', 'Submodels'
  • tag_id Many2one → test.tag
    args: 'test.tag'
  • website_description Html
    default='<div class="o_test_website_description"><p>A simple website description content.</p></div>' sanitize_attributes=False sanitize_form=False sanitize_overridable=True string='Description for the website' translate=html_translate
Public methods (1)
  • open_website_url(self)

New fields (1)
  • name Char
Public methods (0)

No public methods.

New fields (2)
  • name Char
    required=True
  • website_id Many2one → website
    ondelete='cascade' string='Website' args: 'website'
Public methods (0)

No public methods.

New fields (3)
  • name Char
    required=True
  • tag_id Many2one → test.tag
    args: 'test.tag'
  • test_model_id Many2one → test.model
    args: 'test.model'
Public methods (0)

No public methods.

New fields (1)
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (1)
  • some_translatable_field Char
    default='something' string='A translatable field' translate=True
Public methods (0)

No public methods.

New fields (1)
  • name_translated Char
    translate=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/18.0/test_website
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSXavier Morel, Nicolas Lempereur, Aaron Bohy, Jeremy Kersten, Lucas Perais (lpe), Yannick Tivisse, qsm-odoo, Romain Derie, Lucas Perais, Julien Castiaux, Xavier-Do, Paul Morelle, Julien Mougenot, Gorash, William Braeckman, Romain Estievenart, odoo, Benoit Socias, Arthur Detroux (ard), Renaud Thiry, Robin Lejeune (role), Levi Siuzdak (sile), Chong Wang (cwg), omra-odoo, Mehdi Outagant (MOU), Guillaume-gdi, Serge Bayet (seba), Bastien Fafchamps (bafa), Julien Carion (juca), Chrysanthe (chgo), sami odoo, Rahil Ghanchi, Pierre Pulinckx (PIPU), Pierre Lamotte (pila), Pierre Pulinckx (pipu), Pierre Pulinckx, Bastien PIERRE, Ajit Singh
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:25:53
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web_unsplash
    - base_setup
    - base
    - web
    - web_editor
    - bus
    - html_editor
    - website
    - digest
    - mail
    - web_tour
    - portal
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
    - theme_default
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES geoip2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module contains tests related to website. Those are
present in a separate module as we are testing module install/uninstall/upgrade
and we don't want to reload the website module every time, including it's possible
dependencies. Neither we want to add in website module some routes, views and
models which only purpose is to run tests.

Code Analysis

Views touched (18)
XML IDNameModelTypeStatus
model_item Model item ir.ui.view qweb New
res_config_settings_view_form res.config.settings.view.form.inherit.test.website res.config.settings Inherits website.res_config_settings_view_form
test_error_view Test Error View qweb New
test_form Test Form ir.ui.view qweb New
test_model_multi_website_view_kanban test.model.multi.website.kanban test.model.multi.website kanban New
test_model_multi_website_view_list Test Multi Model Pages List test.model.multi.website list New
test_model_multi_website_view_list_js_class_bug Test Multi Model Pages list js_class bug test.model.multi.website list New
test_model_page_layout Test Model ir.ui.view qweb New
test_model_view_kanban test.model.kanban test.model kanban New
test_model_view_list Test Model Pages List test.model list New
test_page_view Test Page View qweb New
test_redirect_view test_redirect_view ir.ui.view qweb New
test_redirect_view_qs test_redirect_view_qs ir.ui.view qweb New
test_view Test View qweb New
test_view_child_broken test_view_child_broken ir.ui.view qweb Inherits test_website.test_view
test_view_to_be_t_called Test View To Be t-called qweb New
update_module_base_view update_module_base_view ir.ui.view qweb New
view_test_model_form test.model.form test.model form New
HTTP endpoints (36)
Route(s)HandlerAuthTypeMethodsFlags
/empty_controller_test WebsiteTest.empty_controller_test public http ALL website
/get WebsiteTest.get_method public http GET website
/get_post WebsiteTest.get_post_method public http GET, POST website
/get_post_nomultilang WebsiteTest.get_post_method_no_multilang public http GET, POST website
/post WebsiteTest.post_method public http POST website
/test_access_error_http WebsiteTest.test_access_error_http public http ALL website
/test_access_error_json WebsiteTest.test_access_error_json public json ALL website
/multi_company_website WebsiteTest.test_company_context public http ALL website
/test_countries_308, /test_countries_308/<model("test.model"):rec> WebsiteTest.test_countries_308 public http ALL website
/test_access_denied_http WebsiteTest.test_denied_error_http public http ALL website
/test_access_denied_json WebsiteTest.test_denied_error_json public json ALL website
/test_error_view WebsiteTest.test_error_view public http ALL website
/test_get_dbname WebsiteTest.test_get_dbname public json ALL website
/ignore_args/a WebsiteTest.test_ignore_args_a public http ALL website
/ignore_args/converter/<string:a> WebsiteTest.test_ignore_args_converter public http ALL website
/ignore_args/converter/<string:a>/nokw WebsiteTest.test_ignore_args_converter_nokw public http ALL website
/ignore_args/converteronly/<string:a> WebsiteTest.test_ignore_args_converter_only public http ALL website
/ignore_args/kw WebsiteTest.test_ignore_args_kw public http ALL website
/ignore_args/none WebsiteTest.test_ignore_args_none public http ALL website
/test_internal_error_http WebsiteTest.test_internal_error_http public http ALL website
/test_internal_error_json WebsiteTest.test_internal_error_json public json ALL website
/test_lang_url/<model("res.country"):country> WebsiteTest.test_lang_url public http ALL website
/test_missing_error_http WebsiteTest.test_missing_error_http public http ALL website
/test_missing_error_json WebsiteTest.test_missing_error_json public json ALL website
/test_model/<model("test.model"):test_model> WebsiteTest.test_model public http ALL website
/test_website/country/<model("res.country"):country> WebsiteTest.test_model_converter_country public http ALL website
/test_website/200/<model("test.model"):rec> WebsiteTest.test_model_converter_seoname public http ALL website
/test_website/model_item/<int:record_id> WebsiteTest.test_model_item public http GET website
/test_website/model_item_sudo/<int:record_id> WebsiteTest.test_model_item_sudo public http GET sudo website
/test_website/test_redirect_view_qs WebsiteTest.test_redirect_view_qs public http ALL website
/test_website_sitemap, /test_website_sitemap/something/<model("test.model"):rec> WebsiteTest.test_sitemap public http ALL website
/test_user_error_http WebsiteTest.test_user_error_http public http ALL website
/test_user_error_json WebsiteTest.test_user_error_json public json ALL website
/test_validation_error_http WebsiteTest.test_validation_error_http public http ALL website
/test_validation_error_json WebsiteTest.test_validation_error_json public json ALL website
/test_view WebsiteTest.test_view public http ALL website
Models touched (8)

New fields (0)

No new fields.

Public methods (1)
  • action_website_test_setting(self)

New fields (4)
  • name Char
    required=True translate=True
  • submodel_ids One2many → test.submodel
    args: 'test.submodel', 'test_model_id', 'Submodels'
  • tag_id Many2one → test.tag
    args: 'test.tag'
  • website_description Html
    default='<div class="o_test_website_description"><p>A simple website description content.</p></div>' sanitize_attributes=False sanitize_form=False sanitize_overridable=True string='Description for the website' translate=html_translate
Public methods (1)
  • open_website_url(self)

New fields (1)
  • name Char
Public methods (0)

No public methods.

New fields (2)
  • name Char
    required=True
  • website_id Many2one → website
    ondelete='cascade' string='Website' args: 'website'
Public methods (0)

No public methods.

New fields (3)
  • name Char
    required=True
  • tag_id Many2one → test.tag
    args: 'test.tag'
  • test_model_id Many2one → test.model
    args: 'test.model'
Public methods (0)

No public methods.

New fields (1)
  • name Char
    required=True
Public methods (0)

No public methods.

New fields (1)
  • some_translatable_field Char
    default='something' string='A translatable field' translate=True
Public methods (0)

No public methods.

New fields (1)
  • name_translated Char
    translate=True
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/17.0/test_website
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSMartin Trigaux, Denis Ledoux, Xavier Morel, Nicolas Lempereur, Géry Debongnie, Aaron Bohy, Jeremy Kersten, Yannick Tivisse, qsm-odoo, Romain Derie, Christophe Monniez, Jorge Pinna Puissant, Lucas Perais, Julien Castiaux, Xavier-Do, Samuel Degueldre, Gorash, Younn Olivier, Romain Estievenart, Benjamin Vray, odoo, Benoit Socias, Guillaume (gdi), Arthur Detroux (ard), Yolann Sabaux, Nicolas Bayet, Renaud Thiry, Levi Siuzdak (sile), Michael (mcm), divy-odoo, Mehdi Outagant (MOU), Guillaume-gdi, Serge Bayet (seba), Rahil Ghanchi, Pierre Pulinckx (pipu), Bastien PIERRE
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 01:02:04
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web_unsplash
    - base_setup
    - base
    - web
    - web_editor
    - bus
    - website
    - digest
    - mail
    - web_tour
    - portal
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
    - theme_default
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES geoip2
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module contains tests related to website. Those are
present in a separate module as we are testing module install/uninstall/upgrade
and we don't want to reload the website module every time, including it's possible
dependencies. Neither we want to add in website module some routes, views and
models which only purpose is to run tests.

Code Analysis

Views touched (17)
XML IDNameModelTypeStatus
model_item Model item ir.ui.view qweb New
res_config_settings_view_form res.config.settings.view.form.inherit.test.website res.config.settings Inherits website.res_config_settings_view_form
test_error_view Test Error View qweb New
test_model_multi_website_view_kanban test.model.multi.website.kanban test.model.multi.website kanban New
test_model_multi_website_view_list Test Multi Model Pages Tree test.model.multi.website tree New
test_model_multi_website_view_list_js_class_bug Test Multi Model Pages Tree js_class bug test.model.multi.website tree New
test_model_page_layout Test Model ir.ui.view qweb New
test_model_view_kanban test.model.kanban test.model kanban New
test_model_view_list Test Model Pages Tree test.model tree New
test_page_view Test Page View qweb New
test_redirect_view test_redirect_view ir.ui.view qweb New
test_redirect_view_qs test_redirect_view_qs ir.ui.view qweb New
test_view Test View qweb New
test_view_child_broken test_view_child_broken ir.ui.view qweb Inherits test_website.test_view
test_view_to_be_t_called Test View To Be t-called qweb New
update_module_base_view update_module_base_view ir.ui.view qweb New
view_test_model_form test.model.form test.model form New
HTTP endpoints (36)
Route(s)HandlerAuthTypeMethodsFlags
/empty_controller_test WebsiteTest.empty_controller_test public http ALL website
/get WebsiteTest.get_method public http GET website
/get_post WebsiteTest.get_post_method public http GET, POST website
/get_post_nomultilang WebsiteTest.get_post_method_no_multilang public http GET, POST website
/post WebsiteTest.post_method public http POST website
/test_access_error_http WebsiteTest.test_access_error_http public http ALL website
/test_access_error_json WebsiteTest.test_access_error_json public json ALL website
/multi_company_website WebsiteTest.test_company_context public http ALL website
/test_countries_308, /test_countries_308/<model("test.model"):rec> WebsiteTest.test_countries_308 public http ALL website
/test_access_denied_http WebsiteTest.test_denied_error_http public http ALL website
/test_access_denied_json WebsiteTest.test_denied_error_json public json ALL website
/test_error_view WebsiteTest.test_error_view public http ALL website
/test_get_dbname WebsiteTest.test_get_dbname public json ALL website
/ignore_args/a WebsiteTest.test_ignore_args_a public http ALL website
/ignore_args/converter/<string:a> WebsiteTest.test_ignore_args_converter public http ALL website
/ignore_args/converter/<string:a>/nokw WebsiteTest.test_ignore_args_converter_nokw public http ALL website
/ignore_args/converteronly/<string:a> WebsiteTest.test_ignore_args_converter_only public http ALL website
/ignore_args/kw WebsiteTest.test_ignore_args_kw public http ALL website
/ignore_args/none WebsiteTest.test_ignore_args_none public http ALL website
/test_internal_error_http WebsiteTest.test_internal_error_http public http ALL website
/test_internal_error_json WebsiteTest.test_internal_error_json public json ALL website
/test_lang_url/<model("res.country"):country> WebsiteTest.test_lang_url public http ALL website
/test_missing_error_http WebsiteTest.test_missing_error_http public http ALL website
/test_missing_error_json WebsiteTest.test_missing_error_json public json ALL website
/test_model/<model("test.model"):test_model> WebsiteTest.test_model public http ALL website
/test_website/country/<model("res.country"):country> WebsiteTest.test_model_converter_country public http ALL website
/test_website/200/<model("test.model"):rec> WebsiteTest.test_model_converter_seoname public http ALL website
/test_website/model_item/<int:record_id> WebsiteTest.test_model_item public http GET website
/test_website/model_item_sudo/<int:record_id> WebsiteTest.test_model_item_sudo public http GET sudo website
/test_website/test_redirect_view_qs WebsiteTest.test_redirect_view_qs public http ALL website
/test_website_sitemap, /test_website_sitemap/something/<model("test.model"):rec> WebsiteTest.test_sitemap public http ALL website
/test_user_error_http WebsiteTest.test_user_error_http public http ALL website
/test_user_error_json WebsiteTest.test_user_error_json public json ALL website
/test_validation_error_http WebsiteTest.test_validation_error_http public http ALL website
/test_validation_error_json WebsiteTest.test_validation_error_json public json ALL website
/test_view WebsiteTest.test_view public http ALL website
Models touched (5)

New fields (0)

No new fields.

Public methods (1)
  • action_website_test_setting(self)

New fields (2)
  • name Char
    required=True translate=True
  • website_description Html
    sanitize_attributes=False sanitize_form=False sanitize_overridable=True string='Description for the website' translate=html_translate
Public methods (1)
  • open_website_url(self)

New fields (1)
  • name Char
Public methods (0)

No public methods.

New fields (2)
  • name Char
    required=True
  • website_id Many2one → website
    ondelete='cascade' string='Website' args: 'website'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/16.0/test_website
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSMartin Trigaux, Xavier Morel, Nicolas Lempereur, Jeremy Kersten, Yannick Tivisse, qsm-odoo, Romain Derie, Christophe Monniez, Julien Castiaux, Xavier-Do, Victor Feyens, Rémy Voet (ryv), Younn Olivier, Benjamin Vray, odoo, Benoit Socias, Guillaume (gdi), Florian Charlier, Renaud Thiry, Levi Siuzdak (sile), Chong Wang (cwg), Serge Bayet (seba)
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:40:47
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web_unsplash
    - base_setup
    - base
    - web
    - web_editor
    - bus
    - website
    - digest
    - mail
    - web_tour
    - portal
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
    - theme_default
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module contains tests related to website. Those are
present in a separate module as we are testing module install/uninstall/upgrade
and we don't want to reload the website module every time, including it's possible
dependencies. Neither we want to add in website module some routes, views and
models which only purpose is to run tests.

Code Analysis

Views touched (17)
XML IDNameModelTypeStatus
model_item Model item ir.ui.view qweb New
res_config_settings_view_form res.config.settings.view.form.inherit.test.website res.config.settings Inherits website.res_config_settings_view_form
test_error_view Test Error View qweb New
test_model_multi_website_view_kanban test.model.multi.website.kanban test.model.multi.website kanban New
test_model_multi_website_view_list Test Multi Model Pages Tree test.model.multi.website tree New
test_model_multi_website_view_list_js_class_bug Test Multi Model Pages Tree js_class bug test.model.multi.website tree New
test_model_page_layout Test Model ir.ui.view qweb New
test_model_view_kanban test.model.kanban test.model kanban New
test_model_view_list Test Model Pages Tree test.model tree New
test_page_view Test Page View qweb New
test_redirect_view test_redirect_view ir.ui.view qweb New
test_redirect_view_qs test_redirect_view_qs ir.ui.view qweb New
test_view Test View qweb New
test_view_child_broken test_view_child_broken ir.ui.view qweb Inherits test_website.test_view
test_view_to_be_t_called Test View To Be t-called qweb New
update_module_base_view update_module_base_view ir.ui.view qweb New
view_test_model_form test.model.form test.model form New
HTTP endpoints (35)
Route(s)HandlerAuthTypeMethodsFlags
/empty_controller_test WebsiteTest.empty_controller_test public http ALL website
/get WebsiteTest.get_method public http GET website
/get_post WebsiteTest.get_post_method public http GET, POST website
/get_post_nomultilang WebsiteTest.get_post_method_no_multilang public http GET, POST website
/post WebsiteTest.post_method public http POST website
/test_access_error_http WebsiteTest.test_access_error_http public http ALL website
/test_access_error_json WebsiteTest.test_access_error_json public json ALL website
/multi_company_website WebsiteTest.test_company_context public http ALL website
/test_countries_308, /test_countries_308/<model("test.model"):rec> WebsiteTest.test_countries_308 public http ALL website
/test_access_denied_http WebsiteTest.test_denied_error_http public http ALL website
/test_access_denied_json WebsiteTest.test_denied_error_json public json ALL website
/test_error_view WebsiteTest.test_error_view public http ALL website
/test_get_dbname WebsiteTest.test_get_dbname public json ALL website
/ignore_args/a WebsiteTest.test_ignore_args_a public http ALL website
/ignore_args/converter/<string:a> WebsiteTest.test_ignore_args_converter public http ALL website
/ignore_args/converter/<string:a>/nokw WebsiteTest.test_ignore_args_converter_nokw public http ALL website
/ignore_args/converteronly/<string:a> WebsiteTest.test_ignore_args_converter_only public http ALL website
/ignore_args/kw WebsiteTest.test_ignore_args_kw public http ALL website
/ignore_args/none WebsiteTest.test_ignore_args_none public http ALL website
/test_internal_error_http WebsiteTest.test_internal_error_http public http ALL website
/test_internal_error_json WebsiteTest.test_internal_error_json public json ALL website
/test_lang_url/<model("res.country"):country> WebsiteTest.test_lang_url public http ALL website
/test_missing_error_http WebsiteTest.test_missing_error_http public http ALL website
/test_missing_error_json WebsiteTest.test_missing_error_json public json ALL website
/test_model/<model("test.model"):test_model> WebsiteTest.test_model public http ALL website
/test_website/country/<model("res.country"):country> WebsiteTest.test_model_converter_country public http ALL website
/test_website/200/<model("test.model"):rec> WebsiteTest.test_model_converter_seoname public http ALL website
/test_website/model_item/<int:record_id> WebsiteTest.test_model_item public http GET sudo website
/test_website/test_redirect_view_qs WebsiteTest.test_redirect_view_qs public http ALL website
/test_website_sitemap, /test_website_sitemap/something/<model("test.model"):rec> WebsiteTest.test_sitemap public http ALL website
/test_user_error_http WebsiteTest.test_user_error_http public http ALL website
/test_user_error_json WebsiteTest.test_user_error_json public json ALL website
/test_validation_error_http WebsiteTest.test_validation_error_http public http ALL website
/test_validation_error_json WebsiteTest.test_validation_error_json public json ALL website
/test_view WebsiteTest.test_view public http ALL website
Models touched (4)

New fields (0)

No new fields.

Public methods (1)
  • action_website_test_setting(self)

New fields (1)
  • name Char
    required=1
Public methods (1)
  • open_website_url(self)

New fields (2)
  • name Char
    required=1
  • website_id Many2one → website
    ondelete='cascade' string='Website' args: 'website'
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/15.0/test_website
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSMartin Trigaux, David Monjoie, Nicolas Lempereur, Jeremy Kersten, qsm-odoo, Romain Derie, Jorge Pinna Puissant, Xavier-Do, Julien Mougenot, Samuel Degueldre, Rémy Voet (ryv), Gorash, Benoit Socias, Goaman
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:25:26
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - web_unsplash
    - base_setup
    - base
    - web
    - web_editor
    - website
    - digest
    - mail
    - bus
    - web_tour
    - portal
    - http_routing
    - auth_signup
    - resource
    - social_media
    - google_recaptcha
    - utm
    - theme_default
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module contains tests related to website. Those are
present in a separate module as we are testing module install/uninstall/upgrade
and we don't want to reload the website module every time, including it's possible
dependencies. Neither we want to add in website module some routes, views and
models which only purpose is to run tests.

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
test_error_view Test Error View qweb New
test_page_view Test Page View qweb New
test_redirect_view test_redirect_view ir.ui.view qweb New
test_redirect_view_qs test_redirect_view_qs ir.ui.view qweb New
test_view Test View qweb New
test_view_child_broken test_view_child_broken ir.ui.view qweb Inherits test_website.test_view
test_view_to_be_t_called Test View To Be t-called qweb New
update_module_base_view update_module_base_view ir.ui.view qweb New
HTTP endpoints (32)
Route(s)HandlerAuthTypeMethodsFlags
/empty_controller_test WebsiteTest.empty_controller_test public http ALL website
/get WebsiteTest.get_method public http GET website
/get_post WebsiteTest.get_post_method public http GET, POST website
/get_post_nomultilang WebsiteTest.get_post_method_no_multilang public http GET, POST website
/post WebsiteTest.post_method public http POST website
/test_access_error_http WebsiteTest.test_access_error_http public http ALL website
/test_access_error_json WebsiteTest.test_access_error_json public json ALL website
/multi_company_website WebsiteTest.test_company_context public http ALL website
/test_countries_308, /test_countries_308/<model("test.model"):rec> WebsiteTest.test_countries_308 public http ALL website
/test_access_denied_http WebsiteTest.test_denied_error_http public http ALL website
/test_access_denied_json WebsiteTest.test_denied_error_json public json ALL website
/test_error_view WebsiteTest.test_error_view public http ALL website
/test_get_dbname WebsiteTest.test_get_dbname public json ALL website
/ignore_args/a WebsiteTest.test_ignore_args_a public http ALL website
/ignore_args/converter/<string:a> WebsiteTest.test_ignore_args_converter public http ALL website
/ignore_args/converter/<string:a>/nokw WebsiteTest.test_ignore_args_converter_nokw public http ALL website
/ignore_args/converteronly/<string:a> WebsiteTest.test_ignore_args_converter_only public http ALL website
/ignore_args/kw WebsiteTest.test_ignore_args_kw public http ALL website
/ignore_args/none WebsiteTest.test_ignore_args_none public http ALL website
/test_internal_error_http WebsiteTest.test_internal_error_http public http ALL website
/test_internal_error_json WebsiteTest.test_internal_error_json public json ALL website
/test_lang_url/<model("res.country"):country> WebsiteTest.test_lang_url public http ALL website
/test_missing_error_http WebsiteTest.test_missing_error_http public http ALL website
/test_missing_error_json WebsiteTest.test_missing_error_json public json ALL website
/test_website/country/<model("res.country"):country> WebsiteTest.test_model_converter_country public http ALL website
/test_website/200/<model("test.model"):rec> WebsiteTest.test_model_converter_seoname public http ALL website
/test_website/test_redirect_view_qs WebsiteTest.test_redirect_view_qs public http ALL website
/test_user_error_http WebsiteTest.test_user_error_http public http ALL website
/test_user_error_json WebsiteTest.test_user_error_json public json ALL website
/test_validation_error_http WebsiteTest.test_validation_error_http public http ALL website
/test_validation_error_json WebsiteTest.test_validation_error_json public json ALL website
/test_view WebsiteTest.test_view public http ALL website
Models touched (2)

New fields (1)
  • name Char
    required=1
Public methods (0)

No public methods.

New fields (0)

No new fields.

Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/14.0/test_website
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSRaphael Collet, Martin Trigaux, Christophe Simonis, Xavier Morel, Jeremy Kersten, Yannick Tivisse, qsm-odoo, Romain Derie, Julien Castiaux, Xavier-Do, fw-bot, Benoit Socias
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:14:27
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website
    - digest
    - mail
    - base
    - base_setup
    - web
    - bus
    - web_tour
    - portal
    - web_editor
    - http_routing
    - auth_signup
    - resource
    - social_media
    - theme_default
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module contains tests related to website. Those are
present in a separate module as we are testing module install/uninstall/upgrade
and we don't want to reload the website module every time, including it's possible
dependencies. Neither we want to add in website module some routes, views and
models which only purpose is to run tests.

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
assets_frontend assets_frontend ir.ui.view qweb Inherits website.assets_frontend
assets_tests Test Website Assets Tests ir.ui.view qweb Inherits web.assets_tests
test_error_view Test Error View qweb New
test_page_view Test Page View qweb New
test_redirect_view test_redirect_view ir.ui.view qweb New
test_redirect_view_qs test_redirect_view_qs ir.ui.view qweb New
test_view Test View qweb New
test_view_child_broken test_view_child_broken ir.ui.view qweb Inherits test_website.test_view
test_view_to_be_t_called Test View To Be t-called qweb New
update_module_base_view update_module_base_view ir.ui.view qweb New
HTTP endpoints (31)
Route(s)HandlerAuthTypeMethodsFlags
/empty_controller_test WebsiteTest.empty_controller_test public http ALL website
/get WebsiteTest.get_method public http GET website
/get_post WebsiteTest.get_post_method public http GET, POST website
/get_post_nomultilang WebsiteTest.get_post_method_no_multilang public http GET, POST website
/post WebsiteTest.post_method public http POST website
/test_access_error_http WebsiteTest.test_access_error_http public http ALL website
/test_access_error_json WebsiteTest.test_access_error_json public json ALL website
/multi_company_website WebsiteTest.test_company_context public http ALL website
/test_access_denied_http WebsiteTest.test_denied_error_http public http ALL website
/test_access_denied_json WebsiteTest.test_denied_error_json public json ALL website
/test_error_view WebsiteTest.test_error_view public http ALL website
/test_get_dbname WebsiteTest.test_get_dbname public json ALL website
/ignore_args/a WebsiteTest.test_ignore_args_a public http ALL website
/ignore_args/converter/<string:a>/ WebsiteTest.test_ignore_args_converter public http ALL website
/ignore_args/converter/<string:a>/nokw WebsiteTest.test_ignore_args_converter_nokw public http ALL website
/ignore_args/converteronly/<string:a>/ WebsiteTest.test_ignore_args_converter_only public http ALL website
/ignore_args/kw WebsiteTest.test_ignore_args_kw public http ALL website
/ignore_args/none WebsiteTest.test_ignore_args_none public http ALL website
/test_internal_error_http WebsiteTest.test_internal_error_http public http ALL website
/test_internal_error_json WebsiteTest.test_internal_error_json public json ALL website
/test_lang_url/<model("res.country"):country> WebsiteTest.test_lang_url public http ALL website
/test_missing_error_http WebsiteTest.test_missing_error_http public http ALL website
/test_missing_error_json WebsiteTest.test_missing_error_json public json ALL website
/test_website/country/<model("res.country"):country> WebsiteTest.test_model_converter_country public http ALL website
/test_website/200/<model("test.model"):rec> WebsiteTest.test_model_converter_seoname public http ALL website
/test_website/test_redirect_view_qs WebsiteTest.test_redirect_view_qs public http ALL website
/test_user_error_http WebsiteTest.test_user_error_http public http ALL website
/test_user_error_json WebsiteTest.test_user_error_json public json ALL website
/test_validation_error_http WebsiteTest.test_validation_error_http public http ALL website
/test_validation_error_json WebsiteTest.test_validation_error_json public json ALL website
/test_view WebsiteTest.test_view public http ALL website
Models touched (1)

New fields (1)
  • name Char
    required=1
Public methods (0)

No public methods.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/13.0/test_website
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSChristophe Simonis, Xavier Morel, Aaron Bohy, Jeremy Kersten, Yannick Tivisse, Romain Derie, Xavier-Do, Sébastien Theys, fja-odoo
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-06 00:06:41
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website
    - web
    - base
    - web_editor
    - http_routing
    - portal
    - mail
    - base_setup
    - bus
    - web_tour
    - auth_signup
    - social_media
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module contains tests related to website. Those are
contained in a separate module as we are testing module install/uninstall/upgrade
and we don't want to reload the website module every time, including it's possible
dependencies. Neither we want to add in website module some routes, views and
models which only purpose is to run tests.

Code Analysis

Views touched (8)
XML IDNameModelTypeStatus
assets_frontend assets_frontend ir.ui.view qweb Inherits website.assets_frontend
assets_tests Test Website Assets Tests ir.ui.view qweb Inherits web.assets_tests
test_error_view Test Error View qweb New
test_page_view Test Page View qweb New
test_view Test View qweb New
test_view_child_broken test_view_child_broken ir.ui.view qweb Inherits test_website.test_view
test_view_to_be_t_called Test View To Be t-called qweb New
update_module_base_view update_module_base_view ir.ui.view qweb New
HTTP endpoints (27)
Route(s)HandlerAuthTypeMethodsFlags
/get WebsiteTest.get_method public http GET website
/get_post WebsiteTest.get_post_method public http GET, POST website
/get_post_nomultilang WebsiteTest.get_post_method_no_multilang public http GET, POST website
/post WebsiteTest.post_method public http POST website
/test_access_error_http WebsiteTest.test_access_error_http public http ALL website
/test_access_error_json WebsiteTest.test_access_error_json public json ALL website
/multi_company_website WebsiteTest.test_company_context public http ALL website
/test_access_denied_http WebsiteTest.test_denied_error_http public http ALL website
/test_access_denied_json WebsiteTest.test_denied_error_json public json ALL website
/test_error_view WebsiteTest.test_error_view public http ALL website
/test_get_dbname WebsiteTest.test_get_dbname public json ALL website
/ignore_args/a WebsiteTest.test_ignore_args_a public http ALL website
/ignore_args/converter/<string:a>/ WebsiteTest.test_ignore_args_converter public http ALL website
/ignore_args/converter/<string:a>/nokw WebsiteTest.test_ignore_args_converter_nokw public http ALL website
/ignore_args/converteronly/<string:a>/ WebsiteTest.test_ignore_args_converter_only public http ALL website
/ignore_args/kw WebsiteTest.test_ignore_args_kw public http ALL website
/ignore_args/none WebsiteTest.test_ignore_args_none public http ALL website
/test_internal_error_http WebsiteTest.test_internal_error_http public http ALL website
/test_internal_error_json WebsiteTest.test_internal_error_json public json ALL website
/test_lang_url/<model("res.country"):country> WebsiteTest.test_lang_url public http ALL website
/test_missing_error_http WebsiteTest.test_missing_error_http public http ALL website
/test_missing_error_json WebsiteTest.test_missing_error_json public json ALL website
/test_user_error_http WebsiteTest.test_user_error_http public http ALL website
/test_user_error_json WebsiteTest.test_user_error_json public json ALL website
/test_validation_error_http WebsiteTest.test_validation_error_http public http ALL website
/test_validation_error_json WebsiteTest.test_validation_error_json public json ALL website
/test_view WebsiteTest.test_view public http ALL website
Models touched (0)

No models found for this module.

REPOSITORY
REPOSITORYodoo/odoo
GIT
GIThttps://github.com/odoo/odoo.git
GIT FOLDER
GIT FOLDERhttps://github.com/odoo/odoo/tree/12.0/test_website
VERSION
VERSION 1.0
CATEGORY
CATEGORYHidden
LICENSE
LICENSELGPL-3
APPLICATION
APPLICATIONNo
AUTO-INSTALLABLE
AUTO-INSTALLABLENo
AUTHORS
AUTHORS
MAINTAINERS
MAINTAINERS
COMMITTERS
COMMITTERSJeremy Kersten, Romain Derie, Xavier-Do, Alvaro Fuentes
WEBSITE
WEBSITE
LAST TRACKING UPDATE
LAST TRACKING UPDATE2026-07-05 23:57:00
ODOO DEPENDENCIES
ODOO DEPENDENCIES odoo/odoo:
    - website
    - web
    - base
    - web_editor
    - http_routing
    - portal
    - mail
    - base_setup
    - bus
    - web_tour
    - social_media
PYTHON DEPENDENCIES
PYTHON DEPENDENCIES Not have
SYSTEM DEPENDENCIES
SYSTEM DEPENDENCIES Not have
DESCRIPTION
DESCRIPTION
This module contains tests related to website. Those are
contained in a separate module as we are testing module install/uninstall/upgrade
and we don't want to reload the website module every time, including it's possible
dependencies. Neither we want to add in website module some routes, views and
models which only purpose is to run tests.

Code Analysis

Views touched (6)
XML IDNameModelTypeStatus
assets_frontend assets_frontend ir.ui.view qweb Inherits website.assets_frontend
test_page_view Test Page View qweb New
test_view Test View qweb New
test_view_child_broken test_view_child_broken ir.ui.view qweb Inherits test_website.test_view
test_view_to_be_t_called Test View To Be t-called qweb New
update_module_base_view update_module_base_view ir.ui.view qweb New
HTTP endpoints (5)
Route(s)HandlerAuthTypeMethodsFlags
/get WebsiteTest.get_method public http GET website
/get_post WebsiteTest.get_post_method public http GET, POST website
/get_post_nomultilang WebsiteTest.get_post_method_no_multilang public http GET, POST website
/post WebsiteTest.post_method public http POST website
/test_view WebsiteTest.test_view public http ALL website
Models touched (0)

No models found for this module.