Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0033052 | Openbravo ERP | A. Platform | public | 2016-05-25 16:37 | 2016-06-20 13:08 |
|
Reporter | JONHM | |
Assigned To | NaroaIriarte | |
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | 3.0PR16Q1.1 | |
Target Version | | Fixed in Version | 3.0PR16Q3 | |
Merge Request Status | |
Review Assigned To | alostale |
OBNetwork customer | |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0033052: Product Characteristics field doesn't work in Return from Customer / Return to Vendor |
Description | After adding a Product Characteristics field as a property on a Pick/Edit window shows no data associated with product and doesn't filter anything.
The thing is that it is not supported to have a property field in the return from customers because it is an hql window. |
Steps To Reproduce | 1) As system administrator, go to "Windows, tabs and fields" and pick "RFC/RTV HQL Pick / Edit Lines" window
2) Then add a new field named "Product Characteristics" and give it a Property "product.characteristicDescription". Also show it in grid view.
3) Change role to "F&B International Group Admin" and go to "Product Characteristic" window, add a new record and give it some values. Then press button "Add Products" and assign some products to those values
4) Go to "Return from Customer" window, add a new return related to a product assigned before and then press button "Pick/Edit lines"
5) Clear filters and see that new field "Product Characteristics" doesn't show any value nor filtering any product. |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0033143 | | closed | alostale | Property field not visible in tree grid view |
|
Attached Files | ProductCharacteristic.png (117,744) 2016-05-25 16:37 https://issues.openbravo.com/file_download.php?file_id=9440&type=bug
|
|
Issue History |
Date Modified | Username | Field | Change |
2016-05-25 16:37 | JONHM | New Issue | |
2016-05-25 16:37 | JONHM | Assigned To | => platform |
2016-05-25 16:37 | JONHM | File Added: ProductCharacteristic.png | |
2016-05-25 16:37 | JONHM | Modules | => Core |
2016-05-25 16:37 | JONHM | Resolution time | => 1466546400 |
2016-05-25 16:37 | JONHM | Triggers an Emergency Pack | => No |
2016-05-25 17:15 | heccam | Issue Monitored: heccam | |
2016-05-26 11:48 | alostale | Status | new => acknowledged |
2016-05-31 10:41 | NaroaIriarte | Assigned To | platform => NaroaIriarte |
2016-05-31 12:09 | NaroaIriarte | Review Assigned To | => alostale |
2016-05-31 13:35 | NaroaIriarte | Description Updated | bug_revision_view_page.php?rev_id=12264#r12264 |
2016-06-14 09:00 | alostale | Relationship added | related to 0033143 |
2016-06-16 10:55 | alostale | Summary | Product Characteristics field doesn't work on Pick/Edit Window => Product Characteristics field doesn't work in Return from Customer / Return to Vendor |
2016-06-16 16:55 | hgbot | Checkin | |
2016-06-16 16:55 | hgbot | Note Added: 0087358 | |
2016-06-16 16:55 | hgbot | Status | acknowledged => resolved |
2016-06-16 16:55 | hgbot | Resolution | open => fixed |
2016-06-16 16:55 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/0c9e018ec68b2c97009012f75838e5ebf9e50cd3 [^] |
2016-06-17 19:38 | hudsonbot | Checkin | |
2016-06-17 19:38 | hudsonbot | Note Added: 0087632 | |
2016-06-20 13:08 | alostale | Note Added: 0087669 | |
2016-06-20 13:08 | alostale | Status | resolved => closed |
2016-06-20 13:08 | alostale | Fixed in Version | => 3.0PR16Q3 |
Notes |
|
(0087358)
|
hgbot
|
2016-06-16 16:55
|
|
Repository: erp/devel/pi
Changeset: 0c9e018ec68b2c97009012f75838e5ebf9e50cd3
Author: Naroa Iriarte <naroa.iriarte <at> openbravo.com>
Date: Wed Jun 15 17:06:10 2016 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/0c9e018ec68b2c97009012f75838e5ebf9e50cd3 [^]
Fixed issue 33052: can't add prod characteristics to Return P&E
Two problems have been solved:
* By default, datasources based on HQL Query Tables do not accept property
fields. This needs to be implemented case by case. Now Return to Customer
and Return to Vendor P&E support it as far as the path to that property is
composed by not nullable properties.
* Product Characteristics filter assumed the alias for the main table in the
datasource it was working on was always "e". This is might not be true for
datasources based on HQL Query Tables.
---
M modules/org.openbravo.client.application/src/org/openbravo/client/application/templates/ob-pick-and-execute-grid.js.ftl
M modules/org.openbravo.client.application/src/org/openbravo/client/application/window/OBViewGridComponent.java
M modules/org.openbravo.client.application/web/org.openbravo.client.application/js/form/formitem/ob-formitem-characteristics.js
M modules/org.openbravo.service.datasource/src/org/openbravo/service/datasource/HQLDataSourceService.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/DataToJsonConverter.java
M modules/org.openbravo.service.json/src/org/openbravo/service/json/JsonConstants.java
A src/org/openbravo/common/datasource/ReturnFromCustomerVendorPropertyFieldsTransformer.java
---
|
|
|
|
|
|
|
code reviewed
tested:
* Return from Customer / to Vendor P&E grids support product characteristics as a property field being possible to see it in grid as well as filtering |
|