[FIX] Account : Refund wizard corrected

bzr revid: jvo@tinyerp.com-20100513145646-r3g4o2wy8vre4v8i
This commit is contained in:
Jay (Open ERP)
2010-05-13 20:26:46 +05:30
parent d1169c36a0
commit 80da473c81
@@ -167,7 +167,7 @@ class account_invoice_refund(osv.osv_memory):
xml_id = 'action_invoice_tree1'
elif inv.type == 'in_invoice':
xml_id = 'action_invoice_tree2'
elif type == 'out_refund':
elif inv.type == 'out_refund':
xml_id = 'action_invoice_tree3'
else:
xml_id = 'action_invoice_tree4'