14 lines
509 B
XML
14 lines
509 B
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<data noupdate="1">
|
|
|
|
<record model="ir.rule" id="timesheet_comp_rule">
|
|
<field name="name">Timesheet multi-company</field>
|
|
<field name="model_id" search="[('model','=','hr_timesheet_sheet.sheet')]" model="ir.model"/>
|
|
<field name="global" eval="True"/>
|
|
<field name="domain_force">['|',('company_id','=',False),('company_id','child_of',[user.company_id.id])]</field>
|
|
</record>
|
|
|
|
</data>
|
|
</odoo>
|