<?xml version="1.0" encoding="utf-8"?>
<odoo>

    <record id="view_serial_scan_wizard_form" model="ir.ui.view">
        <field name="name">fusion.serial.scan.wizard.form</field>
        <field name="model">fusion.serial.scan.wizard</field>
        <field name="arch" type="xml">
            <form string="Serial Number Scan Results">
                <group>
                    <field name="picking_id" readonly="1"/>
                    <field name="scan_summary" readonly="1"/>
                </group>
                <field name="line_ids" readonly="1" nolabel="1">
                    <list>
                        <field name="serial_text" string="Serial Number"/>
                        <field name="source" string="Found In"/>
                        <field name="found_in_system" widget="boolean"
                               decoration-success="found_in_system"
                               decoration-danger="not found_in_system"/>
                        <field name="matched_product" widget="boolean"
                               string="Matches Transfer"
                               decoration-success="matched_product"/>
                        <field name="lot_id" string="Matched Lot"/>
                        <field name="lot_product_name" string="Lot Product"/>
                    </list>
                </field>
                <footer>
                    <button string="Close" class="btn-primary" special="cancel"/>
                </footer>
            </form>
        </field>
    </record>

</odoo>
