Done the below several improvement on project: - move the stage description and tooltips to the debug mode - remove the 'need assistance' tag - Change the app description in manifest file 'Organize and plan your projects.' - Change the burger menu sequence into: Edit/Delete/Share/Set Cover Image - change the description of the pad feature into, 'edit tasks description collaboratively in real time. see each author's text in a distinct color.' - add the following tooltip for the allow_billable field, 'invoice your time and material from tasks.' - add an fa-stopwatch icon in front of the Start & the Stop buttons in task's form view - rename the 'validate time spent' modal into 'confirm time spent ' + increase the size of the description field + this field should not be required - project overview: rename 'Hours recorded' into' Recorded Hours' - project form view: disable the creation for the portal users field - Rename the 'ready for next stage' kanban state into 'Ready' TaskID: 2232051 Related Enterprise PR: https://github.com/odoo/enterprise/pull/9961 closes odoo/odoo#49694 Closes: #49694 Related: odoo/enterprise#9961 Signed-off-by: Yannick Tivisse (yti) <yti@odoo.com>
47 lines
2.3 KiB
XML
47 lines
2.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
<record id="view_task_form2_inherit_pad_project" model="ir.ui.view">
|
|
<field name="name">project.task.form.inherit</field>
|
|
<field name="model">project.task</field>
|
|
<field name="inherit_id" ref="project.view_task_form2"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//field[@name='description']" position="attributes">
|
|
<attribute name="attrs">{'invisible': [('use_pad', '=', True)], 'readonly': [('use_pad', '=', True)]}</attribute>
|
|
</xpath>
|
|
<field name="description" position="after">
|
|
<field name="use_pad" invisible="1"/>
|
|
<field name="description_pad" widget="pad" attrs="{'invisible': [('use_pad', '=', False)], 'readonly': [('use_pad', '=', False)]}"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="project_project_view_form" model="ir.ui.view">
|
|
<field name="name">project.project.view.form</field>
|
|
<field name="model">project.project</field>
|
|
<field name="inherit_id" ref="project.edit_project"/>
|
|
<field name="arch" type="xml">
|
|
<xpath expr="//div[@id='rating_settings']" position="after">
|
|
<div class="col-lg-6 o_setting_box" id="pad_settings">
|
|
<div class="o_setting_left_pane">
|
|
<field name="use_pads"/>
|
|
</div>
|
|
<div class="o_setting_right_pane">
|
|
<label for="use_pads" string="Collaborative Pads"/>
|
|
<div class="text-muted">
|
|
Edit tasks' description collaboratively in real time.<br/>
|
|
See each author's text in a distinct color.
|
|
</div>
|
|
<div class="content-group" attrs="{'invisible': ['|', ('use_pads', '=', False), ('privacy_visibility', '!=', 'portal')]}">
|
|
<div class="mt16 row">
|
|
<label for="pad_availability" string="Available to:" class="col-3 col-lg-3 o_light_label"/>
|
|
<field name="pad_availability" widget="radio"/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</xpath>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|