跳至内容
菜单
此问题已终结
3 回复
3526 查看

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?

相关帖文 回复 查看 活动
1
12月 23
10865
2
1月 20
4631
0
10月 18
2814
1
12月 22
24798
6
12月 22
15420