Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039955Openbravo ERP07. Sales managementpublic2019-01-09 14:472019-01-18 09:28
Google Chrome
Production - Confirmed Stable
3.0PR18Q3 [^]
0039955: Purchase Order : Not possible to search product with Characteristic
During the process of creation of a Purchase Order, when I try to make a search with the characteristic description using the button "Create line" any is propose.

See the video attached to this Mantis. [^]
* Open 'Product Characteristic' window and create a new record and also a characteristic value (lines tab)

* Then open 'Product' window and select a product Ex:"Cerveza Ale 0,5L". Switch to [Characteristics] tab and assign it a new characteristic.

* Run process "Update Characteristics" for that product and press OK.

* Go to Purchase Order windows and create a purchase order with the product where the characteristic was created.

* Click on creates lines button and try to filter by characteristic (Nothing appears)

*If you filter by product, the characteristic filter star working properly

No tags attached.
blocks defect 0039896 closed caristu Purchase Order : Not possible to search product with Characteristic 
Issue History
2019-01-15 13:42caristuTypedefect => backport
2019-01-15 13:42caristuTarget Version3.0PR18Q4 => 3.0PR18Q3.5
2019-01-15 16:31hgbotCheckin
2019-01-15 16:31hgbotNote Added: 0108966
2019-01-15 16:31hgbotStatusscheduled => resolved
2019-01-15 16:31hgbotResolutionopen => fixed
2019-01-15 16:31hgbotFixed in SCM revision => [^]
2019-01-15 16:31caristuReview Assigned To => alostale
2019-01-15 16:31caristuWeb browserGoogle Chrome => Google Chrome
2019-01-15 16:35caristuWeb browserGoogle Chrome => Google Chrome
2019-01-15 16:35caristuSeveritymajor => minor
2019-01-18 09:28alostaleNote Added: 0109007
2019-01-18 09:28alostaleStatusresolved => closed
2019-01-18 09:28alostaleFixed in Version => 3.0PR18Q3.5

2019-01-15 16:31   
Repository: erp/backports/3.0PR18Q3.5
Changeset: 26da6883e453b48982cb320c1a1acbd431e7a48b
Author: Carlos Aristu <carlos.aristu <at>>
Date: Tue Jan 15 13:57:46 2019 +0100
URL: [^]

fixes issue 39955: Not possible to filter by characteristic in Create Lines

  The changeset[1] was not taking into account the possibility of having a field with a name that already contains 'product'. This can happen when having a property field like: product.characteristicDescription.

  In that case an extra 'product' was being added to the propery path which resulted in a wrong HQL where clause definition for the characteristic filter.

  Now we do not append 'product' to the property path in case it already starts with it.

  [1] [^]

M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
2019-01-18 09:28   
reviewed + tested