Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
3 ตอบกลับ
3615 มุมมอง

in my module i want to enable base.employee_group to inherit private information page (allowed for Manager and Officer)

<record id="view_personal_information_for_employee" model="ir.ui.view">
<field name="name">View Personal Information For Employee</field>
<field name="model">hr.employee</field>
<field name="inherit_id" ref="hr.view_employee_form" />
<field name="arch" type="xml">
<xpath expr="//page[@name='personal_information']" position="attributes">
<attribute name="groups">base.group_user</attribute>
</xpath>

</field>
</record>
but it looks empty
อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hello,

Did you find a solution to your problem please?

Kind regards,
อวตาร
ละทิ้ง
ผู้เขียน

yes .. do you want to view this page to specific user that not manager or officer ?

Yes, i want an employee can see his own professional information, private information and also RH information (just reading the view). I think that is the same problem as you

Could you help me please?

Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ธ.ค. 23
11023
2
ม.ค. 20
4721
0
ต.ค. 18
2907
1
ธ.ค. 22
24969
6
ธ.ค. 22
15665