We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 782b3ae + 41fc36d commit 9bc174cCopy full SHA for 9bc174c
destral/testing.py
@@ -181,6 +181,8 @@ def test_access_rules(self):
181
if imd_ids:
182
for imd in imd_obj.browse(txn.cursor, txn.user, imd_ids):
183
model_id = imd.res_id
184
+ if getattr(self.openerp.pool.get(imd.model), '_test_class', False):
185
+ continue
186
access_ids = access_obj.search(cursor, uid, [
187
('model_id.id', '=', model_id)
188
])
0 commit comments