1
0
forked from Mapan/odoo17e
odoo17e-kedaikipas58/addons/social/views/res_config_settings_views.xml
2024-12-10 09:04:09 +07:00

35 lines
1.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="action_social_global_settings" model="ir.actions.act_window">
<field name="name">Settings</field>
<field name="res_model">res.config.settings</field>
<field name="view_mode">form</field>
<field name="target">inline</field>
<field name="context">{'module' : 'social', 'bin_size': False}</field>
</record>
<record id="menu_social_global_settings" model="ir.ui.menu">
<field name="action" ref="action_social_global_settings" />
</record>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.social</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//form" position="inside">
<t groups="social.group_social_manager">
<app data-string="Social Media" string="Social Media" name="social" groups="base.group_no_one">
<block title="Demo Mode">
<setting help="Enable this option and load demo data to test the social module. This must never be used on a production database!">
<field name="module_social_demo"/>
</setting>
</block>
<block title="Developer Accounts" help="Use your own Developer Accounts on our Social app. Those credentials are provided in the developer section of your professional social media account." class="o_social_developer_settings"></block>
</app>
</t>
</xpath>
</field>
</record>
</odoo>