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.

0

journal items list (Period and Journal) search fields

By
Magnus Gustafsson
on 2/3/14, 11:06 AM 481 views

In the Journal Items list accessed from the menu, there are two search filters automatically set for Period and Journal at the top. They are not contained within the normal Advanced Search field in the top right corner.

How are these fields added? I have checked view_account_move_line_filter and view_move_line_tree for account.move.line and cannot see how these fields are added in the old search style.

-Mags

0
Magnus Gustafsson
On 2/3/14, 11:36 AM

I have managed to answer my own question.

The id of the action that loads the Journal items is - action_account_moves_all_a. Here is referenced this field - <field name="view_mode">tree_account_move_line_quickadd,form</field>

tree_account_move_line_quickadd is located in account\static\src\xml\account_move_line_quickadd.xml

In this XML file is the definition of the two fields Period and Journal that provide the search function.

-Mags

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

0 follower(s)

Stats

Asked: 2/3/14, 11:06 AM
Seen: 481 times
Last updated: 3/16/15, 8:10 AM