mirror of
https://github.com/bringout/oca-project.git
synced 2026-04-18 13:22:06 +02:00
🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
93 lines
4.9 KiB
XML
93 lines
4.9 KiB
XML
<?xml version="1.0" encoding="UTF-8" ?>
|
|
<!--
|
|
Copyright 2018-2019 Brainbean Apps (https://brainbeanapps.com)
|
|
License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl).
|
|
-->
|
|
<odoo>
|
|
<record id="res_config_settings_view_form" model="ir.ui.view">
|
|
<field name="name">res.config.settings.view.form.project_role</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">
|
|
<div name="section_roles_and_assignments">
|
|
<h2>Roles & Assignments</h2>
|
|
<div class="row mt16 o_settings_container">
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<span class="o_form_label">Project Roles</span>
|
|
<span
|
|
class="fa fa-lg fa-building-o"
|
|
title="Values set here are company-specific."
|
|
role="img"
|
|
aria-label="Values set here are company-specific."
|
|
groups="base.group_multi_company"
|
|
/>
|
|
<div class="text-muted">
|
|
Configure set of roles, available on projects.
|
|
</div>
|
|
<div class="content-group">
|
|
<div class="mt16">
|
|
<button
|
|
name="%(project_role.company_project_roles_action)d"
|
|
string="Setup project roles"
|
|
type="action"
|
|
class="btn-link"
|
|
icon="fa-arrow-right"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row o_settings_container">
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="project_inherit_assignments" />
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label
|
|
for="project_inherit_assignments"
|
|
string="Projects inherit Company assignments"
|
|
/>
|
|
<span
|
|
class="fa fa-lg fa-building-o"
|
|
title="Values set here are company-specific."
|
|
role="img"
|
|
aria-label="Values set here are company-specific."
|
|
groups="base.group_multi_company"
|
|
/>
|
|
<div class="text-muted">
|
|
Check to configure projects to inherit company assignments by default.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-12 col-lg-6 o_setting_box">
|
|
<div class="o_setting_left_pane">
|
|
<field name="project_limit_role_to_assignments" />
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label
|
|
for="project_limit_role_to_assignments"
|
|
string="Limit Project Role to Assignments"
|
|
/>
|
|
<span
|
|
class="fa fa-lg fa-building-o"
|
|
title="Values set here are company-specific."
|
|
role="img"
|
|
aria-label="Values set here are company-specific."
|
|
groups="base.group_multi_company"
|
|
/>
|
|
<div class="text-muted">
|
|
Check to configure projects to limit role to assignments by default.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
</odoo>
|