From f2a73d9286bf57d5b8dd76d8b77c488e35789bca Mon Sep 17 00:00:00 2001 From: Fabien Pinckaers Date: Tue, 17 Jul 2012 00:17:06 +0200 Subject: [PATCH] merge bzr revid: fp@openerp.com-20120716221706-esjx9mluww4zfio5 --- addons/account/account.py | 2 +- addons/account/account_bank_statement.py | 4 +- addons/account/account_view.xml | 109 ++++++++++-------- .../account_voucher/account_voucher_view.xml | 2 +- .../voucher_payment_receipt_view.xml | 59 ++++++---- .../voucher_sales_purchase_view.xml | 65 +++++------ 6 files changed, 134 insertions(+), 107 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index 54c7f5bef04..b6fd7232a25 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -474,7 +474,7 @@ class account_account(osv.osv): 'shortcut': fields.char('Shortcut', size=12), 'tax_ids': fields.many2many('account.tax', 'account_account_tax_default_rel', 'account_id', 'tax_id', 'Default Taxes'), - 'note': fields.text('Note'), + 'note': fields.text('Internal Notes'), 'company_currency_id': fields.function(_get_company_currency, type='many2one', relation='res.currency', string='Company Currency'), 'company_id': fields.many2one('res.company', 'Company', required=True), 'active': fields.boolean('Active', select=2, help="If the active field is set to False, it will allow you to hide the account without removing it."), diff --git a/addons/account/account_bank_statement.py b/addons/account/account_bank_statement.py index cd0d9ece29d..8f9c6ed1d6f 100644 --- a/addons/account/account_bank_statement.py +++ b/addons/account/account_bank_statement.py @@ -97,8 +97,8 @@ class account_bank_statement(osv.osv): _description = "Bank Statement" _inherit = ['mail.thread'] _columns = { - 'name': fields.char('Name', size=64, required=True, states={'draft': [('readonly', False)]}, readonly=True, help='if you give the Name other then /, its created Accounting Entries Move will be with same name as statement name. This allows the statement entries to have the same references than the statement itself'), # readonly for account_cash_statement - 'date': fields.date('Creation Date', required=True, states={'confirm': [('readonly', True)]}, select=True), + 'name': fields.char('Reference', size=64, required=True, states={'draft': [('readonly', False)]}, readonly=True, help='if you give the Name other then /, its created Accounting Entries Move will be with same name as statement name. This allows the statement entries to have the same references than the statement itself'), # readonly for account_cash_statement + 'date': fields.date('Date', required=True, states={'confirm': [('readonly', True)]}, select=True), 'journal_id': fields.many2one('account.journal', 'Journal', required=True, readonly=True, states={'draft':[('readonly',False)]}), 'period_id': fields.many2one('account.period', 'Period', required=True, diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 18f8a0ad39c..f2c24feacb7 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -169,41 +169,37 @@ form
-