We can use ._search() to make sure that permissions and ir.rules are applied. By making use of psql subqueries, we remove the need of costly python filtering afterwards, thus increasing performance. Created test_meeting_count() to check that that the computing of meeting_count is done correctly. closes odoo/odoo#91325 X-original-commit: 2df40ab03d29045546fbf7f19203e66796d52dc0 Signed-off-by: Thibault Delavallee (tde) <tde@openerp.com>
13 lines
424 B
Python
13 lines
424 B
Python
# -*- coding: utf-8 -*-
|
|
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
|
|
|
from . import test_access_rights
|
|
from . import test_attendees
|
|
from . import test_calendar
|
|
from . import test_calendar_controller
|
|
from . import test_calendar_recurrent_event_case2
|
|
from . import test_event_recurrence
|
|
from . import test_event_notifications
|
|
from . import test_mail_activity_mixin
|
|
from . import test_res_partner
|