<?xml version="1.0"?>
<kanban create="false" can_open="0" class="o_modules_kanban">
                  <field name="to_buy"/>
                  <field name="name"/>
                  <field name="state"/>
                  <field name="summary"/>
                  <field name="website"/>
                  <field name="application"/>
                  <templates>
                    <t t-name="menu">
                        <t t-set="installed" t-value="record.state.raw_value == 'installed'"/>
                        <a type="open" class="dropdown-item">Module Info</a>
                        <a t-if="record.website.raw_value" role="menuitem" class="dropdown-item o-hidden-ios" t-att-href="record.website.raw_value" target="_blank">Learn More</a>
                        <a t-if="installed" name="button_immediate_upgrade" type="object" role="menuitem" class="dropdown-item" groups="base.group_system">Upgrade</a>
                        <a t-if="installed" name="button_uninstall_wizard" type="object" role="menuitem" class="dropdown-item" groups="base.group_system">Uninstall…</a>
                    </t>
                    <t t-name="card" class="flex-row align-items-center">
                        <aside>
                            <field name="icon" widget="image_url" options="{'size': [50, 50]}" alt="Icon"/>
                            <field t-if="record.icon_flag" name="icon_flag" class="oe_module_flag"/>
                        </aside>
                        <main class="me-4" t-att-title="record.shortdesc.value">
                            <field class="fw-bold fs-5" name="shortdesc"/>
                            <p class="text-muted small my-0 lh-sm">
                                <field groups="!base.group_no_one" name="summary"/>
                                <code groups="base.group_no_one"><field name="name"/></code>
                            </p>
                            <footer class="w-100 justify-content-between">
                                <button type="object" class="btn btn-primary btn-sm" name="button_immediate_install" invisible="state != 'uninstalled'" t-if="! record.to_buy.raw_value" groups="base.group_system">Activate</button>
                                <div t-if="installed" class="d-flex align-items-center text-muted float-start">Installed</div>
                                <a t-att-href="record.website.raw_value" target="_blank" invisible="website in (False, '')" class="btn btn-sm btn-secondary float-end o-hidden-ios" role="button">Learn More</a>
                                <a type="open" class="btn btn-secondary btn-sm float-end" role="button" invisible="website != ''">Module Info</a>
                                <a href="https://odoo.com/pricing?utm_source=db&amp;utm_medium=module#hosting=on_premise" target="_blank" class="btn btn-info btn-sm" invisible="state not in ('uninstalled', 'uninstallable')" t-if="record.to_buy.raw_value" role="button" groups="base.group_system">Upgrade</a>
                                <button invisible="state != 'to remove'" type="object" class="btn btn-sm btn-primary" name="button_uninstall_cancel" groups="base.group_system">Cancel Uninstall</button>
                                <button invisible="state != 'to install'" type="object" class="btn btn-sm btn-primary" name="button_install_cancel" groups="base.group_system">Cancel Install</button>
                            </footer>
                        </main>
                    </t>
                  </templates>
                </kanban>
            