[FIX] account:account.financial.report : fixed bug in form view: attribute based on non-existent 'state' field

bzr revid: tde@openerp.com-20111129101523-d77llagm6hc3pi1k
This commit is contained in:
Thibault Delavallée 2011-11-29 11:15:23 +01:00
parent aaec013f9e
commit 123525aeb5
1 changed files with 2 additions and 2 deletions

View File

@ -2769,7 +2769,7 @@ action = pool.get('res.config').next(cr, uid, [], context)
<field name="type"/>
</group>
<notebook colspan="4">
<page string="Report" attrs="{'invisible': [('state','!=','confirm')]}">
<page string="Report">
<field name="display_detail" attrs="{'invisible': [('type','!=','accounts')]}"/>
<newline/>
<field name="account_ids" nolabel="1" colspan="6" attrs="{'invisible': [('type', '!=', 'accounts')]}"/>
@ -2779,7 +2779,7 @@ action = pool.get('res.config').next(cr, uid, [], context)
<field name="account_type_ids" nolabel="1" attrs="{'invisible': [('type', '!=', 'account_type')]}"/>
<newline/>
</page>
<page string="Notes" attrs="{'invisible': [('state','!=','confirm')]}">
<page string="Notes">
<field name="note" nolabel="1" colspan="4"/>
</page>
</notebook>