0

A form contains over 5 fields. A certain group user is given read access alone in the csv security. But I want that particular group user to access two fields in that form view. How can I achieve this?

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
Navi
  • 1,000
  • 1
  • 14
  • 44

1 Answers1

0

Just add the attribute groups='module_that_defines_the_group.group_name' to your field, something like this <field name="currency_id" groups="base.group_multi_currency"/>. I Hope this can be helpfull for you.

Juan Salcedo
  • 1,598
  • 1
  • 16
  • 28
  • 1
    If i do like this, that field will be visible to that particular group only. But my requirement is not that. I want that particular group to edit that field alone. My question is How to give write access to that group user for a particular field? @Juan Salcedo – Navi Jan 10 '18 at 12:33