<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
    <data>
        <record model="ir.ui.view" id="translation_view_form">
            <field name="model">ir.translation</field>
            <field name="type">form</field>
            <field name="name">translation_form</field>
        </record>
        <record model="ir.ui.view" id="translation_view_tree">
            <field name="model">ir.translation</field>
            <field name="type">tree</field>
            <field name="name">translation_list</field>
        </record>
        <record model="ir.action.act_window" id="act_translation_form">
            <field name="name">Translations</field>
            <field name="res_model">ir.translation</field>
            <field name="domain" eval="None"/>
        </record>
        <record model="ir.action.act_window.domain"
            id="act_translation_form_domain_module">
            <field name="name">Modules</field>
            <field name="sequence" eval="10"/>
            <field name="domain" eval="[('module', '!=', None)]" pyson="1"/>
            <field name="act_window" ref="act_translation_form"/>
        </record>
        <record model="ir.action.act_window.domain"
            id="act_translation_form_domain_local">
            <field name="name">Local</field>
            <field name="sequence" eval="20"/>
            <field name="domain" eval="[('module', '=', None)]" pyson="1"/>
            <field name="act_window" ref="act_translation_form"/>
        </record>
        <record model="ir.action.act_window.view"
            id="act_translation_form_view1">
            <field name="sequence" eval="1"/>
            <field name="view" ref="translation_view_tree"/>
            <field name="act_window" ref="act_translation_form"/>
        </record>
        <record model="ir.action.act_window.view"
            id="act_translation_form_view2">
            <field name="sequence" eval="2"/>
            <field name="view" ref="translation_view_form"/>
            <field name="act_window" ref="act_translation_form"/>
        </record>
        <menuitem
            parent="menu_localization"
            action="act_translation_form"
            sequence="20"
            id="menu_translation_form"/>

        <record model="ir.model.access" id="access_translation">
            <field name="model">ir.translation</field>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="False"/>
            <field name="perm_create" eval="False"/>
            <field name="perm_delete" eval="False"/>
        </record>
        <record model="ir.model.access" id="access_translation_admin">
            <field name="model">ir.translation</field>
            <field name="group" ref="res.group_admin"/>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="True"/>
            <field name="perm_create" eval="True"/>
            <field name="perm_delete" eval="True"/>
        </record>

        <record model="ir.action.wizard" id="wizard_translation_report">
            <field name="name">Translations</field>
            <field name="wiz_name">ir.translation.report</field>
            <field name="model">ir.action.report</field>
        </record>
        <record model="ir.action.keyword" id="wizard_translation_report_keyword1">
            <field name="keyword">form_relate</field>
            <field name="model">ir.action.report,-1</field>
            <field name="action" ref="wizard_translation_report"/>
        </record>
        <record model="ir.action.act_window" id="act_translation_report">
            <field name="name">Translations</field>
            <field name="res_model">ir.translation</field>
        </record>

        <record model="ir.ui.view" id="translation_set_start_view_form">
            <field name="model">ir.translation.set.start</field>
            <field name="type">form</field>
            <field name="name">translation_set_start_form</field>
        </record>

        <record model="ir.ui.view" id="translation_set_succeed_view_form">
            <field name="model">ir.translation.set.succeed</field>
            <field name="type">form</field>
            <field name="name">translation_set_succeed_form</field>
        </record>

        <record model="ir.action.wizard" id="act_translation_set">
            <field name="name">Set Translations</field>
            <field name="wiz_name">ir.translation.set</field>
        </record>
        <record model="ir.action.keyword"
            id="act_translation_set_keyword_report">
            <field name="keyword">form_action</field>
            <field name="model">ir.action.report,-1</field>
            <field name="action" ref="act_translation_set"/>
        </record>
        <record model="ir.action.keyword"
            id="act_translation_set_keyword_view">
            <field name="keyword">form_action</field>
            <field name="model">ir.ui.view,-1</field>
            <field name="action" ref="act_translation_set"/>
        </record>
        <menuitem
            parent="menu_localization"
            action="act_translation_set"
            sequence="90"
            id="menu_translation_set"/>

        <record model="ir.ui.view" id="translation_clean_start_view_form">
            <field name="model">ir.translation.clean.start</field>
            <field name="type">form</field>
            <field name="name">translation_clean_start_form</field>
        </record>

        <record model="ir.ui.view" id="translation_clean_succeed_view_form">
            <field name="model">ir.translation.clean.succeed</field>
            <field name="type">form</field>
            <field name="name">translation_clean_succeed_form</field>
        </record>

        <record model="ir.action.wizard" id="act_translation_clean">
            <field name="name">Clean Translations</field>
            <field name="wiz_name">ir.translation.clean</field>
        </record>
        <menuitem
            parent="menu_localization"
            action="act_translation_clean"
            sequence="91"
            id="menu_translation_clean"/>

        <record model="ir.ui.view" id="translation_update_start_view_form">
            <field name="model">ir.translation.update.start</field>
            <field name="type">form</field>
            <field name="name">translation_update_start_form</field>
        </record>

        <record model="ir.action.wizard" id="act_translation_update">
            <field name="name">Synchronize Translations</field>
            <field name="wiz_name">ir.translation.update</field>
        </record>
        <record model="ir.action-res.group" id="act_translation_update_group_admin">
            <field name="action" ref="act_translation_update"/>
            <field name="group" ref="res.group_admin"/>
        </record>
        <record model="ir.action.keyword"
            id="act_translation_update_keyword_report">
            <field name="keyword">form_action</field>
            <field name="model">ir.action.report,-1</field>
            <field name="action" ref="act_translation_update"/>
        </record>
        <record model="ir.action.keyword"
            id="act_translation_update_keyword_view">
            <field name="keyword">form_action</field>
            <field name="model">ir.ui.view,-1</field>
            <field name="action" ref="act_translation_update"/>
        </record>
        <menuitem
            parent="menu_localization"
            action="act_translation_update"
            sequence="92"
            id="menu_translation_update"/>

        <record model="ir.ui.view" id="translation_export_start_view_form">
            <field name="model">ir.translation.export.start</field>
            <field name="type">form</field>
            <field name="name">translation_export_start_form</field>
        </record>

        <record model="ir.ui.view" id="translation_export_result_view_form">
            <field name="model">ir.translation.export.result</field>
            <field name="type">form</field>
            <field name="name">translation_export_result_form</field>
        </record>

        <record model="ir.action.wizard" id="act_translation_export">
            <field name="name">Export Translations</field>
            <field name="wiz_name">ir.translation.export</field>
        </record>
        <record model="ir.action-res.group" id="act_translation_export_group_admin">
            <field name="action" ref="act_translation_export"/>
            <field name="group" ref="res.group_admin"/>
        </record>
        <menuitem
            parent="menu_localization"
            action="act_translation_export"
            sequence="93"
            id="menu_translation_export"/>
    </data>
</tryton>
