← Back to team overview

openerp-india team mailing list archive

[Bug 1267845] [NEW] [6.1][7.0][trunk] Search for product and product category is not made for a daily use

 

Public bug reported:

The name_search method does not take into account common case in daily
use (see examples below), the user should not have to remove the
brackets to have a match:

Consider a product A:
- default_code = 'REFA'
- name = 'My product A'

Consider a product B:
- default_code = 'REFB'
- name = 'My product B

The current name_get returns:
- [REFA] My product A

If the user edit the name_get the following cases are not allowing to retrieve any of the products above:
- [REFA
- [REF

Another model case: product.category, the user should be able to
retrieve a category even when the category separator is used. Consider
the following categories:

- All products / Main Group / Group A
- All products / Main Group / Group B
- All products / Main Group / Group C
- All products / Another Group / Group A
- All products / Another Group / Group B

If the user edit the name_get the following cases are not allowing to
retrieve any of the categories above:

- All products / Main Group / Group A
- All products / Main Group / Grou
- All products / Main Group /
- All products / Main

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

** Affects: ocb-addons/6.1
     Importance: Low
     Assignee: Yann Papouin (yann-papouin)
         Status: New

** Affects: ocb-addons/7.0
     Importance: Undecided
         Status: New

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

** Also affects: ocb-addons
   Importance: Undecided
       Status: New

** Also affects: ocb-addons/6.1
   Importance: Undecided
       Status: New

** Also affects: ocb-addons/7.0
   Importance: Undecided
       Status: New

** Changed in: ocb-addons/6.1
     Assignee: (unassigned) => Yann Papouin (yann-papouin)

** Changed in: ocb-addons/6.1
   Importance: Undecided => Low

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/1267845

Title:
  [6.1][7.0][trunk] Search for product and product category is not made
  for a daily use

Status in OpenERP Community Backports (Addons):
  New
Status in OpenERP Community Backports (Addons) 6.1 series:
  New
Status in OpenERP Community Backports (Addons) 7.0 series:
  New
Status in OpenERP Addons (modules):
  New

Bug description:
  The name_search method does not take into account common case in daily
  use (see examples below), the user should not have to remove the
  brackets to have a match:

  Consider a product A:
  - default_code = 'REFA'
  - name = 'My product A'

  Consider a product B:
  - default_code = 'REFB'
  - name = 'My product B

  The current name_get returns:
  - [REFA] My product A

  If the user edit the name_get the following cases are not allowing to retrieve any of the products above:
  - [REFA
  - [REF

  Another model case: product.category, the user should be able to
  retrieve a category even when the category separator is used. Consider
  the following categories:

  - All products / Main Group / Group A
  - All products / Main Group / Group B
  - All products / Main Group / Group C
  - All products / Another Group / Group A
  - All products / Another Group / Group B

  If the user edit the name_get the following cases are not allowing to
  retrieve any of the categories above:

  - All products / Main Group / Group A
  - All products / Main Group / Grou
  - All products / Main Group /
  - All products / Main

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


Follow ups

References