Hello everybody!!!
Can anyone explain to me how to filter in the view when i click on a smart button.
Here is what i have tried :
<record model="ir.actions.act_window" id="action_contract_filtre">
<field name="name">Contracts</field>
<field name="res_model">hr.contract</field>
<field name="view_type">form</field>
<field name="view_mode">tree,form</field>
<field name="domain">{'employee_id': [active_id]}</field>
</record>
Is here any answer.
THanks a lot in advance.
Best Regards.