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.
 
 
 
 
 

38 lines
1.8 KiB

<?xml version="1.0" encoding="UTF-8" ?>
<odoo>
<!-- Inherited the res.config.setting to add the fields-->
<record id="res_config_setting_view_form" model="ir.ui.view">
<field name="name">
project.task.res.config.setting.view.form.inherit.task_overdue_email_odoo
</field>
<field name="model">res.config.settings</field>
<field name="inherit_id" ref="project.res_config_settings_view_form"/>
<field name="arch" type="xml">
<xpath expr="//div[@data-key='project']" position="inside">
<h2>Task Overdue Notification</h2>
<div class="row mt16 o_settings_container">
<div class="o_setting_box o_searchable_setting col-12 col-lg-6">
<div class="col-12 col-lg-6 o_setting_box"
id="log_time_tasks_setting">
<div class="o_setting_left_pane">
<field name="notification" on_change="1"/>
</div>
<div class="o_setting_right_pane">
<label for="notification"/>
<div class="text-muted">
Overdue tasks notifications sent by email.
</div>
</div>
</div>
<div class="o_setting_right_pane"
attrs="{'invisible': [('notification','=', False)]}">
<label for="overdue_days"/>
<field name="overdue_days"/>
</div>
</div>
</div>
</xpath>
</field>
</record>
</odoo>