Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039953Openbravo ERP07. Sales managementpublic2019-01-09 14:472019-01-18 09:28
lmasson 
caristu 
normalminoralways
closedfixed 
5
3.0PR18Q4 
3.0PR19Q13.0PR19Q1 
alostale
Google Chrome
Core
Production - Confirmed Stable
2018-04-30
3.0PR18Q3
https://code.openbravo.com/erp/devel/pi/rev/f2979bad688953ced9571ab74cf312c989a0f81b [^]
No
0039953: 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.
https://drive.google.com/file/d/1uNw9ix67xu3JWEG1-92GPI2atTEIUgod/view [^]
* 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.0PR19Q1
2019-01-15 16:34hgbotCheckin
2019-01-15 16:34hgbotNote Added: 0108968
2019-01-15 16:34hgbotStatusscheduled => resolved
2019-01-15 16:34hgbotResolutionopen => fixed
2019-01-15 16:34hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR19Q1/rev/6b710a4c69d93bb0d76cecb1cb030641c099c543 [^]
2019-01-15 16:34caristuReview Assigned To => alostale
2019-01-15 16:34caristuWeb browserGoogle Chrome => Google Chrome
2019-01-15 16:34caristuWeb browserGoogle Chrome => Google Chrome
2019-01-15 16:34caristuSeveritymajor => minor
2019-01-15 16:34caristuWeb browserGoogle Chrome => Google Chrome
2019-01-15 16:34caristuSeverityminor => major
2019-01-15 16:35caristuWeb browserGoogle Chrome => Google Chrome
2019-01-15 16:35caristuSeveritymajor => minor
2019-01-18 09:27alostaleNote Added: 0109005
2019-01-18 09:27alostaleStatusresolved => closed
2019-01-18 09:28alostaleFixed in Version => 3.0PR19Q1

Notes
(0108968)
hgbot   
2019-01-15 16:34   
Repository: erp/backports/3.0PR19Q1
Changeset: 6b710a4c69d93bb0d76cecb1cb030641c099c543
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Tue Jan 15 13:57:46 2019 +0100
URL: http://code.openbravo.com/erp/backports/3.0PR19Q1/rev/6b710a4c69d93bb0d76cecb1cb030641c099c543 [^]

fixes issue 39953: 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] https://code.openbravo.com/erp/devel/pi/rev/f2979bad688953ced9571ab74cf312c989a0f81b [^]

---
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
---
(0109005)
alostale   
2019-01-18 09:27   
reviewed + tested