This question has been flagged
1 Reply
2443 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

Avatar
Discard
Author Best Answer

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

Avatar
Discard