Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0042725 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | always | 2020-01-08 10:30 | 2020-03-20 17:54 | |||
Reporter | inigo_lerga | View Status | public | |||||
Assigned To | inigo_lerga | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR20Q2 | |||
Status | closed | Fix in branch | Fixed in SCM revision | 7a262a5840ec | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
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 | 0042725: Apply new HQL Style in AddPaymentActionHandler.java | |||||||
Description | AddPaymentActionHandler.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 [^] | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0116691) inigo_lerga (viewer) 2020-01-08 13:19 |
Test Plan Mantis: As the F&B International Group Admin role: - Go to Sales Order Window and create a new record. Select any Business Partner. - Go to Lines Tab and create a new line with any product and quantity. - Save and press the Book button of the Sales Order. - Press the Add Payment button. - Inside the popup window named Add Payment press the Done button. #In this moment the modified hql query is executed# |
(0116734) dmiguelez (viewer) 2020-01-09 16:18 |
Test Plan II Go to Payment In Window and create a new record with: * Organization: F&B España - Región Norte * Received From: Alimentos y Supermercados * Amount: 100 Click on Add Details Button. In the Totals section, select 'Leave the credit to be used later' as the Overpayment Action and click on Done. Create another record with: * Organization: F&B España - Región Norte * Received From: Alimentos y Supermercados * Amount: 0 Click on Add Details Button. In the GL Items section click on Add New to create a new record with: * G/L Item: Capital Social * Business Partner: Alimentos y Supermercados * Received In: 100 In the Credit to Use section select the record related to the previous payment Click on Done. In the Lines, check in the Dimensions section that the Business Partner dimension has the value 'Alimentos y Supermercados' |
(0116747) hgbot (developer) 2020-01-10 08:08 |
Repository: erp/devel/pi Changeset: 7a262a5840ecb229574906e57dafc36176968fe0 Author: Iñigo Lerga <inigo.lerga <at> openbravo.com> Date: Wed Jan 08 11:23:28 2020 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/7a262a5840ecb229574906e57dafc36176968fe0 [^] Related to Issue 42725: Applied new HQL Style and SonarLint suggestions --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentActionHandler.java --- |
(0116748) hgbot (developer) 2020-01-10 08:08 |
Repository: erp/devel/pi Changeset: 774394e7fee9d65251ccc0f12205309ad121e23f Author: David Miguelez <david.miguelez <at> openbravo.com> Date: Thu Jan 09 15:57:31 2020 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/774394e7fee9d65251ccc0f12205309ad121e23f [^] Related to Issue 42725: Code Review changes * Reorder modifiers of class variable * Split fullPaydAndHasNegativeLines into two independant methods to make code more redable * Rename method accountDimension to getAccountDimension and send the class as a parameter to properly retrieve the desired BaseOBObject * Add final modifiers to variables and parameters --- M modules/org.openbravo.advpaymentmngt/src/org/openbravo/advpaymentmngt/actionHandler/AddPaymentActionHandler.java --- |
(0116749) dmiguelez (viewer) 2020-01-10 08:09 |
Code Review + Testing Ok |
(0118725) hudsonbot (viewer) 2020-03-20 17:54 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b31620115262 [^] Maturity status: Test |
(0118726) hudsonbot (viewer) 2020-03-20 17:54 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/b31620115262 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2020-01-08 10:30 | inigo_lerga | New Issue | |
2020-01-08 10:30 | inigo_lerga | Assigned To | => inigo_lerga |
2020-01-08 10:30 | inigo_lerga | OBNetwork customer | => No |
2020-01-08 10:30 | inigo_lerga | Modules | => Core |
2020-01-08 10:30 | inigo_lerga | Triggers an Emergency Pack | => No |
2020-01-08 10:30 | inigo_lerga | Status | new => scheduled |
2020-01-08 10:31 | inigo_lerga | Relationship added | related to 0041287 |
2020-01-08 13:19 | inigo_lerga | Note Added: 0116691 | |
2020-01-08 13:25 | inigo_lerga | Summary | Apply new HQL Style => Apply new HQL Style in AddPaymentActionHandler.java |
2020-01-08 13:25 | inigo_lerga | Description Updated | View Revisions |
2020-01-08 14:02 | inigo_lerga | Description Updated | View Revisions |
2020-01-09 16:18 | dmiguelez | Note Added: 0116734 | |
2020-01-10 08:08 | hgbot | Checkin | |
2020-01-10 08:08 | hgbot | Note Added: 0116747 | |
2020-01-10 08:08 | hgbot | Checkin | |
2020-01-10 08:08 | hgbot | Note Added: 0116748 | |
2020-01-10 08:09 | dmiguelez | Status | scheduled => resolved |
2020-01-10 08:09 | dmiguelez | Fixed in Version | => 3.0PR20Q2 |
2020-01-10 08:09 | dmiguelez | Fixed in SCM revision | => https://code.openbravo.com/erp/devel/pi/rev/7a262a5840ecb229574906e57dafc36176968fe0 [^] |
2020-01-10 08:09 | dmiguelez | Resolution | open => fixed |
2020-01-10 08:09 | dmiguelez | Review Assigned To | => dmiguelez |
2020-01-10 08:09 | dmiguelez | Note Added: 0116749 | |
2020-01-10 08:09 | dmiguelez | Status | resolved => closed |
2020-03-20 17:54 | hudsonbot | Checkin | |
2020-03-20 17:54 | hudsonbot | Note Added: 0118725 | |
2020-03-20 17:54 | hudsonbot | Checkin | |
2020-03-20 17:54 | hudsonbot | Note Added: 0118726 |
Copyright © 2000 - 2009 MantisBT Group |