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.
 
 
 
 
 

37 lines
1.7 KiB

<?xml version="1.0" encoding="UTF-8"?>
<!--Adding color and image field in settings-->
<odoo>
<record id="res_config_settings_view_form" model="ir.ui.view">
<field name="name">res.config.settings.view.form.inherit.whatsapp.chat.layout</field>
<field name="model">res.config.settings</field>
<field name="priority" eval="0"/>
<field name="inherit_id" ref="base.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//setting[@id='activities_setting']" position="after">
<div class="col-12 col-lg-6 o_setting_box">
<div class="o_setting_right_pane">
<label for="background_color"/>
<div class="text-muted">
Select the Background color for discuss.
</div>
<field name="background_color" widget="color"/>
</div>
<div class="o_setting_right_pane">
<label for="layout_color"/>
<div class="text-muted">
Select the Layout color for discuss.
</div>
<field name="layout_color" widget="color"/>
</div>
<div class="o_setting_right_pane">
<label for="chat_background" class="ml-4" required="1"/>
<div class="text-muted">
Select the Background image for discuss.
</div>
<field name="chat_background" widget="image"/>
</div>
</div>
</xpath>
</field>
</record>
</odoo>