diff options
| author | Hardik Prajapati <hpr@odoo.com> | 2020-04-07 12:15:57 +0000 |
|---|---|---|
| committer | Yannick Tivisse <yti@odoo.com> | 2020-06-24 11:10:33 +0000 |
| commit | 63cbe8678a35ddfbdeed731b1da28fa5a3b71173 (patch) | |
| tree | 4e1e8cd33c5cd828ffc87accadd85f00102b9690 /addons/project | |
| parent | fdc20d13bb6c4f22bcfcf88384f8a13a2cb4b005 (diff) | |
[IMP] project,sale,hr(_timesheet): Generic improments for project
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>
Diffstat (limited to 'addons/project')
| -rw-r--r-- | addons/project/__manifest__.py | 2 | ||||
| -rw-r--r-- | addons/project/models/project.py | 2 | ||||
| -rw-r--r-- | addons/project/views/project_views.xml | 8 | ||||
| -rw-r--r-- | addons/project/views/res_config_settings_views.xml | 2 |
4 files changed, 9 insertions, 5 deletions
diff --git a/addons/project/__manifest__.py b/addons/project/__manifest__.py index d727cf9cfc2..34a7624b63b 100644 --- a/addons/project/__manifest__.py +++ b/addons/project/__manifest__.py @@ -7,7 +7,7 @@ 'website': 'https://www.odoo.com/page/project-management', 'category': 'Services/Project', 'sequence': 10, - 'summary': 'Organize and schedule your projects ', + 'summary': 'Organize and plan your projects', 'depends': [ 'analytic', 'base_setup', diff --git a/addons/project/models/project.py b/addons/project/models/project.py index 5136aa13116..4ab3f1380b3 100644 --- a/addons/project/models/project.py +++ b/addons/project/models/project.py @@ -29,7 +29,7 @@ class ProjectTaskType(models.Model): 'Red Kanban Label', default=lambda s: _('Blocked'), translate=True, required=True, help='Override the default value displayed for the blocked state for kanban selection, when the task or issue is in that stage.') legend_done = fields.Char( - 'Green Kanban Label', default=lambda s: _('Ready for Next Stage'), translate=True, required=True, + 'Green Kanban Label', default=lambda s: _('Ready'), translate=True, required=True, help='Override the default value displayed for the done state for kanban selection, when the task or issue is in that stage.') legend_normal = fields.Char( 'Grey Kanban Label', default=lambda s: _('In Progress'), translate=True, required=True, diff --git a/addons/project/views/project_views.xml b/addons/project/views/project_views.xml index 661a0ea955f..f452d6fb870 100644 --- a/addons/project/views/project_views.xml +++ b/addons/project/views/project_views.xml @@ -307,7 +307,7 @@ <field name="analytic_account_id" domain="['|', ('company_id', '=', company_id), ('company_id', '=', False)]" context="{'default_partner_id': partner_id}" groups="analytic.group_analytic_accounting"/> <field name="privacy_visibility" widget="radio"/> <field name="allowed_internal_user_ids" widget="many2many_tags" attrs="{'invisible': [('privacy_visibility', '!=', 'followers')]}"/> - <field name="allowed_portal_user_ids" widget="many2many_tags" attrs="{'invisible': [('privacy_visibility', '!=', 'portal')]}"/> + <field name="allowed_portal_user_ids" widget="many2many_tags" options="{'no_create': True}" attrs="{'invisible': [('privacy_visibility', '!=', 'portal')]}"/> <field name="company_id" groups="base.group_multi_company"/> </group> @@ -788,7 +788,11 @@ <div class="dropdown-menu" role="menu"> <a t-if="widget.editable" role="menuitem" type="set_cover" data-auto-open="1" class="dropdown-item" data-field="displayed_image_id">Set Cover Image</a> <a name="%(portal.portal_share_action)d" role="menuitem" type="action" class="dropdown-item">Share</a> - <a t-if="widget.editable" role="menuitem" type="edit" class="dropdown-item">Edit Task</a> + <a t-if="widget.editable" role="menuitem" type="edit" class="dropdown-item">Edit</a> + <a t-if="widget.editable" role="menuitem" class="dropdown-item" name="toggle_active" type="object"> + <t t-if="record.active.raw_value">Archive</t> + <t t-if="!record.active.raw_value">Restore</t> + </a> <a t-if="widget.deletable" role="menuitem" type="delete" class="dropdown-item">Delete</a> <div role="separator" class="dropdown-divider"></div> <ul class="oe_kanban_colorpicker" data-field="color"/> diff --git a/addons/project/views/res_config_settings_views.xml b/addons/project/views/res_config_settings_views.xml index 79b8e2a03cb..03db2df0758 100644 --- a/addons/project/views/res_config_settings_views.xml +++ b/addons/project/views/res_config_settings_views.xml @@ -17,7 +17,7 @@ <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 + Edit tasks' description collaboratively in real time. See each author's text in a distinct color. </div> </div> </div> |
