Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0043099 | Openbravo ERP | A. Platform | public | 2020-02-03 12:27 | 2020-02-07 13:29 |
|
Reporter | inigo_lerga | |
Assigned To | inigo_lerga | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0PR20Q2 | |
Merge Request Status | |
Review Assigned To | dmiguelez |
OBNetwork customer | No |
Web browser | |
Modules | Core |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0043099: Apply new HQL Style in InventoryAmountUpdateProcess.java |
Description | InventoryAmountUpdateProcess.java has 3 HQL queries with:
- the HQL is hard to read because of formatting
- and it is mixing txt and i.e PROPERTY_ID constant which is not recommended by default |
Steps To Reproduce | - |
Proposed Solution | Follow new format as in http://wiki.openbravo.com/wiki/HQL_Coding_Conventions [^] |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0041287 | | acknowledged | Triage Platform Base | Tracking issue: Convert HQL to apply new style |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2020-02-03 12:27 | inigo_lerga | New Issue | |
2020-02-03 12:27 | inigo_lerga | Assigned To | => platform |
2020-02-03 12:27 | inigo_lerga | OBNetwork customer | => No |
2020-02-03 12:27 | inigo_lerga | Modules | => Core |
2020-02-03 12:27 | inigo_lerga | Triggers an Emergency Pack | => No |
2020-02-03 12:27 | inigo_lerga | Assigned To | platform => inigo_lerga |
2020-02-03 12:27 | inigo_lerga | Status | new => scheduled |
2020-02-03 12:28 | inigo_lerga | Relationship added | related to 0041287 |
2020-02-03 14:23 | inigo_lerga | Note Added: 0117430 | |
2020-02-07 13:28 | hgbot | Checkin | |
2020-02-07 13:28 | hgbot | Note Added: 0117567 | |
2020-02-07 13:28 | hgbot | Status | scheduled => resolved |
2020-02-07 13:28 | hgbot | Resolution | open => fixed |
2020-02-07 13:28 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/acfc762fe329f9a89ce2e70cc2e2bf71dd4ec66e [^] |
2020-02-07 13:28 | hgbot | Checkin | |
2020-02-07 13:28 | hgbot | Note Added: 0117568 | |
2020-02-07 13:28 | hgbot | Checkin | |
2020-02-07 13:28 | hgbot | Note Added: 0117569 | |
2020-02-07 13:29 | dmiguelez | Review Assigned To | => dmiguelez |
2020-02-07 13:29 | dmiguelez | Note Added: 0117570 | |
2020-02-07 13:29 | dmiguelez | Status | resolved => closed |
2020-02-07 13:29 | dmiguelez | Fixed in Version | => 3.0PR20Q2 |
Notes |
|
(0117430)
|
inigo_lerga
|
2020-02-03 14:23
|
|
Test Plan Mantis HQL queries:
As the F&B International Group Admin role:
- Go to the Inventory Amount Update window and
create a new record. Leave every field as default.
- Save the record.
- Go to the Lines Tab and create a new record with
"Cerveza Ale 0,5L" as Product. Leave every other
field as default.
- Save the record.
- Press the Process button and Done button in the popup
window.
#In this moment modified HQLs are executed# |
|
|
(0117567)
|
hgbot
|
2020-02-07 13:28
|
|
|
|
(0117568)
|
hgbot
|
2020-02-07 13:28
|
|
|
|
(0117569)
|
hgbot
|
2020-02-07 13:28
|
|
Repository: erp/devel/pi
Changeset: 1023e25134e1c2a7d0b36ae5fccb0510c1ac9175
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Feb 07 13:28:26 2020 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/1023e25134e1c2a7d0b36ae5fccb0510c1ac9175 [^]
Related to ISSUE-43099: Code Review changes
* Use ids instead of objects in hql query
* Changed names of variables to better reflect
that they refer to ids
---
M src/org/openbravo/costing/InventoryAmountUpdateProcess.java
---
|
|
|
|
|