Before that, the breadcrumb used the name of the action called to access the settings view, which sometimes did no correspond with the settings tab that was actually used.
90 lines
5.2 KiB
XML
90 lines
5.2 KiB
XML
<?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.project</field>
|
|
<field name="model">res.config.settings</field>
|
|
<field name="priority" eval="50"/>
|
|
<field name="inherit_id" ref="base.res_config_settings_view_form" />
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[hasclass('settings')]" position="inside">
|
|
<div class="app_settings_block" data-string="Project" data-key="project" groups="project.group_project_manager">
|
|
<h2>Task Management</h2>
|
|
<div class="row mt16 o_settings_container" title="This replaces task's description text field by a collaborative rich text pad. This is advised if tasks involve several people.">
|
|
<div id="use_collaborative_pad" class="col-xs-12 col-md-6 o_setting_box" title="Lets the company customize which Pad installation should be used to link to new pads (for example: http://etherpad.com/).">
|
|
<div class="o_setting_left_pane">
|
|
<field name="module_pad"/>
|
|
</div>
|
|
<div class="o_setting_right_pane" name="pad_project_right_pane">
|
|
<label for="module_pad"/>
|
|
<div class="text-muted">
|
|
Use collaborative rich text pads on tasks
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-12 col-md-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="group_subtask_project"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="group_subtask_project"/>
|
|
<div class="text-muted">
|
|
Split your tasks to organize your work into sub-milestones
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-12 col-md-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="module_rating_project"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="module_rating_project"/>
|
|
<div class="text-muted">
|
|
Track customer satisfaction on tasks
|
|
</div>
|
|
<div class="content-group" id="msg_module_rating_project"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h2>Time Management</h2>
|
|
<div class="row mt16 o_settings_container">
|
|
<div class="col-xs-12 col-md-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="module_hr_timesheet"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="module_hr_timesheet"/>
|
|
<div class="text-muted">
|
|
Track time spent on projects and tasks
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-12 col-md-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="module_project_forecast" widget="upgrade_boolean"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="module_project_forecast"/>
|
|
<div class="text-muted">
|
|
Manage your resources with Gantt charts
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="project_config_settings_action" model="ir.actions.act_window">
|
|
<field name="name">Settings</field>
|
|
<field name="type">ir.actions.act_window</field>
|
|
<field name="res_model">res.config.settings</field>
|
|
<field name="view_mode">form</field>
|
|
<field name="target">inline</field>
|
|
<field name="context">{'module' : 'project'}</field>
|
|
</record>
|
|
|
|
<menuitem id="project_config_settings_menu_action" name="Settings" parent="menu_project_config"
|
|
sequence="0" action="project_config_settings_action" groups="base.group_system"/>
|
|
</odoo>
|