From 8e626c3d544356b67ccf76a7010a4e5dd3ffd6e7 Mon Sep 17 00:00:00 2001 From: apa-tiny Date: Mon, 27 Oct 2008 17:27:32 +0530 Subject: [PATCH] Add Buttons Icon in account wizards : account/wizard/wizard_account_balance_report.py account/wizard/wizard_general_ledger_report.py account/wizard/wizard_partner_balance_report.py account/wizard/wizard_third_party_ledger.py bzr revid: patelamit2003@gmail.com-20081027115732-vfw5g25ay0oyt7et --- addons/account/wizard/wizard_account_balance_report.py | 4 ++-- addons/account/wizard/wizard_general_ledger_report.py | 4 ++-- addons/account/wizard/wizard_partner_balance_report.py | 2 +- addons/account/wizard/wizard_third_party_ledger.py | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/addons/account/wizard/wizard_account_balance_report.py b/addons/account/wizard/wizard_account_balance_report.py index d02907f72cc..6cbcb02702e 100644 --- a/addons/account/wizard/wizard_account_balance_report.py +++ b/addons/account/wizard/wizard_account_balance_report.py @@ -134,11 +134,11 @@ class wizard_report(wizard.interface): }, 'account_selection': { 'actions': [], - 'result': {'type':'form', 'arch':account_form,'fields':account_fields, 'state':[('end','Cancel'),('checktype','Print')]} + 'result': {'type':'form', 'arch':account_form,'fields':account_fields, 'state':[('end','Cancel','gtk-cancel'),('checktype','Print','gtk-print')]} }, 'checktype': { 'actions': [_get_defaults], - 'result': {'type':'form', 'arch':period_form, 'fields':period_fields, 'state':[('end','Cancel'),('report','Print')]} + 'result': {'type':'form', 'arch':period_form, 'fields':period_fields, 'state':[('end','Cancel','gtk-cancel'),('report','Print','gtk-print')]} }, 'report': { 'actions': [_check_state], diff --git a/addons/account/wizard/wizard_general_ledger_report.py b/addons/account/wizard/wizard_general_ledger_report.py index 2ba3b2b0a1f..6bb5d6f84b5 100644 --- a/addons/account/wizard/wizard_general_ledger_report.py +++ b/addons/account/wizard/wizard_general_ledger_report.py @@ -182,11 +182,11 @@ class wizard_report(wizard.interface): }, 'account_selection': { 'actions': [], - 'result': {'type':'form', 'arch':account_form,'fields':account_fields, 'state':[('end','Cancel'),('checktype','Print')]} + 'result': {'type':'form', 'arch':account_form,'fields':account_fields, 'state':[('end','Cancel','gtk-cancel'),('checktype','Print','gtk-print')]} }, 'checktype': { 'actions': [_get_defaults], - 'result': {'type':'form', 'arch':period_form, 'fields':period_fields, 'state':[('end','Cancel'),('checkreport','Print')]} + 'result': {'type':'form', 'arch':period_form, 'fields':period_fields, 'state':[('end','Cancel','gtk-cancel'),('checkreport','Print','gtk-print')]} }, 'checkreport': { 'actions': [], diff --git a/addons/account/wizard/wizard_partner_balance_report.py b/addons/account/wizard/wizard_partner_balance_report.py index 470e3e23955..9d2d66a9ad5 100644 --- a/addons/account/wizard/wizard_partner_balance_report.py +++ b/addons/account/wizard/wizard_partner_balance_report.py @@ -119,7 +119,7 @@ class wizard_report(wizard.interface): states = { 'init': { 'actions': [_get_defaults], - 'result': {'type':'form', 'arch':period_form, 'fields':period_fields, 'state':[('end','Cancel'),('report','Print')]} + 'result': {'type':'form', 'arch':period_form, 'fields':period_fields, 'state':[('end','Cancel','gtk-cancel'),('report','Print','gtk-print')]} }, 'report': { diff --git a/addons/account/wizard/wizard_third_party_ledger.py b/addons/account/wizard/wizard_third_party_ledger.py index 96720083f53..24771a2d71d 100755 --- a/addons/account/wizard/wizard_third_party_ledger.py +++ b/addons/account/wizard/wizard_third_party_ledger.py @@ -135,7 +135,7 @@ class wizard_report(wizard.interface): states = { 'init': { 'actions': [_get_defaults], - 'result': {'type':'form', 'arch':period_form, 'fields':period_fields, 'state':[('end','Cancel'),('report','Print')]} + 'result': {'type':'form', 'arch':period_form, 'fields':period_fields, 'state':[('end','Cancel','gtk-cancel'),('report','Print','gtk-print')]} }, 'report': { 'actions': [_check_state],