Odoo Help

0

Set a notebook page invisible in inherited view for a specific User

By
ibra
on 3/11/16, 5:52 AM 475 views

I am trying to customize the Employees view via inherited view. Currently, there are a few tabs in the Employee page: Information/.../DriverInfo/TechnicianInfo. ( i added the two pages : DriverInfo & TechnicianInfo to my notebook ) 

For the user 'Administrator', i don't need both DriverInfo and TechnicianInfo.at first, i tried 

<page string="DriverInfo" position="attributes">

    <attribute name='invisible'>1</attribute>

</page>but instead of hiding it, a new page was created with the value 1 !!please kindly,  advise how I could achieve this.

Thanks a lot

1
Motez
On 3/11/16, 10:03 AM

you can define a group that you want it to see the pages then in page declaration set groups="my_group"

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

Asked: 3/11/16, 5:52 AM
Seen: 475 times
Last updated: 3/11/16, 10:03 AM