[IMP] removed categories in tags , fix
bzr revid: fp@openerp.com-20120814132952-1t9pocyaxlsoxwt3
This commit is contained in:
parent
ba5314947b
commit
cf59ee6f43
|
@ -2,22 +2,15 @@
|
|||
Testing for hierarchical search in M2M
|
||||
-
|
||||
!python {model: res.partner }: |
|
||||
ids = self.search(cr, uid, [('category_id', 'child_of','supplier')])
|
||||
ids = self.search(cr, uid, [('category_id', 'child_of',ref('res_partner_category_1'))])
|
||||
assert len(ids) >= 1, ids
|
||||
|
||||
-
|
||||
Test hierarchical search in M2M with child ID1
|
||||
-
|
||||
!python {model: res.partner }: |
|
||||
ids = self.search(cr, uid, [('category_id', 'child_of','Customer')])
|
||||
ids = self.search(cr, uid, [('category_id', 'child_of',ref('res_partner_category_0'))])
|
||||
assert len(ids) >= 1, ids
|
||||
-
|
||||
Test hierarchical search in M2M with child ID2
|
||||
-
|
||||
!python {model: res.partner }: |
|
||||
ids = self.search(cr, uid, [('category_id', 'child_of','Manufacturer')])
|
||||
assert len(ids) == 2, ids
|
||||
|
||||
-
|
||||
"1.0 Setup test partner categories: parent root"
|
||||
-
|
||||
|
|
Loading…
Reference in New Issue