Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
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.
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.
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 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
|Asked: 2/3/14, 11:06 AM|
|Seen: 508 times|
|Last updated: 3/16/15, 8:10 AM|