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
|Asked: 2/3/14, 11:06 AM|
|Seen: 480 times|
|Last updated: 3/16/15, 8:10 AM|