[IMP] account: usability of journal form view

navigation from a journal to its entries improved by adding a smart button
part of task 2478537
This commit is contained in:
Habib (ayh)
2021-05-17 13:14:16 +00:00
parent a684c3e89c
commit 4f437d119e
@@ -30,6 +30,11 @@
<field name="arch" type="xml">
<form string="Account Journal">
<sheet>
<div name="button_box" class="oe_button_box">
<button class="oe_stat_button" type="action"
name="%(action_account_moves_all_a)d" icon="fa-book" string="Journal Entries"
context="{'search_default_journal_id':active_id}"/>
</div>
<widget name="web_ribbon" title="Archived" bg_color="bg-danger" attrs="{'invisible': [('active', '=', True)]}"/>
<div class="oe_title">
<label for="name"/>