Openbravo Issue Tracking System - Localization Pack: Spain |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0031744 | Localization Pack: Spain | Multi Dimensional Tax Report Cash VAT | public | 2015-12-17 15:26 | 2016-02-09 11:38 |
|
Reporter | ngarcia | |
Assigned To | markmm82 | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | vmromanos |
Support ticket | 39850 |
OBNetwork customer | OBPS |
Regression introduced in release | |
|
Summary | 0031744: Multidimensional Tax Report Cash VAT is empty report if the Tax Rate filter is used |
Description | Multidimensional Tax Report Cash VAT is empty report if the Tax Rate filter is used. The tax rate name is passed as parameter instead of the ID |
Steps To Reproduce | As group admin role:
Launch the Multidimensinal Tax Report Cash VAT, configure the filters in order to get some values there
Select one of the tax rates shown there
Launch the report again with the same filters but adding the tax rate in the Tax Rate filter
Check the report is empty |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0031890 | | closed | markmm82 | Multidimensional Tax Report is empty report if the Tax Rate filter is used |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2015-12-17 15:26 | ngarcia | New Issue | |
2015-12-17 15:26 | ngarcia | Regression date | => 2016-01-21 |
2015-12-17 15:26 | ngarcia | Support ticket | => 39850 |
2015-12-17 15:26 | ngarcia | OBNetwork customer | => Yes |
2015-12-17 15:27 | ngarcia | Assigned To | => Triage Finance |
2015-12-17 15:28 | ngarcia | Issue Monitored: networkb | |
2015-12-17 15:34 | ngarcia | Description Updated | bug_revision_view_page.php?rev_id=10505#r10505 |
2015-12-18 10:45 | ngarcia | Regression date | 2016-01-21 => |
2015-12-18 10:45 | ngarcia | Resolution time | => 1453330800 |
2015-12-23 16:02 | markmm82 | Status | new => scheduled |
2015-12-28 15:00 | markmm82 | Note Added: 0083013 | |
2015-12-31 13:12 | vmromanos | Assigned To | Triage Finance => markmm82 |
2016-01-14 12:57 | vmromanos | Issue cloned | 0031890 |
2016-01-14 12:57 | vmromanos | Relationship added | related to 0031890 |
2016-01-14 13:03 | hgbot | Checkin | |
2016-01-14 13:03 | hgbot | Note Added: 0083295 | |
2016-01-14 13:03 | hgbot | Status | scheduled => resolved |
2016-01-14 13:03 | hgbot | Resolution | open => fixed |
2016-01-14 13:03 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30.cashvat/rev/14458e7d47664ae57c8789a6c49b4bb92b02b1aa [^] |
2016-01-14 13:05 | vmromanos | Review Assigned To | => vmromanos |
2016-01-14 13:05 | vmromanos | Note Added: 0083297 | |
2016-01-14 13:05 | vmromanos | Status | resolved => closed |
2016-01-14 13:07 | ngarcia | Issue cloned | 0031891 |
2016-02-09 11:38 | eugeni | Issue Monitored: eugeni | |
Notes |
|
|
Fixes Issue 31744: Fixed options of the autogenerated Tax Rate combo.
Each time the Organization combo fire the onchange event, the Tax Rate combo is populated with Tax Rates for this organization. The HTML source code for the combo was incorrect: inside the option the value attribute was setted with the text of the Tax Rate instead of the tax rate ID.
For this reason when the report was used filtering by the Tax rate, an incorrect parameter was submitted and no results obtained.
Several changes was made to return not only the names of the Tax Rates, also the IDs inside
modules\org.openbravo.module.invoiceTaxReportEnhanced30.cashvat\src\org\openbravo\module\invoiceTaxReportEnhanced30\cashvat\ad_reports\OBMTRCV_InvoiceTaxReportJR.java
Test Plan
As group admin role:
Launch the Multidimensinal Tax Report Cash VAT, configure the filters in order to get some values there
From Date: 24-12-2014
To Date: today
Organization: F&B International Group
Tax Rate: blank
Click the HTML format button.
Notice report have several rows and Tax rates.
Select one of the tax rates shown there
Tax Rate: Sales Exempt
Launch the report again with the same filters but adding the tax rate in the Tax Rate filter
Check the report return only results for the selected tax rate. |
|
|
(0083295)
|
hgbot
|
2016-01-14 13:03
|
|
Repository: erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30.cashvat
Changeset: 14458e7d47664ae57c8789a6c49b4bb92b02b1aa
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Jan 14 11:25:33 2016 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.invoiceTaxReportEnhanced30.cashvat/rev/14458e7d47664ae57c8789a6c49b4bb92b02b1aa [^]
Fixed bug 31744: Tax and Withholding combo doesn't filter
Solution partially based on m.molina@nectus.com one.
Each time the Organization combo fire the onchange event, the Tax Rate combo is populated with Tax Rates for this organization. The HTML source code for the combo was incorrect: inside the option the value attribute was setted with the text of the Tax Rate instead of the tax rate ID.
For this reason when the report was used filtering by the Tax rate, an incorrect parameter was submitted and no results obtained.
The fixes properly populates the tax rate and withholding combos with ID and name.
It uses ScrollableResults and session clears to avoid running out of memory.
It uses LinkedHashMap to store the id-value in the right order.
---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/module/invoiceTaxReportEnhanced30/cashvat/ad_reports/OBMTRCV_InvoiceTaxReportJR.java
---
|
|
|
|
Solution based on markmm82 one.
Code review + testing OK.
Available in Multidimensional Tax Report Cash VAT 1.0.100 (or higher) |
|