Openbravo Issue Tracking System - Localization Pack: Spain
View Issue Details
0028752Localization Pack: SpainAEAT 303public2015-01-23 12:562015-02-26 11:20
psanjuan 
aferraz 
urgentmajoralways
closedfixed 
20Ubuntu 8.04.1
 
 
32030
OBPS
0028752: 303 Year information should be considered from period's information instead of name set in Year window
303 Year information should be considered from period's information instead of name set in Year window
Define a calendar named 2014 for an Organization.

Manually create the periods of that year starting from July 2014 to December 2014 and then from January 2015 to June 2015

Navigate to Tax Report Launcher window and select Modelo 303 version 2015 mensual for the Organizacion.

Select Jan-15 as period.

Launch the report and realize that year 2014 is taken instead of year 2015
Year taken should be the one corresponding to the period selected.

* If period "Dec-14" 14 is selected by the end-user, 303 Tax form file should take 2014.

* If period "Jan-15" 14 is selected by the end-user, 303 Tax form file should take 2015.

No tags attached.
related to defect 0028039 closed fsoto82 Modules Year information should be considered from period's information instead of name set in Year window 
Issue History
2015-01-23 12:56psanjuanNew Issue
2015-01-23 12:56psanjuanAssigned To => jonalegriaesarte
2015-01-23 12:56psanjuanOBNetwork customer => No
2015-01-23 12:56psanjuanRelationship addedcaused by 0028040
2015-02-02 16:01vmromanosAssigned Tojonalegriaesarte => vmromanos
2015-02-02 16:01vmromanosStatusnew => acknowledged
2015-02-13 11:08psanjuanRelationship addedrelated to 0028039
2015-02-13 12:17psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7678#r7678
2015-02-13 12:17psanjuanProposed Solution updated
2015-02-17 10:20aferrazAssigned Tovmromanos => aferraz
2015-02-17 10:21psanjuanSupport ticket => 32030
2015-02-17 10:21psanjuanOBNetwork customerNo => Yes
2015-02-17 14:00hgbotCheckin
2015-02-17 14:00hgbotNote Added: 0074556
2015-02-17 14:00hgbotStatusacknowledged => resolved
2015-02-17 14:00hgbotResolutionopen => fixed
2015-02-17 14:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat303.es/rev/b95b5f2f6c06e5f46107a472805af1ff126a0c34 [^]
2015-02-17 14:08aferrazNote Added: 0074557
2015-02-18 10:52hgbotCheckin
2015-02-18 10:52hgbotNote Added: 0074583
2015-02-18 12:48psanjuanNote Added: 0074592
2015-02-18 12:48psanjuanStatusresolved => closed
2015-02-18 18:28SandrahuguetNote Added: 0074623
2015-02-26 10:25psanjuanRelationship deletedcaused by 0028040
2015-02-26 11:20psanjuanSummaryIt should be possible to launch 303 tax form for an Organization having a Fiscal Calendar defined from i.e. July to June => 303 Year information should be considered from period's information instead of name set in Year window
2015-02-26 11:20psanjuanDescription Updatedbug_revision_view_page.php?rev_id=7772#r7772
2015-02-26 11:20psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=7773#r7773

Notes
(0074556)
hgbot   
2015-02-17 14:00   
Repository: erp/pmods/org.openbravo.module.aeat303.es
Changeset: b95b5f2f6c06e5f46107a472805af1ff126a0c34
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Tue Feb 17 13:55:39 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat303.es/rev/b95b5f2f6c06e5f46107a472805af1ff126a0c34 [^]

Fixes issue 28752: Wrong year taken when launching Modelo 303 tax report

Instead of taking the year from the Tax Report Launcher window, it will be taken from the year of the period

---
M src-db/database/sourcedata/AD_MESSAGE.xml
M src/org/openbravo/module/aeat303/es/report/v2014/AEAT303Report2014.java
---
(0074557)
aferraz   
2015-02-17 14:08   
Test plan:

- Define a calendar named 2014 for an Organization.
- Manually create the periods of that year starting from July 2014 to December 2014 and then from January 2015 to June 2015
- Add another period from December 2015 to January 2016 called Extra
- Navigate to Tax Report Launcher window and select Modelo 303 version 2015 mensual for the Organizacion. Select Jan-15 as period.
- Launch the report and realize that year 2015 is taken
- Navigate to Tax Report Launcher window and select Modelo 303 version 2015 mensual for the Organizacion. Select Extra as period.
- Launch the report and realize that "El periodo seleccionado debe comenzar y finalizar en el mismo año" error message is shown
(0074583)
hgbot   
2015-02-18 10:52   
Repository: erp/pmods/org.openbravo.module.aeat303.es
Changeset: c4434f3b2724eddc31d9dbc683cadbff8af5a91d
Author: Alvaro Ferraz <alvaro.ferraz <at> openbravo.com>
Date: Wed Feb 18 10:52:20 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat303.es/rev/c4434f3b2724eddc31d9dbc683cadbff8af5a91d [^]

Related to issue 28752: Get correctly ending date

---
M src/org/openbravo/module/aeat303/es/report/v2014/AEAT303Report2014.java
---
(0074592)
psanjuan   
2015-02-18 12:48   
Verified. Correct year selected once period is being selected.
An error is shown in case a period selected (nov-14 - Jan- 15) is selected, as there is no way to select the year.
(0074623)
Sandrahuguet   
2015-02-18 18:28   
Code review done