[IMP] account_voucher : Highlighted the buttons and remove the icon.
authorDivyesh Makwana (Open ERP) <mdi@tinyerp.com>
Mon, 4 Jun 2012 11:09:26 +0000 (16:39 +0530)
committerDivyesh Makwana (Open ERP) <mdi@tinyerp.com>
Mon, 4 Jun 2012 11:09:26 +0000 (16:39 +0530)
bzr revid: mdi@tinyerp.com-20120604110926-m9evr4auxw9tfzrs

addons/account_voucher/account_voucher_pay_invoice.xml

index da669ad..8703aba 100644 (file)
@@ -8,7 +8,7 @@
            <field name="inherit_id" ref="account.invoice_form"/>
            <field name="arch" type="xml">
            <button name="invoice_open" position="after">
-               <button name="invoice_pay_customer" type="object" string="Register Payment" states="open" icon="gtk-go-forward"/>
+               <button name="invoice_pay_customer" type="object" string="Register Payment" states="open" attrs="{'invisible':[('sent','=',True)]}" class="oe_form_button_hi"/>
            </button>
            </field>
         </record>