#Hi friendz,
In my module, I need to display password to group - 'bms_admin_group' and
to display ***** instead of password for group - 'bms_public_group' with the help of `password=True`.
In my scenario 'bms_admin_group' inherits
'bms_public_group'
I tried the following methods to implement but failed
1. using attrs
<field name="password" attrs="{'password': [('groups', '=', 'bms_public_group')]}" />
2. providing same field with multi groups like below
<field name="password" password="1" groups="bms_public_group" /> <field name="password" password="0" groups= "bms_admin_group" /> -in this method, the visibility is working fine but when i try to save the record, it is showing value not filled
Can we provide restriction for this field "passcode" for various groups??