Commit Graph
1051 Commits
Author SHA1 Message Date
rap-odoo a5e7a4c8ae [IMP] Account,...: Change 'string' attribute on some fields to avoid repeated names
In odoo at many places the filter items are having repeated strings eventhough the
fiter works differently , so find all the places where this happens and give
proper string to each filter..
2016-06-08 14:02:23 +02:00
Damien Bouvy 9f210601e4 [IMP] project: field string missing 2016-05-10 08:29:24 +02:00
Fabien Pinckaers 99d8574daa [IMP] project: Wording of project privacy field 2016-05-06 14:37:14 +02:00
Christophe Simonis 6c8141a1df [MERGE] forward port of branch saas-10 up to 2483327 2016-04-01 16:15:35 +02:00
Christophe Simonis ddb0fb2739 [MERGE] forward port of branch saas-9 up to 59d3f63 2016-03-24 16:53:45 +01:00
Christophe Simonis 59d3f63c58 [MERGE] forward port of branch saas-7 up to 9e4157b 2016-03-24 15:12:00 +01:00
Nicolas Martinelli adae94e483 [FIX] project: task manager
Following commit 1dbccc8, there is no `user_id` field on the analytic
account anymore. However, a field `user_id` was added directly on the
project with commit 908f416.

opw-672333
2016-03-21 13:44:11 +01:00
Dhaval Panchal 7373f8bb91 [FIX] project: allow project user to favorite project 2016-03-16 15:12:52 +01:00
Tanguy Charlier 5bc0bd3707 [REF] hr_timesheet: migrate project_timesheet.py to new API
* New API migration
    * Fix delay hours and total computation : Delay was wrongly computed as 0.0 in every case.
    * Remove onchange from task. They were more confusing than helping.
2016-03-14 14:27:41 +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
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
Thibault Delavallée 684acf646c [CLEAN] project: dead / unnecessary code
Removed unnecessary imports
Removed duplicated _order
Cleaned kanban state update in write to avoid useless loops. Indeed when
updating the stage the kanban state is reset, if the new stage is different
from the old stage. Now in every case the kanban state is reset. This is
already the case in issue and does not seem to frustrate users.
2016-01-14 15:04:19 +01:00
Raphael Collet a370102ba5 [IMP] project: adapt model project.project to the mail alias mixin 2016-01-08 16:22:05 +01:00
Christophe Simonis 5f860a4433 [MERGE] forward port of branch saas-7 up to 31ce19b 2016-01-05 17:05:17 +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
Martin Trigaux e4bf03aeaf [MERGE] Forward port of branch saas-7 up to c298cf3 2015-12-21 11:37:53 +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
Christophe Simonis 82a495eed5 [MERGE] forward port of branch saas-7 up to 4022493 2015-12-10 13:05:58 +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
Martin Trigaux 87f96c942a [MERGE] forward port of branch saas-7 up to 90254bee 2015-12-01 10:54:51 +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
Jamin Shah 3560cf04ee [IMP] mail: headers to notification emails
>
> This merge adds some basic data to notification emails headers. It contains the related
> record of the notification. This allows users to classify / perform action based on
> headers.
>
> Headers :
> - X-Odoo-Objects: list of records
> - X-Odoo-db-uuid: database uid

In task and issue, we had the parent project and the tags in the headers.
2015-11-26 11:26:46 +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