16 lines
664 B
XML
16 lines
664 B
XML
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<odoo noupdate="1">
|
||
|
|
||
|
|
||
|
<!-- Override this rule because in hr_timesheet,
|
||
|
the lowest access right can only see own timesheets (model: account.analytic.line)
|
||
|
and this ir.rule accept all account.analytic.line in its domain.
|
||
|
Therefore, we need to override this rule to change the domain, and then the
|
||
|
rules for the account.analytic.line defined in timesheet will be apply.
|
||
|
-->
|
||
|
<record id="account.account_analytic_line_rule_billing_user" model="ir.rule">
|
||
|
<field name="domain_force">[('project_id', '=', False)]</field>
|
||
|
</record>
|
||
|
|
||
|
</odoo>
|