[FIX]: fix a cashbox view
authorMantavya Gajjar <mga@tinyerp.com>
Sat, 26 Jun 2010 19:52:02 +0000 (01:22 +0530)
committerMantavya Gajjar <mga@tinyerp.com>
Sat, 26 Jun 2010 19:52:02 +0000 (01:22 +0530)
bzr revid: mga@tinyerp.com-20100626195202-yk9plkjv53lkq2o3

addons/account/account_view.xml

index 1c876a2..4067423 100644 (file)
                                 </field>
                             </group>
                         </page>
-                        <page string="Accounting Entries">
+                        <page string="Accounting Entries" attrs="{'invisible': [('state','!=','confirm')]}">
                             <field colspan="4" name="move_line_ids" nolabel="1"/>
                         </page>
                     </notebook>