<commit_before><?xml version='1.0' encoding='UTF-8' ?>
<openerp>
    <data noupdate="0">

        <!-- Add web resources -->

        <template id="assets_backend" name="backend_mozaik_base" inherit_id="web.assets_backend">
            <xpath expr="." position="inside">
                <link rel="stylesheet" href="/mozaik_base/static/src/css/backend_mozaik_base.css"/>
                <script type="text/javascript" src="/mozaik_base/static/src/js/mozaik_base.js"></script>
            </xpath>
        </template>

        <template id="theme" name="frontend_mozaik_base" inherit_id="website.theme">
            <xpath expr="." position="inside">
                <link rel="stylesheet" href="/mozaik_base/static/src/css/frontend_mozaik_base.css"/>
            </xpath>
        </template>

        <template id="footer_default" inherit_id="website.footer_default"
            name="Automatic Footer (mozaik_base)">
            <xpath expr="//div[@class='container hidden-print']" position="replace">
                <div class="container hidden-print">
                    <div class="row">
                        <div class="col-md-5 col-lg-offset-1 pull-right" >
                           <ul class="list-inline js_language_selector mt16" t-if="(request.website_multilang and len(languages) &gt; 1) or editable">
                                <li t-foreach="languages" t-as="lg">
                                    <a t-att-href="url_for(request.httprequest.path + '?' + keep_query(), lang=lg[0])" t-att-data-default-lang="editable and 'true' if lg[0] == website.default_lang_code else None">
                                     <t t-esc="lg[1].split('/').pop()"/></a>
                                </li>
                                <li groups="base.group_website_publisher">
                                    <t t-set="url_return" t-value="url_for('', '[lang]') + '?' + keep_query()"/>
                                    <a t-attf-href="/web#action=base.action_view_base_language_install&amp;website_id=#{website.id}&amp;url_return=#{url_return}">
                                    <i class="fa fa-plus-circle"/>
                                    Add a language...
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </xpath>
        </template>

        <template id="layout_footer_copyright" inherit_id="website.layout_footer_copyright"
            name="Footer Copyright (mozaik_base)">
            <xpath expr="//div[@class='container mt16 mb8']" position="replace" />
        </template>

        <!-- Persons -->

        <menuitem id="persons_root_menu" name="Persons"
                  sequence="10" groups="res_groups_base" />

        <menuitem id="persons_configuration_submenu" name="Configuration"
                  sequence="99" parent="persons_root_menu" groups="mozaik_base.mozaik_res_groups_configurator" />

        <menuitem id="localization_submenu" name="Localization"
                  sequence="40" parent="persons_configuration_submenu" />

        <menuitem id="persons_titles_submenu" name="Titles"
                  sequence="60" parent="persons_configuration_submenu" />

        <!-- Membership -->

        <menuitem id="membership_root_menu" name="Membership"
                  sequence="12" groups="res_groups_base"/>

        <!-- Communication -->

        <menuitem id="communication_root_menu" name="Communication"
                  sequence="14" groups="res_groups_base"/>

        <!-- Mandates -->

        <menuitem id="mandates_root_menu" name="Mandates"
                  sequence="30" groups="res_groups_base" />

        <!-- Structures -->

        <menuitem id="structures_root_menu" name="Structures"
                  sequence="32" groups="res_groups_base" />

        <!-- Re-base standard menus -->

        <menuitem id="res_partner_category_menu" action="base.action_partner_category_form"
                  sequence="50" parent="persons_configuration_submenu" />

        <menuitem id="res_country_menu" action="base.action_country"
                  sequence="50" parent="localization_submenu" />

        <menuitem id="res_partner_natural_title_menu" action="base.action_partner_title_contact"
                  sequence="10" parent="persons_titles_submenu" />

        <menuitem id="res_partner_legal_title_menu" action="base.action_partner_title_partner"
                  sequence="20" parent="persons_titles_submenu" />

        <record id="mail.mail_feeds" model="ir.ui.menu">
            <field name="parent_id" ref="communication_root_menu" />
            <field name="sequence">5</field>
            <field name="groups_id" eval="[(6, 0, [
                ref('mozaik_base.mozaik_res_groups_user'),
            ])]" />
        </record>

        <record id="help_online.menu_help_main" model="ir.ui.menu">
            <field name="name">Help</field>
            <field name="sequence">390</field>
            <field name="groups_id" eval="[(5, 0, 0)]" />
        </record>

        <record id="help_online.menu_help" model="ir.ui.menu">
            <field name="groups_id" eval="[(5, 0, 0)]" />
        </record>

        <record id="help_toc_action" model="ir.actions.act_url">
            <field name="name">Table of Contents</field>
            <field name="url">/page/mozaik-help-toc</field>
            <field name="target">self</field>
        </record>

        <menuitem id="help_toc_menu" action="help_toc_action"
                  name="Table of Contents"
                  sequence="50" parent="help_online.menu_help"
                  groups="help_online.help_online_group_reader" />
                  
		<!-- Show Menu Connector and Reporting for Mozaik officer group -->
		
        <record id="connector.menu_connector_root" model="ir.ui.menu">
            <field name="sequence">350</field>
            <field name="groups_id" eval="[(6, 0, [
                ref('mozaik_res_groups_officer'),
            ])]" />
        </record>
        
        <record id="base.menu_reporting" model="ir.ui.menu">
            <field name="sequence">170</field>
            <field name="groups_id" eval="[(6, 0, [
                ref('mozaik_res_groups_officer'),
            ])]" />
        </record>

        <record id="event.act_register_event_partner" model="ir.actions.act_window">
            <field name="groups_id" eval="[(6, 0, [
                ref('mozaik_base.mozaik_res_groups_user'),
            ])]" />
        </record>

        <!-- Hide standard menus --><commit_msg>[CHG] Remove rules for connector already existing; #refs 40195<commit_after><?xml version='1.0' encoding='UTF-8' ?>
<openerp>
    <data noupdate="0">

        <!-- Add web resources -->

        <template id="assets_backend" name="backend_mozaik_base" inherit_id="web.assets_backend">
            <xpath expr="." position="inside">
                <link rel="stylesheet" href="/mozaik_base/static/src/css/backend_mozaik_base.css"/>
                <script type="text/javascript" src="/mozaik_base/static/src/js/mozaik_base.js"></script>
            </xpath>
        </template>

        <template id="theme" name="frontend_mozaik_base" inherit_id="website.theme">
            <xpath expr="." position="inside">
                <link rel="stylesheet" href="/mozaik_base/static/src/css/frontend_mozaik_base.css"/>
            </xpath>
        </template>

        <template id="footer_default" inherit_id="website.footer_default"
            name="Automatic Footer (mozaik_base)">
            <xpath expr="//div[@class='container hidden-print']" position="replace">
                <div class="container hidden-print">
                    <div class="row">
                        <div class="col-md-5 col-lg-offset-1 pull-right" >
                           <ul class="list-inline js_language_selector mt16" t-if="(request.website_multilang and len(languages) &gt; 1) or editable">
                                <li t-foreach="languages" t-as="lg">
                                    <a t-att-href="url_for(request.httprequest.path + '?' + keep_query(), lang=lg[0])" t-att-data-default-lang="editable and 'true' if lg[0] == website.default_lang_code else None">
                                     <t t-esc="lg[1].split('/').pop()"/></a>
                                </li>
                                <li groups="base.group_website_publisher">
                                    <t t-set="url_return" t-value="url_for('', '[lang]') + '?' + keep_query()"/>
                                    <a t-attf-href="/web#action=base.action_view_base_language_install&amp;website_id=#{website.id}&amp;url_return=#{url_return}">
                                    <i class="fa fa-plus-circle"/>
                                    Add a language...
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </xpath>
        </template>

        <template id="layout_footer_copyright" inherit_id="website.layout_footer_copyright"
            name="Footer Copyright (mozaik_base)">
            <xpath expr="//div[@class='container mt16 mb8']" position="replace" />
        </template>

        <!-- Persons -->

        <menuitem id="persons_root_menu" name="Persons"
                  sequence="10" groups="res_groups_base" />

        <menuitem id="persons_configuration_submenu" name="Configuration"
                  sequence="99" parent="persons_root_menu" groups="mozaik_base.mozaik_res_groups_configurator" />

        <menuitem id="localization_submenu" name="Localization"
                  sequence="40" parent="persons_configuration_submenu" />

        <menuitem id="persons_titles_submenu" name="Titles"
                  sequence="60" parent="persons_configuration_submenu" />

        <!-- Membership -->

        <menuitem id="membership_root_menu" name="Membership"
                  sequence="12" groups="res_groups_base"/>

        <!-- Communication -->

        <menuitem id="communication_root_menu" name="Communication"
                  sequence="14" groups="res_groups_base"/>

        <!-- Mandates -->

        <menuitem id="mandates_root_menu" name="Mandates"
                  sequence="30" groups="res_groups_base" />

        <!-- Structures -->

        <menuitem id="structures_root_menu" name="Structures"
                  sequence="32" groups="res_groups_base" />

        <!-- Re-base standard menus -->

        <menuitem id="res_partner_category_menu" action="base.action_partner_category_form"
                  sequence="50" parent="persons_configuration_submenu" />

        <menuitem id="res_country_menu" action="base.action_country"
                  sequence="50" parent="localization_submenu" />

        <menuitem id="res_partner_natural_title_menu" action="base.action_partner_title_contact"
                  sequence="10" parent="persons_titles_submenu" />

        <menuitem id="res_partner_legal_title_menu" action="base.action_partner_title_partner"
                  sequence="20" parent="persons_titles_submenu" />

        <record id="mail.mail_feeds" model="ir.ui.menu">
            <field name="parent_id" ref="communication_root_menu" />
            <field name="sequence">5</field>
            <field name="groups_id" eval="[(6, 0, [
                ref('mozaik_base.mozaik_res_groups_user'),
            ])]" />
        </record>

        <record id="help_online.menu_help_main" model="ir.ui.menu">
            <field name="name">Help</field>
            <field name="sequence">390</field>
            <field name="groups_id" eval="[(5, 0, 0)]" />
        </record>

        <record id="help_online.menu_help" model="ir.ui.menu">
            <field name="groups_id" eval="[(5, 0, 0)]" />
        </record>

        <record id="help_toc_action" model="ir.actions.act_url">
            <field name="name">Table of Contents</field>
            <field name="url">/page/mozaik-help-toc</field>
            <field name="target">self</field>
        </record>

        <menuitem id="help_toc_menu" action="help_toc_action"
                  name="Table of Contents"
                  sequence="50" parent="help_online.menu_help"
                  groups="help_online.help_online_group_reader" />
                  
		<!-- Show Reporting for Mozaik officer group -->
		
        <record id="connector.menu_connector_root" model="ir.ui.menu">
            <field name="sequence">350</field>
        </record>
        
        <record id="base.menu_reporting" model="ir.ui.menu">
            <field name="sequence">170</field>
            <field name="groups_id" eval="[(6, 0, [
                ref('mozaik_res_groups_officer'),
            ])]" />
        </record>

        <record id="event.act_register_event_partner" model="ir.actions.act_window">
            <field name="groups_id" eval="[(6, 0, [
                ref('mozaik_base.mozaik_res_groups_user'),
            ])]" />
        </record>

        <!-- Hide standard menus -->
{'fraction_non_alphanumeric': 0.14431110435971442, 'fraction_numerical': 0.010101777305180009, 'mean_word_length': 1.9904610492845787, 'pattern_counts': {'":': 0, '<': 202, '<?xml version=': 2, '>': 202, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '394577', 'n_tokens_mistral': 3980, 'n_tokens_neox': 3733, 'n_words': 576}