Files
odoo_source/addons/web/tests/__init__.py
T
Mathieu Duckerts-AntoineandOliver Dony afdb546e44 [FIX] web: domain field: quick save after debug edit
When a domain field value is edited via the debug textarea, no
search_count is done for performance reasons. A single exception is done
when saving the record. Then we check the validity of the domain created
in the debug textarea in order to avoid to save an invalid domain in db
(and get tracebacks,..). The problem is that a search_count can take a
very long time to be executed if the domain is valid. Here we introduce
a route /web/domain/validate in order to quickly check the validity of a
domain and use it in domain field in order to fix the above mentionned
performance issue. Note that the search_count is still done if it useful
but does not have to be waited anymore.

X-original-commit: 40288221c39ff8fba41cd6ac231ab33600dc0cd4
Part-of: odoo/odoo#128913
Co-authored-by: Oliver Dony <odo@odoo.com>
Co-authored-by: Mathieu Duckerts-Antoine <dam@odoo.com>
2023-07-19 11:40:09 +02:00

22 lines
637 B
Python

# Part of Odoo. See LICENSE file for full copyright and licensing details.
from . import test_db_manager
from . import test_health
from . import test_image
from . import test_ir_model
from . import test_js
from . import test_menu
from . import test_click_everywhere
from . import test_base_document_layout
from . import test_load_menus
from . import test_profiler
from . import test_session_info
from . import test_read_progress_bar
from . import test_assets
from . import test_assets_xml
from . import test_login
from . import test_web_search_read
from . import test_domain
from . import test_web_redirect
from . import test_res_users