From 2572e7d06258324b4821c9e2c8ce190dfa6e48e8 Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Wed, 7 Jul 2010 14:29:17 +0530 Subject: [PATCH] account view and deprecated fields fixes bzr revid: al@openerp.com-20100707085917-jouhgqj16j60alhh --- addons/account/account.py | 5 +- addons/account/account_view.xml | 90 ++++++++++++++++----------------- 2 files changed, 46 insertions(+), 49 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index a461cbe5bb7..4629a306a0b 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -136,7 +136,6 @@ class account_account_type(osv.osv): 'name': fields.char('Acc. Type Name', size=64, required=True, translate=True), 'code': fields.char('Code', size=32, required=True), 'sequence': fields.integer('Sequence', help="Gives the sequence order when displaying a list of account types."), - 'partner_account': fields.boolean('Partner account'), 'close_method': fields.selection([('none', 'None'), ('balance', 'Balance'), ('detail', 'Detail'), ('unreconciled', 'Unreconciled')], 'Deferral Method', required=True), 'sign': fields.selection([(-1, 'Negative'), (1, 'Positive')], 'Sign on Reports', required=True, help='Allows you to change the sign of the balance amount displayed in the reports, so that you can see positive figures instead of negative ones in expenses accounts.'), 'report_type':fields.selection([ @@ -366,11 +365,11 @@ class account_account(osv.osv): 'currency_id': fields.many2one('res.currency', 'Secondary Currency', help="Forces all moves for this account to have this secondary currency."), 'code': fields.char('Code', size=64, required=True), 'type': fields.selection([ + ('view', 'View'), + ('other', 'Regular'), ('receivable', 'Receivable'), ('payable', 'Payable'), - ('view', 'View'), ('consolidation', 'Consolidation'), - ('other', 'Others'), ('closed', 'Closed'), ], 'Internal Type', required=True, help="This type is used to differentiate types with "\ "special effects in Open ERP: view can not have entries, consolidation are accounts that "\ diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index 1af3f1bef1e..c52302cb823 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -3,8 +3,8 @@ + Fiscal Year + --> account.fiscalyear.form @@ -12,7 +12,7 @@ form
- + @@ -32,7 +32,7 @@ - +