← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 781456] [NEW] [stable] Usability bug in Search Views

 

Public bug reported:

Hi,

This is a fairly generic bug but is most definitely a bug.  For the
example just use sales orders.

In any search view that defines state the default behaviour is to apply
an and clause.  So when the use for example clicks

Sales -> OpenERP displays the list of confirmed orders etc.
Quatations -> OpenERP displays just the list of quotations

So far so good.  Now given that an order can't be both a sale AND a
quotation what should the user expect when Sales is already selected and
they click quotations.

An empty list? which is what OpenERP displays - no.
To deselect sales and only filter quotations - maybe but I don't think so.
They want to see a list of all the sales and quotations.

Now this is a binary example.  A slightly more complex one is with
delivery orders where in stock/stock_view.xml their is 3 state filters
defined.

It is very likely if I am planning deliveries (or inwards for that
matter) that I want to see both (and only) the assigned and confirmed
deliveries, knowing that some of tomorrows deliveries are in
manufacture.  I cannot do that.  If all are deselected then I get
clobbered by done deliveries, and if both are selected then I get an
empty list.

So to my mind state should be an or clause with other states.  There is
no situation in OpenERP that I can think of where an object can be in 2
states at once, so it should not try and see if a document is both
assigned AND confirmed.  As a temporary work around for deliveries I've
just replaced the confirmed domain with domain=[('state', 'in',
['assigned', 'confirmed'])]

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

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

Title:
  [stable] Usability bug in Search Views

Status in OpenERP Modules (addons):
  New

Bug description:
  Hi,

  This is a fairly generic bug but is most definitely a bug.  For the
  example just use sales orders.

  In any search view that defines state the default behaviour is to
  apply an and clause.  So when the use for example clicks

  Sales -> OpenERP displays the list of confirmed orders etc.
  Quatations -> OpenERP displays just the list of quotations

  So far so good.  Now given that an order can't be both a sale AND a
  quotation what should the user expect when Sales is already selected
  and they click quotations.

  An empty list? which is what OpenERP displays - no.
  To deselect sales and only filter quotations - maybe but I don't think so.
  They want to see a list of all the sales and quotations.

  Now this is a binary example.  A slightly more complex one is with
  delivery orders where in stock/stock_view.xml their is 3 state filters
  defined.

  It is very likely if I am planning deliveries (or inwards for that
  matter) that I want to see both (and only) the assigned and confirmed
  deliveries, knowing that some of tomorrows deliveries are in
  manufacture.  I cannot do that.  If all are deselected then I get
  clobbered by done deliveries, and if both are selected then I get an
  empty list.

  So to my mind state should be an or clause with other states.  There
  is no situation in OpenERP that I can think of where an object can be
  in 2 states at once, so it should not try and see if a document is
  both assigned AND confirmed.  As a temporary work around for
  deliveries I've just replaced the confirmed domain with
  domain=[('state', 'in', ['assigned', 'confirmed'])]


Follow ups

References