[IMP] account financial type account_type is now m2m

bzr revid: al@openerp.com-20110921150708-wkxt83pulih57o93
This commit is contained in:
Antony Lesuisse 2011-09-21 17:07:08 +02:00
parent b83b56164f
commit 46b4b667e0
2 changed files with 2 additions and 2 deletions

View File

@ -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 = {

View File

@ -2727,7 +2727,7 @@ action = pool.get('res.config').next(cr, uid, [], context)
<newline/>
<field name="account_report_id" attrs="{'invisible': [('type', '!=', 'account_report')]}"/>
<newline/>
<field name="account_type_id" attrs="{'invisible': [('type', '!=', 'account_type')]}"/>
<field name="account_type_ids" nolabel="1" attrs="{'invisible': [('type', '!=', 'account_type')]}"/>
<newline/>
</page>
<page string="Notes" attrs="{'invisible': [('state','!=','confirm')]}">