This commit fix a bug introduced in #66551 where a mismatch has been done between session.user_context.allowed_company_ids and session.user_companies.allowed_companies. This commit also adds the following tests: - a JS test in order to prevent future unwanted issues regarding multi company in BasicModel. - a Python test in order to ensure that session_info['user_companies'] is not involuntarily changed. closes odoo/odoo#68025 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
11 lines
311 B
Python
11 lines
311 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import test_image
|
|
from . import test_js
|
|
from . import test_menu
|
|
from . import test_serving_base
|
|
from . import test_click_everywhere
|
|
from . import test_base_document_layout
|
|
from . import test_session_info
|