Commit Graph
1033 Commits
Author SHA1 Message Date
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
Thibault Delavallée 9ebbceeb65 [FIX] project, issue: stop spamming partners
Commit bb1200adc7 introduced the automatic
addition of cc as followers of tasks and issues. However it seems to
automatically create partners if the address it not recognized. This
does not seem a good idea.
2015-12-11 15:02:14 +01:00
Denis Ledoux 0b5935092e [ADD] project: tasks & issues need-actions
Shortcuts to display tasks & issues with notifications
from the projects dashboards
2015-12-07 17:04:50 +01:00
Denis Ledoux 53ae4a3169 [FIX] project: avoid to remove the default partner_id
The onchange of the project field
removed the default partner loaded of the task
if there was no project set on the task, or if the
project was not associated to a specific partner.

There is no obvious reasons to do so,
and the revision 3fe06da634
introducing the regression doesn't explain why
it has been done. At first sight, there is no reason.

opw-657876
2015-11-30 17:46:31 +01:00
Denis Ledoux 34e90a44f8 [MERGE] forward port of branch saas-6 up to 20dba161d0 2015-10-26 19:17:21 +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
Christophe Simonis 20dba161d0 [MERGE] forward port of branch 8.0 up to c484467 2015-10-10 14:46:23 +02:00
Xavier Morel 14d7e20def [FIX] project: don't copy remaining hours when duplicating tasks
Since we're not duplicating work items when duplicating tasks during
project duplication, it doesn't make sense to duplicate the
likely correspondingly adjusted remaining hour.

Behave as if the planned hours had just been set/reset and set the
remaining hours of the new task to that instead.

fixes #8985
2015-10-09 18:57:46 +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
Yannick Tivisse 1f28bd8348 [FIX] project: task_count counts tasks in undefined stage, and not inactives tasks anymore 2015-09-09 14:19:07 +02:00
Yannick Tivisse 021dc577e5 [FIX] hr_recruitment: oe_kananban_applicant to oe_kanban_applicant, correct label typos 2015-09-07 18:25:51 +02:00
Martin Geubelle 3acf8879d1 [ADD] *: add color field on tags 2015-09-07 14:20:36 +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 e404528c15 [IMP] Project: No default stage 2015-09-03 13:11:19 +02:00
Raphael Collet ec181361f0 [IMP] project, project_issue: discard project templates 2015-09-02 14:29:42 +02:00
Damien Bouvy d4afe59a8c [IMP] sale_service, project: when confirming a so with a "task" product with no project assigned, create the project (and the analytic account) of the so 2015-09-02 11:14:29 +02:00
Gaurav Panchal bb1200adc7 [IMP] project, project_issue : email cc set follower
Partner is created on the fly if it didn't exist yet.
2015-09-01 08:13:53 +02:00
Thibault Delavallée 59c5ff08be [IMP] various: action buttons in notifications
Main addons updated :

 - crm: Conversion and Won / Lost actions
 - hr_holidays: Approve / Refuse for hr users / officers
 - project: Assign / New (task and issues)
 - forum, website_project_issue, website_portal_sale: go to the
   website view
2015-08-28 17:36:16 +02:00
Thibault Delavallée 14dea96a4e [FIX mail: decorator issue
A method was designed to work in multi, but used sometimes as model
and sometimes as one.
2015-08-28 15:15:35 +02:00
Christophe Simonis 6d85a9a4b9 [MERGE] forward port of branch 8.0 up to d744923 2015-08-27 18:30:46 +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
Thibault Delavallée 65dbf8f117 [IMP] crm, hr, project, sales_team: mail-related fixes
- hr, project, sales_team: no subscribe on create

For header records like sales steam, project, jobs and department, do not
subscribe the creator. Indeed those objects allow to automatically follow
child records (opportunities, tasks, issues, applicants). However those
records are often created by IT / technical / administrators that should
not be followers of all child records. Therefore the no subscribe key
is added in context.

- crm: new lead subtype

The 'new' stage is based on the sequence only, not the probability. Indeed
a new lead does not have a probability of 0; otherwise it is already lost.
2015-08-27 17:07:02 +02:00
Pedro M. Baeza 675d09c005 [FIX] fields_view_get super arguments
The context argument needs to be passed as positional argument to avoid issues
when surcharging fields_view_get

Closes #7933
2015-08-27 11:07:11 +02:00
Martin Geubelle 77117d2dda Revert "[IMP] project: remove displayed_image_id on project"
This reverts commit 00adbd36ff.
2015-08-25 15:54:17 +02:00
Christophe Matthieu 00adbd36ff [IMP] project: remove displayed_image_id on project 2015-08-21 22:06:52 +02:00
Christophe Matthieu d4bae06d08 [IMP] web: use css to display attachment mimetype
Widgets and website display images or display the type with icon like pdf, doc...
2015-08-21 22:06:52 +02:00
Yannick Tivisse cddc6af130 [IMP] crm,hr_equipment,hr_recruitment,project,sale_crm,base,l10n_gr: Small UX improvements
crm:
- Move crm.lead.tag data to demo
- Rename Folded in Kanban view to Folded in Pipeline
hr_equipment:
- Rename Folded in Kanban View to Folded in Recruitment Pipe
hr_recruitment:
- Rename Folded in Kanban View to Folded in Recruitment Pipe
l10n_gr:
- Jump back to accounting dashboard after install
Project:
- Rename Folded in Kanban View to Folded in Tasks Pipeline
Sale_crm:
- Create a quote from an opportunity sets the right sales team automatically
Base:
- Move the tags
2015-08-21 10:41:02 +02:00
Damien Bouvy 8bd6074f03 [IMP] project,project_issue,project_timesheet,project_issue_sheet: project visibility and access rights modifications
[REM] portal_project: move ALL the things
- move portal access rights from portal_project  and website_project_issue to project and project_issue
- move portal menuitems back to their respective module
- remove public visibility of projects
- adapt demo data to have a 'Demo Portal' project
- add correct access rights for account.analytic.line for portal users
- small view tweak (do not display 'timesheet' tab if one can't see antyhing in it anyway)
2015-08-14 13:19:03 +02:00
Jay Patel c9dbc73faf [IMP] base,project: project attachments views
- Add nocontent tip in kanban view of project documents and remove create button.
- Hide a lot of noisy fields from attachment form view in technical group.
2015-08-13 10:43:31 +02:00
Antony Lesuisse 1e90257e58 [IMP] tags: add unique constraints
- remove tags translatability
- add unique constraints
- res.partner.category is kept until we remove the parent_store test.
- hr remove tag parenthood
- hr remove unsed views and menu
2015-08-07 00:51:14 +02:00
Thibault Delavallée 8c1d1f5ce1 [IMP] project: stages are not shared anymore, removing the
concept of default / common stages.

However as the link between stages and projects is still a many2many
it is still possible to have shared columns. It is however not the
standard way of using stages.
2015-07-30 16:59:09 +02:00
Thibault Delavallée 9398fe98ed [IMP] project: removed members.
Members were not used in project, except for the now removed faces library.
Statistics can still be computed based on task or issues responsibles
instead of adding all members of a project.

Indeed you could have members that did not actually work in the project
making it difficult to differentiate with followers. Now the concept
of members is removed. Followers is sufficient for communication.
2015-07-30 16:59:09 +02:00
Thibault Delavallée f1099a6598 [REM] resource, project: removed faces library and its related
code in resource and project.

This library was once used to perfom resource allocation: scheduling
tasks and things like that. However this feature cannot be accessed
through the interface since a long time.

The feature is now removed from the project code. The library has been
removed. Some code in resource used only in the project code
has also been removed, as well as a test linked to this code.
2015-07-28 12:36:00 +02:00
Martin Trigaux 2350d1f3ba [FIX] project: typo
Courtesy of Miku Laitinen
2015-07-24 11:35:36 +02:00
Pankaj Joshi 2843e618ca [ADD] project: added new field date_assign
The new field will be the real date of assignation.
Don't use start_date for this purpose anymore.
Arranged fields in group to prevent view glitch
mentioned in task 19579.
2015-07-20 10:57:34 +02:00
Yannick Tivisse e485b6c5ee [IMP] Project : remove task delegation
Conflicts:
	addons/project/wizard/project_task_delegate.py
2015-07-08 15:39:02 +02:00
Christophe Simonis 429ea59bac [MERGE] forward port of branch 8.0 up to 3aae565 2015-07-01 11:45:18 +02:00
Goffin Simon 60c94c7c42 [FIX] project: Working Time Progress
The precision of the field 'hours' in project.task.work and the precision of
'remaining_hours' are not the same. This is why the difference between them can
generate some very small negative difference which implies an infinite percentage for
the working progress time.

opw:643649
2015-07-01 08:55:10 +02:00
Thibault Delavallée a4d5cfa747 [IMP][FIX] mail, various: migrate fields_view_get override to the new API
(leftover of migration). However this implies some fixes in the various calls
to models inheriting from mail.thread. Indeed giving positional instead of
keyword argument creates issues in the wrapper between the old and new
API.

In account_analytic_plan, useless override of fields_view_get has been removed.
2015-06-29 13:16:11 +02:00
Yannick Tivisse 30db606c0f [IMP] project : rename Task Summary into Task title 2015-06-18 15:30:48 +02:00
Géry Debongnie d6506b22e4 [IMP] project: update to new design 2015-06-15 16:30:36 +02:00
Ravi Gadhia 263d869b07 [REM] get rid of unused attribute 'nodestroy' 2015-06-08 15:25:29 +02:00
Olivier Dony 0bd4545348 [LEGAL] Use global LICENSE/COPYRIGHT files, remove boilerplate text
- Preserved explicit 3rd-party copyright notices
- Explicit boilerplate should not be necessary - copyright law applies
  automatically in all countries thanks to Berne Convention + WTO rules,
  and a reference to the applicable license is clear enough.
2015-06-02 03:16:04 +02:00
Christophe Simonis fe2b5f35a4 [MERGE] forward port of branch saas-6 up to bf1e999 2015-05-28 14:27:38 +02:00
Martin Geubelle f1906d704b [REM] web_kanban_sparkline: module and dependencies (project, sale, sales_team, stock, mass_mailing)
The module was not used anymore.
2015-05-20 10:41:01 +02:00
Pariket Trivedi 2b61f6f6b3 [IMP] project,project_issue,portal_project: code cleaning
- remove unnecessary copy() method from project/res_partner.py
- remove old methods on project.project
- progress is not used anymore on project.project
- use clickable statusbar for project states
- remove _resolve_project_id_from_context
- rename project.category becomes project.tag to be more explicit
- remove old methods on tasks
- issues: remove option fetchmail_issue
2015-05-12 16:31:43 +02:00
Gaurav Panchal 3fe06da634 [IMP] project,project_issue,sale: display the current contract state on some various objects like issues or tasks.
Implements a dynamic widget for selection fields to display this state with color codes.
2015-05-08 11:20:54 +02:00