diff --git a/views/hr_expense.xml b/views/hr_expense.xml index 92407152c344229802d4e4253ffad35aa29d326b..5b212c5d80d4b4eb9fde139e499ba4e099a92eb0 100644 --- a/views/hr_expense.xml +++ b/views/hr_expense.xml @@ -62,7 +62,7 @@ <field name="expense_formula" invisible="True" /> </field> <field name="analytic_account_id" position="before"> - <field name="timesheet_id" options="{'no_create': True, 'no_open': True}" /> + <field name="timesheet_id" options="{'no_create': True, 'no_open': True}" domain="[('employee_id', '=', employee_id )]"/> </field> <field name="analytic_account_id" position="attributes"> <attribute name="string">Code activité UR</attribute>