<?xml version="1.0"?>
<openerp>
	<data>

		<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','child_of',[user.company_id.id])]</field>
		</record>

	</data>
</openerp>
