TIP: You can type at any time to perform a new search.
Website Test
test_website · odoo/odoo
- Repository
- odoo/odoo · module folder
- Module version
- 1.0
- Category
- Hidden
- Folder size
- 0.22 MB
- License
- LGPL-3
- Application
- No
- Auto-installable
- No
- Website
- None
- Last tracking update
- 2026-08-07 06:46:58
- Authors
- Odoo S.A.
- Maintainers
- Odoo S.A.
- Committers
- Xavier Morel, Raphael Collet, Mohammed Shekha, odoo, Nicolas Lempereur, Aaron Bohy, Géry Debongnie, 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, Benoit Socias, luvi, Julien (jula), Robin Lejeune (role), Levi Siuzdak (sile), FrancoisGe, bram1000, divy-odoo, Mehdi Outagant (MOU), Serge Bayet (seba), Manushi Shah, Arib Ansari, Rahil Ghanchi, Denis Rygaert, Pierre Pulinckx (PIPU), Pierre Lamotte (pila), Pierre Pulinckx, Bastien PIERRE, Krzysztof Magusiak (krma), Ajit Singh, Alice Gaudon, Augustin (duau), chdh-odoo, Zachary (zavan), panj-odoo
- Odoo dependencies
- Python dependencies
- geoip2
- System dependencies
- None
- Required by
- None
- 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 ID | Name | Model | Type | Status |
|---|---|---|---|---|
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) | Handler | Auth | Type | Methods | Flags |
|---|---|---|---|---|---|
/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)
-
nameCharrequired=Truetranslate=True -
submodel_idsOne2many → test.submodelargs: 'test.submodel', 'test_model_id', 'Submodels' -
tag_idMany2one → test.tagargs: 'test.tag' -
website_descriptionHtmldefault='<div class="o_test_website_description"><p>A simple website description content.</p></div>'sanitize_attributes=Falsesanitize_form=Falsesanitize_overridable=Truestring='Description for the website'translate=html_translate
-
open_website_url(self)
New fields (1)
-
nameChar
No public methods.
New fields (2)
-
nameCharrequired=True -
website_idMany2one → websiteondelete='cascade'string='Website' args: 'website'
No public methods.
New fields (3)
-
nameCharrequired=True -
tag_idMany2one → test.tagargs: 'test.tag' -
test_model_idMany2one → test.modelargs: 'test.model'
No public methods.
New fields (1)
-
nameCharrequired=True
No public methods.
New fields (1)
-
some_translatable_fieldChardefault='something'string='A translatable field'translate=True
No public methods.
New fields (1)
-
name_translatedChartranslate=True
No public methods.
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…
Loading…