From 79876515235ee2736d5d1e3f3a6f80c16d5bde1b Mon Sep 17 00:00:00 2001 From: "nch@tinyerp.com" <> Date: Wed, 5 May 2010 10:23:49 +0530 Subject: [PATCH] [IMP]:usabiliy improvemetns bzr revid: nch@tinyerp.com-20100505045349-ssq1racv9tvzc22h --- addons/account/account.py | 6 +- addons/account/account_installer.xml | 37 ++++++++-- addons/account/account_view.xml | 6 +- addons/account/installer.py | 73 +++++++++++++++++-- addons/association/profile_association.xml | 11 +++ addons/base_setup/__init__.py | 1 + addons/base_setup/__openerp__.py | 2 +- addons/base_setup/base_setup_installer.xml | 13 +++- addons/hr/hr_installer.xml | 11 +++ addons/knowledge/knowledge_installer.xml | 12 +++ addons/mrp/mrp_installer.xml | 12 +++ .../profile_accounting/profile_accounting.xml | 11 +++ .../profile_manufacturing.xml | 11 +++ addons/profile_tools/misc_tools_installer.xml | 11 +++ addons/project/project_installer.xml | 11 +++ addons/purchase/wizard/purchase_installer.xml | 11 +++ .../report_designer_installer.xml | 11 +++ addons/service/service_installer.xml | 11 +++ 18 files changed, 245 insertions(+), 16 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index c965d2cd0e5..0241cbe5ffa 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -2390,10 +2390,14 @@ class account_bank_accounts_wizard(osv.osv_memory): _name='account.bank.accounts.wizard' _columns = { - 'acc_no':fields.many2one('res.partner.bank','Account No.',required=True), + 'acc_name':fields.char('Account Name.', size=64, required=True), 'bank_account_id':fields.many2one('wizard.multi.charts.accounts', 'Bank Account', required=True), 'currency_id':fields.many2one('res.currency', 'Currency'), + 'account_type':fields.selection([('cash','Cash'),('check','Check'),('bank','Bank')], 'Type', size=32), } + _defaults = { + 'currency_id': lambda self,cr,uid,c: self.pool.get('res.users').browse(cr, uid, uid, c).company_id.currency_id.id, + } account_bank_accounts_wizard() diff --git a/addons/account/account_installer.xml b/addons/account/account_installer.xml index 5eec07067ef..89921af9790 100644 --- a/addons/account/account_installer.xml +++ b/addons/account/account_installer.xml @@ -17,7 +17,7 @@ - You can enhance OpenERP's basic accounting support with a few additional OpenERP applications + You can enhance OpenERP's basic accounting support with a few additional OpenERP applications. Select one of the country specific chart of account or select 'configurable chart of account' to configure your own chart of account. 150 @@ -36,11 +36,24 @@ - + + + + + - - - + +
+ + + + + + + + + +
@@ -66,6 +79,20 @@ 3 + onskip + + + ir.actions.todo + account_installer_action_replace + tree + + + +