[IMP] gamification: can not modify plan if not in draft

bzr revid: mat@openerp.com-20130219101413-4l0zkfniwoyj64cs
This commit is contained in:
Martin Trigaux 2013-02-19 11:14:13 +01:00
parent dfa76a9a30
commit 0f042d442e
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@
</group>
<group string="Planlines">
<field name="planline_ids" nolabel="1">
<field name="planline_ids" nolabel="1" attrs="{'readonly':[('state','!=','draft')]}">
<tree string="Planline List" version="7.0" editable="bottom" >
<field name="type_id"/>
<field name="target_goal"/>