in the accounting dashboard, how can I tell if one journal or another was selected. How to know if the invoice journal or a credit memo journal was selected, I need to take an action according to the selected journal.
I located the action of the button, but I don't identify where the sales journal differs.
<t t-name="JournalBodySalePurchase" id="account.JournalBodySalePurchase">
<div class="col-xs-6 o_kanban_primary_left">
<t t-if="journal_type == 'sale'">
<button type="object" name="action_boleta_venta1" class="btn btn-primary btn-sm o_invoice_new">
<span>New Inv444444oice</span>
</button>
</t>
Please your support.