[6.0] Entering tasks in timesheet: wrong behavior, filter issue

Bug #868956 reported by Yannick Vaucher @ Camptocamp
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Camptocamp Addons
Fix Released
Low
Camptocamp

Bug Description

Hello,

Few weeks ago, I reported a bug about entering partial names for analytic account. Thanks to you it was resolved.
https://bugs.launchpad.net/openobject-client/+bug/838059

Here is another bug quite similar but it seems it isn't for the same reasons.

This occures in a daily process that some employees use several times a day so it could please many by resolving it.

Let's take few example to illustrate it:

We have 2 projects with few tasks:
Project A :
- Task a1
- Task a2

Project B :
- Task b1

Here is what we got and what we expect in term of ergonomy:

Project field | task => result (expected result if diff)
[ ] vide | "a" => open list Task a1, Task a2
[ ] vide | "1" => open list Task a1, Task b1
[ ] vide | "a1" => auto completion Task a1

[ ] Projet A | "a" => open list Task a1, Task a2
[X] Projet A | "1" => open list Task a1 (auto completion Task a1)
[ ] Projet A | "a1" => auto completion Task a1

[ ] Projet B | "a" => open empty list
[X] Projet B | "1" => open list b1 (auto completion Task b1)
[X] Projet B | "a1" => auto completion Task a1 (open empty list)

*"open list" means : a windows to select a task is openned

So problèmes are :

- An unique task of a project is completed only if this task is a unique name in all tasks of all project. Instead of that it occures that it open a window with only one choice. (making a choice "between" 1 choice is non sense)

- Auto completion allows to enter tasks from other projects

It is clear that whithout looking in the code that firstival, what the user enter is checked to see if it matches with all existing task and then if multiple choice it open a window. And finally a filter is done to show only tasks of the choosen project.

It is needed to do the filtering one step earlier to define if the window has to be opened or not.

Thanks,
Yannick

Tags: task timesheet
Changed in openobject-addons:
assignee: nobody → OpenERP Publisher's Warranty Team (openerp-opw)
tags: added: maintenance
Changed in openobject-addons:
assignee: OpenERP Publisher's Warranty Team (openerp-opw) → Camptocamp (c2c)
affects: openobject-addons → c2c-addons
Changed in c2c-addons:
status: New → Confirmed
importance: Undecided → Low
tags: added: task timesheet
removed: maintenance
Revision history for this message
Yannick Vaucher @ Camptocamp (yvaucher-c2c) wrote :

resolved in revno 14

Changed in c2c-addons:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.