Continue modifications for better security management
This commit is contained in:
@@ -56,7 +56,7 @@ hr_holidays.edit_holiday_new is used for both leaves and allocation -->
|
|||||||
</group>
|
</group>
|
||||||
</xpath>
|
</xpath>
|
||||||
<field name="department_id" position="after">
|
<field name="department_id" position="after">
|
||||||
<field name="posted_date" groups="base.group_hr_user"/>
|
<field name="posted_date" groups="base.group_hr_manager"/>
|
||||||
</field>
|
</field>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
@@ -84,7 +84,7 @@ hr_holidays.edit_holiday_new is used for both leaves and allocation -->
|
|||||||
<attribute name="invisible">0</attribute>
|
<attribute name="invisible">0</attribute>
|
||||||
</field>
|
</field>
|
||||||
<field name="holiday_status_id" position="after">
|
<field name="holiday_status_id" position="after">
|
||||||
<field name="posted_date" groups="base.group_hr_user"/>
|
<field name="posted_date" groups="base.group_hr_manager"/>
|
||||||
</field>
|
</field>
|
||||||
</field>
|
</field>
|
||||||
</record>
|
</record>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
<!--
|
<!--
|
||||||
Employee : only see his holidays
|
Employee : only see his holidays
|
||||||
Officer = the manager of some employees : see his holidays and the ones of his subordinates
|
Officer = the manager of some employees : see his holidays and the ones of his subordinates
|
||||||
Manager = person that administrates the holidays process : can see everything
|
Manager = person that administrates the holidays process : can see everything, do mass allocation, post holidays, etc...
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<record id="hr_holidays_counter_personal_rule" model="ir.rule">
|
<record id="hr_holidays_counter_personal_rule" model="ir.rule">
|
||||||
|
|||||||
@@ -39,7 +39,7 @@
|
|||||||
<menuitem id="hr_holidays_mass_allocation_menu"
|
<menuitem id="hr_holidays_mass_allocation_menu"
|
||||||
action="hr_holidays_mass_allocation_action"
|
action="hr_holidays_mass_allocation_action"
|
||||||
parent="hr_holidays.menu_open_ask_holidays"
|
parent="hr_holidays.menu_open_ask_holidays"
|
||||||
groups="base.group_hr_user"/>
|
groups="base.group_hr_manager"/>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</openerp>
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
<menuitem id="hr_holidays_post_menu"
|
<menuitem id="hr_holidays_post_menu"
|
||||||
action="hr_holidays_post_action"
|
action="hr_holidays_post_action"
|
||||||
parent="hr_holidays.menu_open_ask_holidays"
|
parent="hr_holidays.menu_open_ask_holidays"
|
||||||
groups="base.group_hr_user"/>
|
groups="base.group_hr_manager"/>
|
||||||
|
|
||||||
</data>
|
</data>
|
||||||
</openerp>
|
</openerp>
|
||||||
|
|||||||
Reference in New Issue
Block a user