Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

ODOO9: How to add a filter in the payslip

By
Drees Far
on 2/11/16, 9:25 AM 288 views

Hello everybody!!

Please friends i want to add a new filter in the list of payslips.

So i have tried this:

<record id="view_hr_payslip_filter" model="ir.ui.view">

<field name="name">hr.payslip.select</field>

<field name="model">hr.payslip</field>

<field name="arch" type="xml">

<search string="Search Payslips">

<group expand="0" string="Group By">

<filter string="Paiement" name="employee_id.mode" context="{'group_by':'employee_id.mode'}"/>

</group>

</search>

</field>

</record>

But, nothing happened.

can anyone help please

best regards.

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 2/11/16, 9:25 AM
Seen: 288 times
Last updated: 3/3/16, 4:02 PM