From 46b4b667e0a9e8f0e97dbdca5ae244f611a2233e Mon Sep 17 00:00:00 2001 From: Antony Lesuisse Date: Wed, 21 Sep 2011 17:07:08 +0200 Subject: [PATCH] [IMP] account financial type account_type is now m2m bzr revid: al@openerp.com-20110921150708-wkxt83pulih57o93 --- addons/account/account.py | 2 +- addons/account/account_view.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/account/account.py b/addons/account/account.py index dffaed6cb0b..3be3bfe2d13 100644 --- a/addons/account/account.py +++ b/addons/account/account.py @@ -2707,7 +2707,7 @@ class account_financial_report(osv.osv): 'account_ids': fields.many2many('account.account', 'account_account_financial_report', 'report_line_id', 'account_id', 'Accounts'), 'display_detail': fields.boolean('Display details', help='Display every account with its balance instead of the sum.'), 'account_report_id': fields.many2one('account.financial.report', 'Report Value'), - 'account_type_id': fields.many2one('account.account.type', 'Account Type'), + 'account_type_ids': fields.many2many('account.account.type', 'account_account_financial_report_type', 'report_id', 'account_type_id', 'Account Types'), } _defaults = { diff --git a/addons/account/account_view.xml b/addons/account/account_view.xml index e3ef40c8402..033c98a57f5 100644 --- a/addons/account/account_view.xml +++ b/addons/account/account_view.xml @@ -2727,7 +2727,7 @@ action = pool.get('res.config').next(cr, uid, [], context) - +