Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0042762 | Openbravo ERP | A. Platform | public | 2020-01-09 13:21 | 2020-03-20 17:54 |
|
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 | 0042762: Apply new HQL Style in ProcessInvoice.java |
Description | ProcessInvoice.java has four HQL queries with:
- the HQL is hard to read because of formatting |
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-01-09 13:21 | inigo_lerga | New Issue | |
2020-01-09 13:21 | inigo_lerga | Assigned To | => inigo_lerga |
2020-01-09 13:21 | inigo_lerga | OBNetwork customer | => No |
2020-01-09 13:21 | inigo_lerga | Modules | => Core |
2020-01-09 13:21 | inigo_lerga | Triggers an Emergency Pack | => No |
2020-01-09 13:22 | inigo_lerga | Proposed Solution updated | |
2020-01-09 13:22 | inigo_lerga | Status | new => scheduled |
2020-01-09 16:54 | inigo_lerga | Note Added: 0116735 | |
2020-01-10 14:44 | inigo_lerga | Relationship added | related to 0041287 |
2020-01-17 12:25 | hgbot | Checkin | |
2020-01-17 12:25 | hgbot | Note Added: 0117007 | |
2020-01-17 12:25 | hgbot | Checkin | |
2020-01-17 12:25 | hgbot | Note Added: 0117008 | |
2020-01-17 12:25 | dmiguelez | Status | scheduled => resolved |
2020-01-17 12:25 | dmiguelez | Fixed in Version | => 3.0PR20Q2 |
2020-01-17 12:25 | dmiguelez | Fixed in SCM revision | => https://code.openbravo.com/erp/devel/pi/rev/6f2ec9ddeaed662466719c2a8deef21bd6dcb8d9 [^] |
2020-01-17 12:25 | dmiguelez | Resolution | open => fixed |
2020-01-17 12:26 | dmiguelez | Review Assigned To | => dmiguelez |
2020-01-17 12:26 | dmiguelez | Note Added: 0117009 | |
2020-01-17 12:26 | dmiguelez | Status | resolved => closed |
2020-03-20 17:54 | hudsonbot | Checkin | |
2020-03-20 17:54 | hudsonbot | Note Added: 0118731 | |
Notes |
|
(0116735)
|
inigo_lerga
|
2020-01-09 16:54
|
|
Test Plan Mantis First modified HQL:
As the F&B International Group Admin role:
- Go to the Sales Invoice window and
enter a new record with any Business
Partner. Add a new line with any product
and quantity desired.
- Complete de Invoice and Press the Reactivate
button. Select the void option and OK button.
#In this moment the modified HQL is executed#
Test Plan Mantis Second, Third and Fourth modified HQLs:
As the F&B International Group Admin role:
- Go to the Purchase Order window and
enter a new record with any Business
Partner. Add a new line with any product
and quantity desired. Complete the Order.
- Go to the Payment Out window and enter a
new record with the previous Business Partner
in the Paying To field.
- Press the Add Details button, select Orders
in the options shown in the Transaction Type
field. Select the Order previously created and
press the Done button.
- Complete the Payment Out.
- Go to the Purchase Invoice window and create a
new record. Select the previously used Business
Partner.
- Press the Create Lines From Order button and
select the previously completed Order. Press the
Done button.
- Complete the Purchase Invoice. Now press the
Reactivate button and select the Void option in
the Action regarding document. Press Ok button.
#In this moment the modified HQLs are executed# |
|
|
(0117007)
|
hgbot
|
2020-01-17 12:25
|
|
Repository: erp/devel/pi
Changeset: 6f2ec9ddeaed662466719c2a8deef21bd6dcb8d9
Author: IƱigo Lerga <inigo.lerga <at> openbravo.com>
Date: Thu Jan 09 14:57:22 2020 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/6f2ec9ddeaed662466719c2a8deef21bd6dcb8d9 [^]
Related to Issue 42762: Applied new HQL Style and Sonarlint suggestions
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
---
|
|
|
(0117008)
|
hgbot
|
2020-01-17 12:25
|
|
Repository: erp/devel/pi
Changeset: d3aaf9dada39fd8ee6b9fdb707dfe27481f028e0
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Fri Jan 17 12:24:34 2020 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/d3aaf9dada39fd8ee6b9fdb707dfe27481f028e0 [^]
Related to ISSUE-42762: Code Review Changes:
* Changed name of constant to follow standard conventions
* Do not use Boolean.TRUE.equals, keep the code as before to make it more redable
* Removed unused parameter in method
---
M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/ad_actionbutton/ProcessInvoice.java
---
|
|
|
|
|
|
|
|