summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJigar Amin - OpenERP <jam@tinyerp.com>2012-06-14 16:40:30 +0530
committerJigar Amin - OpenERP <jam@tinyerp.com>2012-06-14 16:40:30 +0530
commit6049ec4e3d2e6c9fd887b39e7d84c4c0ff6ed737 (patch)
treea1d6b26e819618101afd86db67244efe4a02b4db
parent012d45bbe2bfad2dd2b59580e4ca0974d14821e3 (diff)
[FIX] Invoice removed ask refund button
bzr revid: jam@tinyerp.com-20120614111030-09qatoyt26gwwod9
-rw-r--r--addons/account/account_invoice_view.xml1
1 files changed, 0 insertions, 1 deletions
diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml
index e54ceb90e0e..13fe76fec32 100644
--- a/addons/account/account_invoice_view.xml
+++ b/addons/account/account_invoice_view.xml
@@ -150,7 +150,6 @@
<header>
<button name="invoice_open" states="draft,proforma2" string="Validate" class="oe_form_button_active_flow"/>
<button name="%(action_account_invoice_refund)d" type='action' string='Ask Refund' states='open,paid' class="oe_form_button_return_flow"/>
- <button name="%(action_account_invoice_refund)d" type='action' string='Ask Refund' states='open' class="oe_form_button_active_flow"/>
<button name="invoice_cancel" states="draft,proforma2,sale,open" string="Cancel" groups="base.group_no_one"/>
<button name="action_cancel_draft" states="cancel" string="Set to Draft" type="object" class="oe_form_button_return_flow"/>
<button name='%(action_account_state_open)d' type='action' string='Re-Open' groups="account.group_account_invoice" attrs="{'invisible':['|', ('state','&lt;&gt;','paid'), ('reconciled', '=', True)]}" help="This button only appears when the state of the invoice is 'paid' (showing that it has been fully reconciled) and auto-computed boolean 'reconciled' is False (depicting that it's not the case anymore). In other words, the invoice has been dereconciled and it does not fit anymore the 'paid' state. You should press this button to re-open it and let it continue its normal process after having resolved the eventual exceptions it may have created."/>