[MIG] bi_sql_editor: Migration to 13.0

This commit is contained in:
HviorForgeFlow
2020-04-15 10:54:36 +02:00
parent ab6b702d57
commit 150b71d194
8 changed files with 13 additions and 53 deletions

View File

@@ -69,10 +69,10 @@ class TestBiSqlViewEditor(SingleTransactionCase):
def test_security(self):
with self.assertRaises(AccessError):
self.bi_sql_view.sudo(self.no_bi_user.id).search(
self.bi_sql_view.with_user(self.no_bi_user.id).search(
[("name", "=", "Partners View 2")]
)
bi = self.bi_sql_view.sudo(self.bi_user.id).search(
bi = self.bi_sql_view.with_user(self.bi_user.id).search(
[("name", "=", "Partners View 2")]
)
self.assertEqual(