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.
27 lines
1.3 KiB
27 lines
1.3 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<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 Many2many field to add models whose chatter should be disabled -->
|
|
<xpath expr="//div[@id='invite_users']" position="inside">
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<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>
|
|
|