← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Public bug reported:

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

** Affects: openobject-addons
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to OpenERP Project Group.
https://bugs.launchpad.net/bugs/868956

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

Status in OpenERP Addons (modules):
  New

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/868956/+subscriptions


Follow ups

References