[IMP]: account_voucher: Minor improvement for button icon

bzr revid: rpa@openerp.co.in-20100304052905-mr0ycuha4tuyxu4j
This commit is contained in:
ATP (OpenERP)
2010-03-04 10:59:05 +05:30
committed by rpa (Open ERP)
parent fd895267f5
commit 3a1cb289e0
2 changed files with 10 additions and 8 deletions
@@ -19,14 +19,14 @@
#
##############################################################################
import time
import netsvc
from osv import fields, osv
import ir
import pooler
import mx.DateTime
from mx.DateTime import RelativeDateTime
from osv import fields, osv
from tools import config
import ir
import mx.DateTime
import netsvc
import pooler
import time
class account_voucher_open(osv.osv_memory):
"""
@@ -47,7 +47,7 @@ class account_voucher_open(osv.osv_memory):
Open account voucher form.
@param cr: the current row, from the database cursor.
@param uid: the current user’s ID for security checks.
@param id: account voucher open’s ID or list of IDs if we want more than one.
@param id: List of account voucher open’s IDs.
@param return:dictionary of account voucher on given state ,type and account period id.
"""
@@ -16,11 +16,12 @@
<group colspan="4" col="6">
<label string ="" colspan="2"/>
<button icon="gtk-cancel" special="cancel" string="Cancel"/>
<button string="Open Voucher Entries" name="_action_open_window" type="object"/>
<button icon="gtk-open" string="Open Voucher Entries" name="_action_open_window" type="object"/>
</group>
</form>
</field>
</record>
<record id="action_account_voucher_open" model="ir.actions.act_window">
<field name="name">Open a Voucher Entry</field>
<field name="res_model">account.voucher.open</field>
@@ -29,6 +30,7 @@
<field name="view_id" ref="view_account_voucher_open_form"/>
<field name="target">new</field>
</record>
<menuitem
action="action_account_voucher_open"
id="menu_wizard_account_voucher_open"