The requirement is to have a menu that will display account move line entries with expense account selected on the vendor bills. If taxes are applied, the listing should include all tax entries.
See the expected output: https://i.sstatic.net/2A4IgAM6.jpg.
See my current domain:
<record id="action_account_move_line" model="ir.actions.act_window">
<field name="name">Expense Analysis</field>
<field name="type">ir.actions.act_window</field>
<field name="res_model">account.move.line</field>
<field name="view_mode">tree,pivot,graph</field>
<field name="domain">[('account_id.deprecated', '=', False),('account_id.internal_group', 'in', ['expense']),('exclude_from_invoice_tab','=',False)]</field>
<field name="view_id" eval="expense_line_tree_view"/>
</record>The above domain only fetched the move line entries without the taxes. See the current result: https://i.sstatic.net/JXR7852C.jpg
Gracia.