mirror of
https://github.com/bringout/oca-ocb-report.git
synced 2026-04-22 21:02:07 +02:00
19.0 vanilla
This commit is contained in:
parent
62d197ac8b
commit
184bb0e321
667 changed files with 691406 additions and 239886 deletions
|
|
@ -0,0 +1,12 @@
|
|||
# Part of Odoo. See LICENSE file for full copyright and licensing details.
|
||||
|
||||
from odoo.tests.common import TransactionCase
|
||||
|
||||
|
||||
class SpreadsheetIrModel(TransactionCase):
|
||||
|
||||
def test_has_searchable_parent_not_stored(self):
|
||||
self.assertEqual(self.env['ir.model'].has_searchable_parent_relation(['res.users']), {'res.users': False})
|
||||
|
||||
def test_has_searchable_parent_stored(self):
|
||||
self.assertEqual(self.env['ir.model'].has_searchable_parent_relation(['ir.ui.menu']), {'ir.ui.menu': True})
|
||||
Loading…
Add table
Add a link
Reference in a new issue