Add multi-company support hr_holidays_usability
Add modules hr_holidays_lunch_voucher and hr_holidays_lunch_voucher_natixis
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<openerp>
|
||||
<data noupdate="0">
|
||||
<data noupdate="1">
|
||||
|
||||
<!--
|
||||
Employee : only see his holidays
|
||||
@@ -41,5 +41,12 @@ Manager = person that administrates the holidays process : can see everything, d
|
||||
<field name="groups" eval="[(4, ref('base.group_hr_manager'))]"/>
|
||||
</record>
|
||||
|
||||
<record id="hr_holidays_multicompany_rule" model="ir.rule">
|
||||
<field name="name">Holidays multi-company</field>
|
||||
<field name="model_id" ref="hr_holidays.model_hr_holidays"/>
|
||||
<field name="domain_force">['|', ('company_id', '=', False), ('company_id', 'child_of', [user.company_id.id])]</field>
|
||||
</record>
|
||||
|
||||
|
||||
</data>
|
||||
</openerp>
|
||||
|
||||
Reference in New Issue
Block a user