3

I'm talking about the follow button under users. Can this be done with Access control without modifying the views?

Alexander Suraphel
  • 10,103
  • 10
  • 55
  • 90
  • I don't think so bro, you must change the views – m3asmi Jul 12 '15 at 15:40
  • 1
    Without modifying views, we cann't do anything. If we want to change view than we must to do some customization or modification in view files. Suggestion, We can create one security group. User with that access rights can only use *follow* functionality and from the other User it will be restrict. – Bhavesh Odedra Jul 12 '15 at 16:01
  • Good suggestion @Odedra! Which model do i restrict to resctric the follow functionality. – Alexander Suraphel Jul 13 '15 at 11:17
  • You can put restrictions on the "mail.followers" model. – Ankita Jul 21 '15 at 03:58

1 Answers1

0

Hi Alexander Suraphel,

In your form view of our object at the bottom you will find following syntax :

        <div class="oe_chatter">
            <field name="message_follower_ids" widget="mail_followers"/>
            <field name="message_ids" widget="mail_thread"/>
        </div>

in this :

here message_follower_ids add the follow feature so you can remove that line, and that will remove that feature from that object on that view.

Thanks

ifixthat
  • 6,137
  • 5
  • 25
  • 42