跳至內容
選單
此問題已被標幟
1 回覆
3067 瀏覽次數

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

頭像
捨棄
作者 最佳答案

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

頭像
捨棄