Odoo Help

0

Best way to implement date searching for Invoices? [Closed]

By
Ray Carnes
on 3/17/13, 3:39 PM 1,488 views

The Question has been closed

by
Ray Carnes
on 04/11/2013 14:51:10

What is the best way to extend 7.0 search to include date fields when searching for Invoices?

Accounting -> Customers -> Invoices.

Typing a date or partial date does not find any invoices.

When you enter the first two digits (the month in the USA) of the date, it suggests a Period match, but never a Date Invoice or Date Due match.

2
Ray Carnes
On 3/17/13, 3:40 PM

It is the same way it was done for 6.1.

Create an inherited view that adds the field you want to search for.

In the case of Invoice searches, I created a view that inherited account.invoice.select and added this XML:

<?xml version="1.0"?>
    <field name="user_id" position="after">
        <field name="date_invoice" />
        <field name="date_due" />
    </field>

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

0 follower(s)

Stats

Asked: 3/17/13, 3:39 PM
Seen: 1488 times
Last updated: 3/16/15, 8:10 AM