Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0039954Openbravo ERP07. Sales managementpublic2019-01-09 14:472019-01-18 09:28
lmasson 
caristu 
normalminoralways
closedfixed 
5
3.0PR18Q4 
3.0PR18Q4.23.0PR18Q4.2 
alostale
Google Chrome
Core
Production - Confirmed Stable
2018-04-30
3.0PR18Q3
https://code.openbravo.com/erp/devel/pi/rev/f2979bad688953ced9571ab74cf312c989a0f81b [^]
No
0039954: 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.0PR18Q4.2
2019-01-15 16:32hgbotCheckin
2019-01-15 16:32hgbotNote Added: 0108967
2019-01-15 16:32hgbotStatusscheduled => resolved
2019-01-15 16:32hgbotResolutionopen => fixed
2019-01-15 16:32hgbotFixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR18Q4.2/rev/19597fe81cd7749e122c25bd43f105aea5f59619 [^]
2019-01-15 16:33caristuReview Assigned To => alostale
2019-01-15 16:33caristuWeb 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: 0109006
2019-01-18 09:28alostaleStatusresolved => closed
2019-01-18 09:28alostaleFixed in Version => 3.0PR18Q4.2

Notes
(0108967)
hgbot   
2019-01-15 16:32   
Repository: erp/backports/3.0PR18Q4.2
Changeset: 19597fe81cd7749e122c25bd43f105aea5f59619
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.0PR18Q4.2/rev/19597fe81cd7749e122c25bd43f105aea5f59619 [^]

fixes issue 39954: 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
---
(0109006)
alostale   
2019-01-18 09:28   
reviewed + tested