Quantcast
Channel: OpenERP Help - Individual question feed
Viewing all articles
Browse latest Browse all 224

How to make readonly field base on condition?

$
0
0
base.group_user can edit project.issue in every stage. portal.group_portal can edit SOME fields of the issue only in NEW stage. In two other stages (of all 7) portal user can press buttons Accept or Reject and change the stage value of the issue. I can't limit rights to record, because I need to change the value of the stage. I think I have to limit rights to some fields on the view.xml: if the user group = portal.group_portal and stage_id != new readonly="1" **How to implement this condition to a single field?**

Viewing all articles
Browse latest Browse all 224

Trending Articles