Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0037661Openbravo ERP09. Financial managementpublic2018-01-17 12:482018-02-22 18:18
maite 
collazoandy4 
urgentmajoralways
closedfixed 
5
 
3.0PR18Q2 
dmiguelez
OBPS
Core
50547
No
0037661: Wrong navigation from Journal Entries Report when using Simple GL Journal
When clicking on "entry number" you are carried to GL Journal instead of Simple GL Journal so no entry is loaded
1. Register Simple GL Journal for valid date and using any accounts. Process and Post document
2. Run Journal Entries Report setting valid dates to see previous entry
3. Click on entry number to navigate to Simple GL Journal document and realize that navigation is wrong
No tags attached.
has duplicate defect 0034193 closed Triage Omni OMS General Ledger Report Navigation to Simple G/l Journal does not wrok 
Issue History
2018-01-17 12:48maiteNew Issue
2018-01-17 12:48maiteAssigned To => Triage Finance
2018-01-17 12:48maiteOBNetwork customer => Yes
2018-01-17 12:48maiteModules => Core
2018-01-17 12:48maiteSupport ticket => 50547
2018-01-17 12:48maiteResolution time => 1486422000
2018-01-17 12:48maiteTriggers an Emergency Pack => No
2018-01-17 12:48maiteIssue Monitored: networkb
2018-01-17 12:53PracticsIssue Monitored: Practics
2018-01-17 16:29dmiguelezResolution time1486422000 => 1517958000
2018-01-18 16:10dmiguelezAssigned ToTriage Finance => collazoandy4
2018-01-24 17:50collazoandy4Statusnew => scheduled
2018-01-25 21:50collazoandy4Note Added: 0101982
2018-01-29 11:49dmiguelezNote Edited: 0101982bug_revision_view_page.php?bugnote_id=0101982#r16603
2018-01-29 12:02hgbotCheckin
2018-01-29 12:02hgbotNote Added: 0102012
2018-01-29 12:03hgbotStatusscheduled => resolved
2018-01-29 12:03hgbotResolutionopen => fixed
2018-01-29 12:03hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/550edfd03abe80007a00f75da1320910c86cc020 [^]
2018-01-29 12:03hgbotCheckin
2018-01-29 12:03hgbotNote Added: 0102013
2018-01-29 12:04dmiguelezReview Assigned To => dmiguelez
2018-01-29 12:04dmiguelezNote Added: 0102014
2018-01-29 12:04dmiguelezStatusresolved => closed
2018-01-29 12:04dmiguelezFixed in Version => 3.0PR18Q2
2018-02-01 16:30ngarciaRelationship addedhas duplicate 0034193
2018-02-22 18:18hudsonbotCheckin
2018-02-22 18:18hudsonbotNote Added: 0102692
2018-02-22 18:18hudsonbotCheckin
2018-02-22 18:18hudsonbotNote Added: 0102693

Notes
(0101982)
collazoandy4   
2018-01-25 21:50   
(edited on: 2018-01-29 11:49)
Test Plan
  Go to Simple G/L Journal window and create a new record:
    Description: Issue
    Create two new records in Lines tab:
      1. Account: 10000 - Capital social, Debit: 5
      2. Account: 10100 - Fondo social, Credit: 5
    Complete the record
    Post the record
    Go to the Journal Entries Report opened and clic on Entry column and check Simple G/L Journal record is opened and select the previos record created
  Go to the Journal Entries Report window and set from date: Today, clic on Search button and check when you clic on Entry column Simple G/L Journal window is opened and select the previous record created

Test Plan II
  Go to G/L Journal window and create a new record:
    Description: Issue2
    Create a new record in Header tab:
      Description: Issue
      Create two new records in Lines tab:
        1. Account: 10000 - Capital social, Debit: 5
        2. Account: 10100 - Fondo social, Credit: 5
      Complete the record
      Post the record
      Go to the Journal Entries Report opened and click on Entry column and check G/L Journal record is opened and select the previous record created
  Go to the Journal Entries Report window and set from date: Today, click on Search button and check when you click on Entry column G/L Journal window is opened and select the previous record created

(0102012)
hgbot   
2018-01-29 12:02   
Repository: erp/devel/pi
Changeset: 550edfd03abe80007a00f75da1320910c86cc020
Author: Armaignac <collazoandy4 <at> gmail.com>
Date: Thu Jan 25 10:02:21 2018 -0500
URL: http://code.openbravo.com/erp/devel/pi/rev/550edfd03abe80007a00f75da1320910c86cc020 [^]

Fixes issue 37661:Wrong navigation from Journal Entries Report when using Simple
GL Journal

In the Journal Entries Report the documents created using Simple GL Journal a wrong
navigation was get by clicking on "entry number" you are carried to GL Journal instead
of Simple GL Journal so no entry is loaded.

A new navegation rule is created to open Simple GL Journal window when journalBatch
is null, also the query was modified to properly set the tab_id taking into account
the journal batch value

---
M src-db/database/sourcedata/AD_TABLE_NAVIGATION.xml
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal_data.xsql
M src/org/openbravo/erpCommon/utility/ReferencedLink.java
---
(0102013)
hgbot   
2018-01-29 12:03   
Repository: erp/devel/pi
Changeset: 97a6ea89415e321ee186b06eb3c11a2808bfa656
Author: David Miguelez <david.miguelez <at> openbravo.com>
Date: Mon Jan 29 09:53:59 2018 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/97a6ea89415e321ee186b06eb3c11a2808bfa656 [^]

Related to Issue 37661.

Removed call to addDataToResponse when not needed.

---
M src/org/openbravo/erpCommon/ad_reports/ReportGeneralLedgerJournal.java
---
(0102014)
dmiguelez   
2018-01-29 12:04   
Code Review + Testing Ok
(0102692)
hudsonbot   
2018-02-22 18:18   
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/980a6ad5bbf5 [^]
Maturity status: Test
(0102693)
hudsonbot   
2018-02-22 18:18   
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/980a6ad5bbf5 [^]
Maturity status: Test