Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
3 Odpovědi
3493 Zobrazení

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
Avatar
Zrušit
Nejlepší odpověď

Hello,

Did you find a solution to your problem please?

Kind regards,
Avatar
Zrušit
Autor

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 Odpovědi Zobrazení Aktivita
1
pro 23
10814
2
led 20
4597
0
říj 18
2764
1
pro 22
24705
6
pro 22
15340