Commit Graph
1339 Commits
Author SHA1 Message Date
Fabien Pinckaers b913f41d06 [IMP] project: customer field visible for customer projects only 2016-05-06 14:39:03 +02:00
Christophe Simonis 0fbc92e0c4 [MERGE] forward port of branch saas-10 up to 1e86774 2016-05-04 17:09:51 +02:00
Jeremy Kersten 32aff64b85 [IMP] openerp: imp design when render default form view
When a form view had only one field, it was fullwidth.
Now we add a separator automatically. That (seems) have no
effects on model with several field and fix the display when
only one field.
2016-05-04 01:30:38 +02:00
Foram Shah d2728c0006 [IMP] account,crm,project...: Remove 'Create and Edit' from tags
List of impacted models:
-account.account
-calendar.event
-crm.lead
-fleet.vehicle
-hr.applicant
-hr.employee
-mail.mass_mailing.campaign
-note.note
-project.task
-res.partner

Add a menuitem in the Configurations for these models, visible in debug mode
2016-04-11 11:10:48 +02:00
Thibault Francois e6ac7a7d25 [ADD] project_timesheet, sale_service: support for project sub-tasks
This commit introduces "Sub-task", a concept remotely similar to
the "delegated tasks" available in version 7.0, but covering a
more specific and narrow scope.

Activating Sub-tasks
--------------------

Sub-tasks are made available within any project by configuring
a "sub-task project" in the project settings. This feature is
considered low-level and technical, and only accessible with
"Technical Features" enabled.
The "sub-task project" may be the project itself.

Using Sub-tasks
---------------

Conceptually, a sub-task represents the allocation of a part
of the scope of its parent task. Multiple sub-task levels
are possible.

Once activated in project settings, a new "Sub-tasks" smart button
will appear on the task form, giving the option to view and
create sub-tasks. In addition, a new field "Sub-tasks Hours" will
appear next to the other computed "Hours" fields, representing
the total hours allocated to sub-tasks.
(Technically, the sum of the maximum between the planned hours
and spent hours of all sub-tasks, with spent hours always used
when a task is closed)
These sub-task hours will be dynamically subtracted from the
remaining hours of the task, and will therefore affect the
task's progress as well.

Upon creation, a sub-task will inherit the link to the
original sales order and procurement from its parent task, and
will by default be assigned to the "sub-task project" set on
the project of the parent task.

Enhancement
-----------
The kanban view for tasks will now display a color-coded label
with the number of remaining hours, whenever the percentage
of remaining hours is below 20% (orange=20%-, red=1%-).

Notes
-----------
This is a forward port of 43c42b304d

Since hr_timesheet has been migrated to the new API, the forward port changes mostly consists in migrating the sub-tasks system to the new API as well.
2016-03-24 13:44:21 +01:00
Kinjal Mehta 16d993a134 [IMP] account_budget,analytic,project: Some display improvements
1/ An empty notebook was created in analytic and filled in account_budget
   That way, we had a horizontal line while the module wasn't installed yet
2/ The fields use_task and use_issue displayed on the account.analytic.account
   are just redundant information. The probable use case is to go on the project
   select the issues management on it, and it will be activated on the related
   analytic account. I don't think that anybody will come on the analytic account
   to activate the issues. So we hide them in group_no_one
3/ On the analytic account form view, display the title label only in edit mode
2016-03-23 16:35:34 +01:00
Thibault Francois 43c42b304d [ADD] project_timesheet, sale_service: support for project sub-tasks
This commit introduces "Sub-task", a concept remotely similar to
the "delegated tasks" available in version 7.0, but covering a
more specific and narrow scope.

Activating Sub-tasks
--------------------

Sub-tasks are made available within any project by configuring
a "sub-task project" in the project settings. This feature is
considered low-level and technical, and only accessible with
"Technical Features" enabled.
The "sub-task project" may be the project itself.

Using Sub-tasks
---------------

Conceptually, a sub-task represents the allocation of a part
of the scope of its parent task. Multiple sub-task levels
are possible.

Once activated in project settings, a new "Sub-tasks" smart button
will appear on the task form, giving the option to view and
create sub-tasks. In addition, a new field "Sub-tasks Hours" will
appear next to the other computed "Hours" fields, representing
the total hours allocated to sub-tasks.
(Technically, the sum of the maximum between the planned hours
and spent hours of all sub-tasks, with spent hours always used
when a task is closed)
These sub-task hours will be dynamically subtracted from the
remaining hours of the task, and will therefore affect the
task's progress as well.

Upon creation, a sub-task will inherit the link to the
original sales order and procurement from its parent task, and
will by default be assigned to the "sub-task project" set on
the project of the parent task.

Enhancement
-----------
The kanban view for tasks will now display a color-coded label
with the number of remaining hours, whenever the percentage
of remaining hours is below 20% (orange=20%-, red=1%-).

Note: This is a forward port of the commit 9eac32beea
2016-03-18 11:18:23 +01:00
Yannick Tivisse fdb3ad7082 [REM] Remove the group 'base.group_configuration'
This additional administration group was formerly used to hide
the configuration menuitems for the common users.

Being manager should be enough to access these items
2016-03-07 15:53:29 +01:00
Dhaval Panchal dc7aca3ca6 [IMP] project: favorite
A favorite system is introduced in project model. It uses a many2many between
users and projects. This allow users to favorite a project and see them by
default in their project dashboard.

The new default fitler when seeing projects is now favorited projects.
2016-03-04 15:00:54 +01:00
Mansi Trivedi 79bc3f3836 [IMP] project: Calendar view by month on project.task
Purpose:
The field date_deadline is a date field (without hours:minutes:seconds)
The customer is tempted to put the task deadline under hours, which is not
feasible

So in the calendar view for task, set the "month" view by default
instead of the "week" view.
2016-03-03 15:21:24 +01:00
Tanguy Charlier 16bf40f7c4 [IMP] hr_timesheet: Timesheet entries are now related to projects
- Hide account_id field and add a required project_id field on timesheet entries
- Remove is_timesheet field: as project_id is only required for timesheet entries and not for other analytic lines, it can be used to determine wether a line is a timeheet entry or not.
- Remove project_timesheet module as all its functionalities are moved to hr_timesheet
- Replace timesheets on contract option on products by timesheets on project
- Small fixes and improvements in timesheets and projects views and groups
2016-02-18 01:25:55 +01:00
Thibault Delavallée 0cf2ceca90 [IMP] project, issue: template on stages
Added a mail_template_field on project stage model (project.task.type). This
fields is used to automatically send an email when a task or issue comes in
this stage.

Recruitment code has been updated to use the mixin method.
2016-02-01 12:15:56 +01:00
Christophe Simonis 7e44ddcda3 [MERGE] forward port of branch saas-7 up to 6f923cb 2016-01-27 12:23:09 +01:00
Denis Ledoux 94920b43c9 [FIX] *: typo Important Messages -> Unread Messages
While this is important to read the replies
you get in the threads you follow, `Unread messages`
is more accurate to describe what these filters
displays.

opw-666739
2016-01-14 10:48:37 +01:00
Christophe Simonis eaa554f3dd [FIX] project: correct view.
Invalid (but still xml-valid) view infortunatly created by
auto-resolution of conflicts during a previous forward-port
2016-01-05 18:06:07 +01:00
Christophe Simonis 5f860a4433 [MERGE] forward port of branch saas-7 up to 31ce19b 2016-01-05 17:05:17 +01:00
Nicolas Martinelli 2f562af355 [FIX] project: project_time_mode_id in debug mode
project_time_mode_id is the timesheet UoM. However, all timesheet
widgets assume that project_time_mode_id is hours, therefore it is not
supposed to be changed.
2016-01-04 14:12:53 +01:00
Damien Bouvy 1057542f9f [IMP] project: add link from analytic account form view
Analytic accounts are inherited by project.project, and in some cases it is useful to have a link from the account to the project.

This is a usability-fix, not a code-fix
2015-12-22 15:19:05 +01:00
Christophe Simonis 82a495eed5 [MERGE] forward port of branch saas-7 up to 4022493 2015-12-10 13:05:58 +01:00
Thibault Delavallée 5e78097185 [FIX] project: search / task, go to kanban 2015-12-07 17:27:06 +01:00
Thibault Delavallée 2d8267c795 [FIX] project: task / issue menu display
Project users should have acces to the Search menu in project. Indeed it
contains the tasks and issues menu entries, allowing to directly jump
to a custom list of task / issues.
2015-12-07 17:27:05 +01:00
Thibault Delavallée 2210a684e3 [FIX] project: project and stage views
project.project: alias should be visible without being in technical group.
Indeed the alias is displayed in the kanban view. However in order to edit
it the user has to go into technical mode, which is confusing. The alias
is now displayed in the form view, but advanced alias configuration is still
in technical group.

project.stage: show projects using the stage. Without that field it is quite
impossible to configure the use of stages in the project application.
2015-12-02 11:34:03 +01:00
Christophe Simonis f61cfaefc8 [MERGE] forward port of branch saas-7 up to 572cbfc 2015-11-25 16:43:19 +01:00
Christophe Simonis 56a442e205 [MERGE] forward port of branch saas-6 up to dade7e3 2015-11-25 13:26:02 +01:00
Denis Ledoux 13e1f7afac [MERGE] forward port of branch 8.0 up to 3e03cfe 2015-11-24 16:51:45 +01:00
Thibault Delavallée 8fa7318178 [FIX] project, issue: change user_id + date_start
project.task: use an onchange to update date_start when changing user_id.
Indeed date_start is automatically updated in the create / write. Without
the onchange, this may lead to errors related to date_start being greater
then date_end.

project.issue: code in create and write now takes into account date_open
values given to the method and avoid erasing them.
In issue however the onchange is not added. Indeed the date_open and
date_closed fields are not visible in the view. They are automatically
computed and used to compute statistics.
2015-11-23 17:36:40 +01:00
Yannick Tivisse abf30a7f15 [REM] Get rid of the ugly 'default_groups_ref' context key
Because it is useless now with the new behavior brought by the previous commit.
All the necessary details are explained in this one.
2015-11-20 16:27:32 +01:00
Nicolas Martinelli db68f9c4be [FIX] mail, project: define search method for message_is_follower
In order to be able to search on a non-stored computed field, a search
method must be defined.

This also reverts commit fd38fc0a02.

Fixes #8920
2015-10-13 10:15:21 +02:00
Nicolas Martinelli fd38fc0a02 [FIX] project: filter "Followed by Me"
The filter "Followed by Me" depends on a calculated field is not stored.
Therefore, we need to redefine the search method.

Fixes #8920
2015-10-12 10:53:38 +02:00
Yannick Tivisse 411c806887 [IMP] project: Remove date_start and date_end on project_task tree view and filters
as it as already been removed by fp on the form view
2015-09-30 16:42:19 +02:00
Yannick Tivisse 432c01c076 [IMP] project: count the project tasks correctly
Also, we should be able to set a customer on a project, whatever the access rights,
for example, if we're managing services by using internal projects.
2015-09-28 10:19:51 +02:00
Yannick Tivisse e5181b05f7 [FIX] web_kanban, web: KanbanSelection widget refactoring
- Change the widget behavior from asynchronous to asynchronous, by adding 3 related fields
  on the project.task model, which are the custom labels defined for the stage
- Instead of making a rpc call, we are taking directly the labels on the parent for the kanban view,
  or on the view datarecord for the form view
- There are now 2 templates for the kanban view or the form view
- The development has been backported in the community version
- The options attribute has been removed on the project_view.xml file for the kanban_state field
2015-09-22 11:33:58 +02:00
Thibault Delavallée 396c5db41a [FIX] mail, various: buttons in notifications
Various fixes :
- new button (task / issue / note) param name + correct action
- method button fix
2015-09-22 10:28:01 +02:00
qsm-odoo e29745cc47 [FIX] web,project: kanban_selection widget position
Move the project kanban_selection widget out of h1 and make it as
direct child of form sheet. This allows to put it on the right of
oe_title no matter what (+ enterprise compatibility).
2015-09-15 13:17:43 +02:00
Yannick Tivisse 174ce92e29 [IMP] project: Hide partner_id field if project is not portal 2015-09-11 16:46:17 +02:00
Martin Geubelle c5a36b522f [IMP] project: displayed image on task not computed anymore
We don't want the dispayed image to be set to the last attached image but we want to be able to choose it.
2015-09-07 14:19:12 +02:00
Yannick Tivisse d7f3938b83 [FIX] project: Don't display archived tasks + Archived a project without constraint on the state 2015-09-07 13:27:17 +02:00
Yannick Tivisse 0ce0c6f095 [IMP] Remove oe_inline in h1 fiels to expend the field width 2015-09-07 13:27:17 +02:00
Yannick Tivisse f53083b738 [IMP] project: remove filter 'Template', obsolete since state removal 2015-09-07 13:27:17 +02:00
Yannick Tivisse e85b846086 [IMP] project,project_issue: Layout issue: 'Tasks as Tasks', 'Issues as Issues' 2015-09-07 13:27:16 +02:00
Fabien Pinckaers ed78ff2f82 [IMP] avoid multi-project kanban gruoped by stage 2015-09-05 18:02:54 +02:00
Fabien Pinckaers 6c91ba1f79 [IMP] no group by in search task 2015-09-05 18:00:36 +02:00
Simon Lejeune e374844808 [REM] web_gantt 2015-09-03 13:35:31 +02:00
Raphael Collet dce836c3aa [FIX] project: move kanban_state outside of button box 2015-09-03 10:27:19 +02:00
Raphael Collet ed95043d7e [IMP] *: add archive/unarchive feature on some models
Add the statbutton, search filter, and enable the kanban column archiving on
models `res.partner`, `crm.lead`, `event.event`, `hr.employee`, `hr.applicant`,
`mail.mass_mailing`, `mail.mass_mailing.list`, `product.product`,
`project.project`, `project.task`, `project.issue`.
2015-09-02 14:29:42 +02:00
Yannick Tivisse 7097f68a80 [IMP] Project: Discover Odoo Project Fine Tuning 2015-09-01 15:38:12 +02:00
Yannick Tivisse 70b5328331 [IMP] Hide project manager in group_no_one + Remove default filter on project view 2015-08-31 12:58:44 +02:00
Yannick Tivisse 4be59f81a5 [IMP] Do not display switch view buttons on dashboards. 2015-08-31 09:08:12 +02:00
Damien Bouvy 1aac914b36 [FIX] project: remove currency field from project view
always nice to set a field as required and then show it only to certain groups
very bad way methodology
2015-08-28 16:51:08 +02:00
Nicolas Martinelli 908f416573 [IMP] project*: adaptation due to the new Sale module
Major changes:
- New start and expiration dates
- Remove field Contract Status
- Simplified because use of sale_timesheet

Reason: complete rewrite of the Sale module.

Responsible: fp, dbo, nim
2015-08-27 18:15:24 +02:00