[FIX]: base: Fixed commented yml for ilike osv expressions

bzr revid: rpa@tinyerp.com-20120716115416-7klqfcen79mg6j32
This commit is contained in:
Rucha (Open ERP) 2012-07-16 17:24:16 +05:30
parent b92608c7fa
commit efe832edf5
1 changed files with 2 additions and 2 deletions

View File

@ -464,8 +464,8 @@
!python {model: res.partner }: |
all_ids = self.search(cr, uid, [('name', '=like', 'A_e_or')])
assert len(all_ids) == 1, "Must match one partner (Axelor), got %r"%all_ids
#all_ids = self.search(cr, uid, [('name', '=ilike', 'm_____')])
#assert len(all_ids) == 1, "Must match *only* one partner (Maxtor), got %r"%all_ids
all_ids = self.search(cr, uid, [('name', '=ilike', 'v%')])
assert len(all_ids) == 1, "Must match *only* one partner (Vicking Direct), got %r"%all_ids
-
Check that =like/=ilike expressions (no wildcard variants of like/ilike) are working on translated field.
-