Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0040333Openbravo ERP09. Financial managementpublic2019-03-06 17:522019-03-28 14:56
francisco 
markmm82 
highmajoralways
closedfixed 
5
 
3.0PR19Q2 
Sandrahuguet
Core
No
0040333: Advance Filters in Trial Balance is not working
when you are trying to filter in Filter advanced section: "From account" "To Account" the filter is not working
In Pi environment:
* Go to Trial Balance
* In Primary Filters:
    * From 01-01-2017
    * To 31-12-2019
    * Organization F&B International Group
* In Advanced Filters
    * Account level breakdown
Click on search and the result you see will be the same than if you apply one more filter.
Again in:
* In Advanced Filters
    * From Account select one account
    * To Account select one account
Click on search you will have the same result than before
No tags attached.
Issue History
2019-03-06 17:52franciscoNew Issue
2019-03-06 17:52franciscoAssigned To => Triage Finance
2019-03-06 17:52franciscoModules => Core
2019-03-06 17:52franciscoResolution time => 1490565600
2019-03-06 17:52franciscoTriggers an Emergency Pack => No
2019-03-06 18:13PracticsIssue Monitored: Practics
2019-03-22 18:03franciscoResolution time1490565600 => 1553641200
2019-03-25 08:50SandrahuguetAssigned ToTriage Finance => markmm82
2019-03-25 09:00franciscoResolution time1553641200 => 1555106400
2019-03-25 14:02markmm82Statusnew => acknowledged
2019-03-25 21:30markmm82Statusacknowledged => scheduled
2019-03-26 02:21markmm82Note Added: 0110638
2019-03-26 15:39hgbotCheckin
2019-03-26 15:39hgbotNote Added: 0110662
2019-03-26 15:39hgbotStatusscheduled => resolved
2019-03-26 15:39hgbotResolutionopen => fixed
2019-03-26 15:39hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/8fef3f886c4539f047d5c2c1171b04f42c095736 [^]
2019-03-26 15:48SandrahuguetReview Assigned To => Sandrahuguet
2019-03-26 15:48SandrahuguetNote Added: 0110663
2019-03-26 15:48SandrahuguetStatusresolved => closed
2019-03-26 15:48SandrahuguetFixed in Version => 3.0PR19Q2
2019-03-28 14:56hudsonbotCheckin
2019-03-28 14:56hudsonbotNote Added: 0110893

Notes
(0110638)
markmm82   
2019-03-26 02:21   
Test Plan:
As F&B Group Admin
* Go to Trial Balance
* In Primary Filters:
    * From 01-01-2017
    * To 31-12-2019
    * Organization F&B International Group
* In Advanced Filters
    * Account level Subaccount
    Notice that Account From and Account To fields are shown
Click on search and take note of the result you see.

* In Advanced Filters select accounts in a middle of previously results
    * From Account select one account (for example 40000)
    * To Account select one account (for example 60000)
Click on search and notice you just have those accounts in that range.

* In Advanced Filters select an account level different than Subaccount
    Notice that Account From and Account To fields are hidden.
Click on search and notice you have other results different than previously when the subaccount level was defined.
(0110662)
hgbot   
2019-03-26 15:39   
Repository: erp/devel/pi
Changeset: 8fef3f886c4539f047d5c2c1171b04f42c095736
Author: Mark Molina <mark.molina <at> doceleguas.com>
Date: Mon Mar 25 22:17:37 2019 -0300
URL: http://code.openbravo.com/erp/devel/pi/rev/8fef3f886c4539f047d5c2c1171b04f42c095736 [^]

Fixes issue 40333: Advance Filters in Trial Balance is not working

The account from/to filters should be shown just if the Account Level filter is
"Subaccount" in any other case it should be hidden as they are used in the report
just for this particular case.

The display logic of this section/fields was incorrect defined because after a previous
search it was setting as TRUE to display the fields if the Advanced Filters section is
expanded, but it might take into account also the display logic explained before
asking if the selected account level is "Subaccount".

When the Advanced filters section is expanded then these fields will be hidden if the
selected Account level is different than "Subaccount"

---
M src/org/openbravo/erpCommon/ad_reports/ReportTrialBalance.html
---
(0110663)
Sandrahuguet   
2019-03-26 15:48   
Code review + testing OK
(0110893)
hudsonbot   
2019-03-28 14:56   
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/b2fbc1588df4 [^]
Maturity status: Test