<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="save_as_template_wizard_form" model="ir.ui.view">
        <field name="name">sale.order.save.template.wizard.form</field>
        <field name="model">sale.order.save.template.wizard</field>
        <field name="arch" type="xml">
            <form string="Save as Template">
                <group>
                    <field name="sale_order_id" invisible="1"/>
                    <field name="template_name" placeholder="e.g. Standard IT Equipment Package"/>
                    <field name="number_of_days"/>
                    <field name="note" placeholder="Optional terms and conditions..."/>
                </group>
                <footer>
                    <button name="action_save_as_template"
                            type="object"
                            string="Save Template"
                            class="btn-primary"/>
                    <button string="Cancel" class="btn-secondary" special="cancel"/>
                </footer>
            </form>
        </field>
    </record>
</odoo>
