Hello,
I just added the domain attribute in the window action. When I tried to remove it of a ir.actions.act_window in its xml file and update the module, the domain is not removed actually. It works the other way round. How to remove it please ?
<record id="expense_all" model="ir.actions.act_window">
<field name="name">Expenses</field>
<field name="res_model">hr.expense</field>
<field name="view_type">form</field>
<field name="search_view_id" ref="view_hr_expense_filter"/>
<field name="view_id" ref="view_expenses_tree"/>
<!--<field name="domain">[('user_id','=',uid)]</field>-->
</record>