[IMP] remove readonly in user field of cash register form view

bzr revid: fka@tinyerp.com-20130509054822-k2iaubco8ccgm8gx
This commit is contained in:
Foram Katharotiya (OpenERP) 2013-05-09 11:18:22 +05:30
parent 16010ff34a
commit 6bd26eeec7
1 changed files with 1 additions and 1 deletions

View File

@ -2255,7 +2255,7 @@
<group>
<group>
<field name="journal_id" on_change="onchange_journal_id(journal_id)" widget="selection" domain="[('type', '=', 'cash')]" />
<field name="user_id" readonly="1" string="Responsible"/>
<field name="user_id" attrs="{'readonly':[('state','!=','draft')]}" string="Responsible"/>
<field name="total_entry_encoding"/>
<field name='company_id' widget="selection" groups="base.group_multi_company" />
</group>