diff --git a/addons/account/account.py b/addons/account/account.py index 2a07154461c..fb5795002b4 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -401,9 +401,6 @@ class account_account(osv.osv): 'manage this. So if you import from another software system you may have to use the rate at date. ' \ 'Incoming transactions always use the rate at date.', \ required=True), - 'check_history': fields.boolean('Display History', - help="Check this box if you want to print all entries when printing the General Ledger, "\ - "otherwise it will only print its balance."), 'level': fields.function(_get_level, string='Level', method=True, store=True, type='integer'), } @@ -411,7 +408,6 @@ class account_account(osv.osv): 'type': lambda *a : 'view', 'reconcile': lambda *a: False, 'active': lambda *a: True, - 'check_history': lambda *a: True, 'currency_mode': lambda *a: 'current', 'company_id': lambda s,cr,uid,c: s.pool.get('res.company')._company_default_get(cr, uid, 'account.account', context=c), } @@ -599,7 +595,7 @@ class account_journal(osv.osv): _columns = { 'name': fields.char('Journal Name', size=64, required=True, translate=True,help="Name of the journal"), 'code': fields.char('Code', size=16,required=True,help="Code of the journal"), - 'type': fields.selection([('sale', 'Sale'),('sale_refund','Sale Refund'), ('purchase', 'Purchase'), ('purchase_refund','Purchase Refund'),('expense', 'Expense'), ('cash', 'Cash'), ('bank', 'Bank'), ('general', 'General'), ('situation', 'Situation')], 'Type', size=32, required=True, + 'type': fields.selection([('sale', 'Sale'),('sale_refund','Sale Refund'), ('purchase', 'Purchase'), ('purchase_refund','Purchase Refund'),('expense', 'Expense'), ('cash', 'Cash'), ('bank', 'Bank and Cheques'), ('general', 'General'), ('situation', 'Situation')], 'Type', size=32, required=True, help="Select 'Sale' for Sale journal to be used at the time of making invoice."\ " Select 'Purchase' for Purchase Journal to be used at the time of approving purchase order."\ " Select 'Cash' to be used at the time of making payment."\ diff --git a/addons/account/account_assert_test.xml b/addons/account/account_assert_test.xml index ba5f9840ccc..88025514763 100644 --- a/addons/account/account_assert_test.xml +++ b/addons/account/account_assert_test.xml @@ -1,7 +1,7 @@ - + diff --git a/addons/account/account_bank_statement.py b/addons/account/account_bank_statement.py index 8ae6b24f7d0..270384a1d9f 100644 --- a/addons/account/account_bank_statement.py +++ b/addons/account/account_bank_statement.py @@ -338,7 +338,7 @@ class account_bank_statement(osv.osv): context=context): if line.state <> 'valid': raise osv.except_osv(_('Error !'), - _('Ledger Posting line "%s" is not valid') % line.name) + _('Journal Item "%s" is not valid') % line.name) if move.reconcile_id and move.reconcile_id.line_ids: ## Search if move has already a partial reconciliation @@ -687,4 +687,4 @@ class account_bank_statement_line(osv.osv): account_bank_statement_line() -# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: \ No newline at end of file +# vim:expandtab:smartindent:tabstop=4:softtabstop=4:shiftwidth=4: diff --git a/addons/account/account_cash_statement.py b/addons/account/account_cash_statement.py index 8bf75a8dd03..42837ad1fb7 100644 --- a/addons/account/account_cash_statement.py +++ b/addons/account/account_cash_statement.py @@ -482,7 +482,7 @@ class account_cash_statement(osv.osv): context=context): if line.state <> 'valid': raise osv.except_osv(_('Error !'), - _('Ledger Posting line "%s" is not valid') % line.name) + _('Journal Item "%s" is not valid') % line.name) if move.reconcile_id and move.reconcile_id.line_ids: torec += map(lambda x: x.id, move.reconcile_id.line_ids) diff --git a/addons/account/account_invoice_view.xml b/addons/account/account_invoice_view.xml index dee0eacc085..9df1880f61a 100644 --- a/addons/account/account_invoice_view.xml +++ b/addons/account/account_invoice_view.xml @@ -302,13 +302,14 @@ -