Openbravo Issue Tracking System - Openbravo ERP |
| View Issue Details |
|
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0043397 | Openbravo ERP | A. Platform | public | 2020-03-03 11:23 | 2020-03-06 14:42 |
|
| 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 | 0043397: Apply new HQL Style in OrderEventHandler.java |
| Description | OrderEventHandler.java has one HQL query 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-03-03 11:23 | inigo_lerga | New Issue | |
| 2020-03-03 11:23 | inigo_lerga | Assigned To | => inigo_lerga |
| 2020-03-03 11:23 | inigo_lerga | OBNetwork customer | => No |
| 2020-03-03 11:23 | inigo_lerga | Modules | => Core |
| 2020-03-03 11:23 | inigo_lerga | Triggers an Emergency Pack | => No |
| 2020-03-03 11:23 | inigo_lerga | Relationship added | related to 0041287 |
| 2020-03-03 11:23 | inigo_lerga | Status | new => scheduled |
| 2020-03-03 12:29 | inigo_lerga | Note Added: 0118294 | |
| 2020-03-06 14:41 | dmiguelez | Note Added: 0118395 | |
| 2020-03-06 14:41 | hgbot | Checkin | |
| 2020-03-06 14:41 | hgbot | Note Added: 0118396 | |
| 2020-03-06 14:41 | hgbot | Status | scheduled => resolved |
| 2020-03-06 14:41 | hgbot | Resolution | open => fixed |
| 2020-03-06 14:41 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/0c47875d6942d77157a49ab8aac8390cdfb84a2c [^] |
| 2020-03-06 14:41 | hgbot | Checkin | |
| 2020-03-06 14:41 | hgbot | Note Added: 0118397 | |
| 2020-03-06 14:42 | dmiguelez | Review Assigned To | => dmiguelez |
| 2020-03-06 14:42 | dmiguelez | Note Added: 0118398 | |
| 2020-03-06 14:42 | dmiguelez | Status | resolved => closed |
| 2020-03-06 14:42 | dmiguelez | Fixed in Version | => 3.0PR20Q2 |
|
Notes |
|
|
(0118294)
|
|
inigo_lerga
|
|
2020-03-03 12:29
|
|
--Test Plan Mantis HQL queries--
As the F&B International Group Admin role:
- Go to the Purchase Order window and create
a new record. Select any Business Partner desired.
Save the record.
Now change the Business Partner to a different one
ans save again.
#In this moment the modified HQL is executed# |
|
|
|
|
Test Plan II
Log in as F&B International Group Admin
Go to Sales Order Window and create a new record with:
* Organization: F&B España - Región Norte
* Business Partner: Alimentos y Supermercados
Navigate to Basic Discounts Tab and realize that there is one record with Descuento 10%
Change the Business Partner of the Header to Restaurantes Luna Llena and save
Navigate to Basic Discounts Tab and realize that there is only one record with Descuento 5% |
|
|
|
(0118396)
|
|
hgbot
|
|
2020-03-06 14:41
|
|
|
|
|
(0118397)
|
|
hgbot
|
|
2020-03-06 14:41
|
|
Repository: erp/devel/pi
Changeset: 8ace6f1061cc3bceea4611ffb706de2249e88006
Author: Iñigo Lerga <inigo.lerga <at> openbravo.com>
Date: Tue Mar 03 12:43:14 2020 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/8ace6f1061cc3bceea4611ffb706de2249e88006 [^]
related to ISSUE-43397: Finals added and code refactored
-Finals added
-Code refactored inside getOrderLines function.
---
M src/org/openbravo/event/OrderEventHandler.java
---
|
|
|
|
|
|