Modified Assertion test for parent_id(as we changed the type of parent_id from many2many to many2one)
bzr revid: jvo@tinyerp.com-20080725100406-91nclj13dg2jt1og
This commit is contained in:
parent
ac438d5a0b
commit
fa1961fcc8
|
@ -26,8 +26,7 @@
|
|||
</assert>
|
||||
|
||||
<assert model="account.account" search="[]" string="Every account must have at least one parent account of type '0'">
|
||||
<test expr="not parent_id or '0' in [p.code for p in parent_id]"/>
|
||||
|
||||
<test expr="not parent_id or (code!='0')"/>
|
||||
</assert>
|
||||
</data>
|
||||
</terp>
|
Loading…
Reference in New Issue