<?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.model.access" id="access_ir_sequence_type">
            <field name="model">ir.sequence.type</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_ir_sequence_type_admin">
            <field name="model">ir.sequence.type</field>
            <field name="group" ref="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.model.access" id="access_ir_ui_icon">
            <field name="model">ir.ui.icon</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_ir_ui_icon_admin">
            <field name="model">ir.ui.icon</field>
            <field name="group" ref="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.model.access" id="access_ir_ui_menu">
            <field name="model">ir.ui.menu</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_ir_ui_menu_admin">
            <field name="model">ir.ui.menu</field>
            <field name="group" ref="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.model.access" id="access_ir_ui_menu_favorite">
            <field name="model">ir.ui.menu.favorite</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_ir_ui_menu_favorite_admin">
            <field name="model">ir.ui.menu.favorite</field>
            <field name="group" ref="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.model.access" id="access_ir_ui_view">
            <field name="model">ir.ui.view</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_ir_ui_view_admin">
            <field name="model">ir.ui.view</field>
            <field name="group" ref="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.model.access" id="access_ir_action">
            <field name="model">ir.action</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_ir_action_admin">
            <field name="model">ir.action</field>
            <field name="group" ref="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.model.access" id="access_ir_model">
            <field name="model">ir.model</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_ir_model_admin">
            <field name="model">ir.model</field>
            <field name="group" ref="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.model.access" id="access_ir_model_data">
            <field name="model">ir.model.data</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_ir_model_log">
            <field name="model">ir.model.log</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_ir_cron">
            <field name="model">ir.cron</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_ir_cron_admin">
            <field name="model">ir.cron</field>
            <field name="group" ref="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.model.access" id="access_ir_queue">
            <field name="model">ir.queue</field>
            <field name="perm_read" eval="False"/>
            <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_ir_queue_admin">
            <field name="model">ir.queue</field>
            <field name="group" ref="group_admin"/>
            <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_ir_lang">
            <field name="model">ir.lang</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_ir_lang_admin">
            <field name="model">ir.lang</field>
            <field name="group" ref="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.model.access" id="access_ir_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_ir_translation_admin">
            <field name="model">ir.translation</field>
            <field name="group" ref="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.model.access" id="access_ir_rule_group">
            <field name="model">ir.rule.group</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_ir_rule_group_admin">
            <field name="model">ir.rule.group</field>
            <field name="group" ref="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.model.access" id="access_ir_module">
            <field name="model">ir.module</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_ir_module_admin">
            <field name="model">ir.module</field>
            <field name="group" ref="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.model.access" id="access_ir_trigger">
            <field name="model">ir.trigger</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_ir_trigger_admin">
            <field name="model">ir.trigger</field>
            <field name="group" ref="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.rule.group" id="rule_group_menu">
            <field name="name">User in groups</field>
            <field name="model">ir.ui.menu</field>
            <field name="global_p" eval="True"/>
        </record>
        <record model="ir.rule" id="rule_menu1">
            <field name="domain"
                eval="[('groups', 'in', Eval('groups', []))]"
                pyson="1"/>
            <field name="rule_group" ref="rule_group_menu"/>
        </record>
        <record model="ir.rule" id="rule_menu2">
            <field name="domain" eval="[('groups', '=', None)]" pyson="1"/>
            <field name="rule_group" ref="rule_group_menu"/>
        </record>
        <record model="ir.rule.group" id="rule_group_action">
            <field name="name">User in groups</field>
            <field name="model">ir.action</field>
            <field name="global_p" eval="True"/>
        </record>
        <record model="ir.rule" id="rule_action1">
            <field name="domain"
                eval="[('groups', 'in', Eval('groups', []))]"
                pyson="1"/>
            <field name="rule_group" ref="rule_group_action"/>
        </record>
        <record model="ir.rule" id="rule_action2">
            <field name="domain" eval="[('groups', '=', None)]" pyson="1"/>
            <field name="rule_group" ref="rule_group_action"/>
        </record>

        <record model="ir.action-res.group" id="act_module_activate_upgrade_group_admin">
            <field name="action" ref="ir.act_module_activate_upgrade"/>
            <field name="group" ref="group_admin"/>
        </record>
        <record model="ir.action-res.group" id="act_translation_update_group_admin">
            <field name="action" ref="ir.act_translation_update"/>
            <field name="group" ref="group_admin"/>
        </record>
        <record model="ir.action-res.group" id="act_translation_export_group_admin">
            <field name="action" ref="ir.act_translation_export"/>
            <field name="group" ref="group_admin"/>
        </record>
        <record model="ir.action-res.group" id="act_lang_config">
            <field name="action" ref="ir.act_lang_config"/>
            <field name="group" ref="group_admin"/>
        </record>

        <record model="ir.ui.menu-res.group" id="menu_administration_group_admin">
            <field name="menu" ref="ir.menu_administration"/>
            <field name="group" ref="group_admin"/>
        </record>

        <record model="ir.model.button-res.group"
            id="module_activate_button_group_admin">
            <field name="button" ref="ir.module_activate_button"/>
            <field name="group" ref="group_admin"/>
        </record>
        <record model="ir.model.button-res.group"
            id="module_activate_cancel_button_group_admin">
            <field name="button" ref="ir.module_activate_cancel_button"/>
            <field name="group" ref="group_admin"/>
        </record>
        <record model="ir.model.button-res.group"
            id="module_deactivate_button_group_admin">
            <field name="button" ref="ir.module_deactivate_button"/>
            <field name="group" ref="group_admin"/>
        </record>
        <record model="ir.model.button-res.group"
            id="module_deactivate_cancel_button_group_admin">
            <field name="button" ref="ir.module_deactivate_cancel_button"/>
            <field name="group" ref="group_admin"/>
        </record>
        <record model="ir.model.button-res.group"
            id="module_upgrade_button_group_admin">
            <field name="button" ref="ir.module_upgrade_button"/>
            <field name="group" ref="group_admin"/>
        </record>
        <record model="ir.model.button-res.group"
            id="module_upgrade_cancel_button_group_admin">
            <field name="button" ref="ir.module_upgrade_cancel_button"/>
            <field name="group" ref="group_admin"/>
        </record>
        <record model="ir.model.button-res.group"
            id="cron_run_once_button_group_admin">
            <field name="button" ref="ir.cron_run_once_button"/>
            <field name="group" ref="group_admin"/>
        </record>
        <record model="ir.model.button-res.group"
            id="model_data_sync_button_group_admin">
            <field name="button" ref="ir.model_data_sync_button"/>
            <field name="group" ref="group_admin"/>
        </record>
        <record model="ir.model.button-res.group"
            id="view_show_button_group_admin">
            <field name="button" ref="ir.view_show_button"/>
            <field name="group" ref="group_admin"/>
        </record>

        <record model="ir.ui.view" id="sequence_type_view_form">
          <field name="model">ir.sequence.type</field>
          <field name="inherit" ref="ir.sequence_type_view_form"/>
          <field name="name">sequence_type_form</field>
        </record>

        <record model="ir.rule.group" id="rule_group_sequence">
            <field name="name">User in groups</field>
            <field name="model">ir.sequence</field>
            <field name="global_p" eval="True"/>
            <field name="perm_read" eval="False"/>
        </record>
        <record model="ir.rule" id="rule_sequence">
            <field name="domain"
                eval="[('sequence_type.groups', 'in', Eval('groups', []))]"
                pyson="1"/>
            <field name="rule_group" ref="rule_group_sequence"/>
        </record>

        <record model="ir.rule.group" id="rule_group_sequence_strict">
            <field name="name">User in groups</field>
            <field name="model">ir.sequence.strict</field>
            <field name="global_p" eval="True"/>
            <field name="perm_read" eval="False"/>
        </record>
        <record model="ir.rule" id="rule_sequence_strict">
            <field name="domain"
                eval="[('sequence_type.groups', 'in', Eval('groups', []))]"
                pyson="1"/>
            <field name="rule_group" ref="rule_group_sequence_strict"/>
        </record>

        <record model="ir.cron" id="cron_trigger_time">
            <field name="method">ir.trigger|trigger_time</field>
            <field name="interval_number" eval="5"/>
            <field name="interval_type">minutes</field>
        </record>

        <record model="ir.model.access" id="rule_default_view_tree_state">
            <field name="model">ir.ui.view_tree_state</field>
            <field name="perm_read" eval="False" />
            <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="rule_group_view_tree_state">
            <field name="model">ir.ui.view_tree_state</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.model.access" id="access_ir_ui_view_search">
            <field name="model">ir.ui.view_search</field>
            <field name="perm_read" eval="False" />
            <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_ir_ui_view_search_admin">
            <field name="model">ir.ui.view_search</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.model.access" id="access_message">
            <field name="model">ir.message</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_message_group_admin">
            <field name="model">ir.message</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.ui.view" id="export_view_form">
            <field name="model">ir.export</field>
            <field name="inherit" ref="ir.export_view_form"/>
            <field name="name">export_form</field>
        </record>

        <record model="ir.ui.view" id="export_view_list">
            <field name="model">ir.export</field>
            <field name="inherit" ref="ir.export_view_tree"/>
            <field name="name">export_list</field>
        </record>

        <record model="ir.model.access" id="access_ir_export">
            <field name="model">ir.export</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_ir_export_admin">
            <field name="model">ir.export</field>
            <field name="group" ref="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.model.access" id="access_ir_email_template">
            <field name="model">ir.email.template</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_ir_email_template_admin">
            <field name="model">ir.email.template</field>
            <field name="group" ref="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.model.access" id="access_ir_error">
            <field name="model">ir.error</field>
            <field name="perm_read" eval="False"/>
            <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_ir_error_admin">
            <field name="model">ir.error</field>
            <field name="group" ref="group_admin"/>
            <field name="perm_read" eval="True"/>
            <field name="perm_write" eval="True"/>
            <field name="perm_create" eval="False"/>
            <field name="perm_delete" eval="True"/>
        </record>
    </data>
</tryton>
