Skip to content

Commit

Permalink
Merge pull request #174 from lepistone/selection-reasons-readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
gurneyalex committed May 19, 2015
2 parents 9024261 + e592d35 commit 98c8480
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ngo_purchase_requisition/view/purchase_requisition.xml
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@
</tree>
</field>

<group string="Selection reasons" attrs="{'invisible': [('state','not in',('open', 'selected', 'closed', 'done', 'cancel'))], 'readonly': [('state','in',('closed', 'done'))]}">
<field name="selection_reasons" nolabel="1"/>
<group string="Selection reasons" attrs="{'invisible': [('state','not in',('open', 'selected', 'closed', 'done', 'cancel'))]}">
<field name="selection_reasons" attrs="{'readonly': [('state','in',('closed', 'done'))]}" nolabel="1"/>
</group>

</page>
Expand Down

0 comments on commit 98c8480

Please sign in to comment.