<?xml version="1.0"?>
<list string="Journal Entries" sample="1" decoration-info="state == 'draft'" expand="context.get('expand', False)" multi_edit="1">
                    <field name="company_currency_id" column_invisible="True"/>
                    <field name="made_sequence_gap" column_invisible="True"/>
                    <field name="invoice_date" string="Invoice Date" optional="hide" readonly="state != 'draft'"/>
                    <field name="date" readonly="state in ['cancel', 'posted']"/>
                    <field name="name" decoration-danger="made_sequence_gap and state == 'posted'" widget="char_with_placeholder_field" placeholder="/" readonly="state != 'draft'"/>
                    <field name="partner_id" optional="show" readonly="state != 'draft'"/>
                    <field name="ref" optional="show"/>
                    <field name="journal_id"/>
                    <field name="company_id" groups="base.group_multi_company" optional="show"/>
                    <field name="amount_total_signed" sum="Total Amount" string="Total" decoration-bf="1"/>
                    <field name="state" widget="badge" decoration-info="state == 'draft'" decoration-success="state == 'posted'"/>
                    <field name="currency_id" column_invisible="True" readonly="state in ['cancel', 'posted']"/>
                    <field name="checked" optional="hide" widget="boolean_toggle"/>
                    <field name="activity_ids" widget="list_activity" optional="hide"/>
                </list>
            