You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

30 lines
1.4 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<!-- Inherit res config settings to add a field-->
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.hide.chatter</field>
<field name="model">res.config.settings</field>
<field name="priority" eval="90"/>
<field name="inherit_id" ref="base_setup.res_config_settings_view_form"/>
<field name="arch" type="xml">
<!-- Adding a Many2 many field to add models whose chatter
should be disabled -->
<xpath expr="//div[@name='users_setting_container']"
position="inside">
<div class="col-12 col-lg-6 o_setting_box" id="disable_chatter">
<div class="o_setting_left_pane"/>
<div class="o_setting_right_pane">
<span class="o_form_label">Disable Chatter</span>
<div class="text-muted">Choose the models to hide the
chatter.
<div class="text-muted content-group mt16">
<field name="model_ids"
widget="many2many_tags"/>
</div>
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>