*removed deprecated assertions
authorqdp <qdp@tinyerp.com>
Wed, 10 Sep 2008 14:46:41 +0000 (16:46 +0200)
committerqdp <qdp@tinyerp.com>
Wed, 10 Sep 2008 14:46:41 +0000 (16:46 +0200)
bzr revid: qdp@tinyerp.com-20080910144641-49e7g73m4wt6pzv3

addons/account/account_assert_test.xml

index cb1c729..4abcd07 100644 (file)
@@ -5,9 +5,6 @@
             <test expr="not len(line_id) or line_id[0].state != 'valid' or (sum([l.debit - l.credit for l in line_id]) &lt;= 0.00001)"/>
         </assert>
 
-        <!--assert model="account.invoice" search="[]" string="If the invoice is paid, third party accounting lines must be reconciled">
-                       <test expr="not state == 'paid' or ..." />
-               </assert-->
 
    <!--     <assert model="account.account" search="[]" string="For all accounts, the balance is equal to the sum of the balance of its childs">
         <assert model="account.account" search="[]" string="For all accounts, the balance is equal to the sum of the balance of its childs">
@@ -26,8 +23,6 @@
             <test expr="sum([l.debit - l.credit for l in line_id]) &lt;= 0.00001"/>
         </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 (code!='0')"/>
-        </assert>-->
+-->
     </data>
 </terp>