[FIX] Made Compute Taxes Button Visible on Pro-Forma state also
authorBharat (OpenERP) <bde@tinyerp.com>
Fri, 5 Aug 2011 09:09:29 +0000 (14:39 +0530)
committerBharat (OpenERP) <bde@tinyerp.com>
Fri, 5 Aug 2011 09:09:29 +0000 (14:39 +0530)
lp bug: https://launchpad.net/bugs/820801 fixed

bzr revid: bde@tinyerp.com-20110805090929-s8uqfosk5l6migm5

addons/account/account_invoice_view.xml

index 0f12001..ee8393d 100644 (file)
                                 </field>
                             </group>
                             <group col="4" colspan="2">
-                                <button colspan="2" name="button_reset_taxes" states="draft" string="Compute Taxes" type="object" groups="base.group_user" icon="terp-stock_format-scientific" help="This action will erase taxes"/>
+                                <button colspan="2" name="button_reset_taxes" states="draft,proforma2" string="Compute Taxes" type="object" groups="base.group_user" icon="terp-stock_format-scientific" help="This action will erase taxes"/>
                                 <field name="amount_untaxed"/>
                                 <label string="" colspan="2"/>
                                 <field name="amount_tax"/>