<?xml version="1.0" encoding="utf-8"?>
<odoo>
    <record id="report_carbone_translate_view_list" model="ir.ui.view">
        <field name="name">report_carbone_carbone_translate_list</field>
        <field name="model">carbone.translate</field>
        <field name="arch" type="xml">
            <list>
                <field name="ir_actions_report_id"/>
                <field name="lang_id"/>
            </list>
        </field>
    </record>

    <record id="report_carbone_translate_view_form" model="ir.ui.view">
        <field name="name">report_carbone_carbone_translate_form</field>
        <field name="model">carbone.translate</field>
        <field name="arch" type="xml">
            <form>
                <sheet>
                    <group>
                        <field name="ir_actions_report_id" invisible="1"/>
                        <button
                            name="button_create_update_copy_of_translate"
                            icon="fa-refresh"
                            string="Create/update languages placeholder"
                            type="object"
                        />
                        <field name="lang_id" options="{'no_open' : True}"/>
                        <field name="carbone_translate_line_ids" nolabel="1">
                            <list editable="bottom">
                                <field name="source"/>
                                <field name="value"/>
                            </list>
                        </field>
                    </group>
                </sheet>
            </form>
        </field>
    </record>
</odoo>
