Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028750
TypeCategorySeverityReproducibilityDate SubmittedLast Update
design defect[Localization Pack: Spain] AEAT 390majoralways2015-01-23 12:512015-11-13 10:56
ReporterpsanjuanView Statuspublic 
Assigned Tovmromanos 
PriorityurgentResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision906a4cc31d6e
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabaseOracleJava version1.6
OS VersionUbuntu 8.04.1Database version11.1.0.6.0Ant version1.7.0
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned To
Regression introduced in release
Summary

0028750: It should be possible to launch 390 tax form for an Organization having a Fiscal Calendar defined from i.e. July to June

DescriptionIt should be possible to launch 390 tax form for an Organization having a Fiscal Calendar defined from i.e. July to June
Steps To ReproduceAccess to fiscal calendar and define year 2015-2016 with periods from July 15 to June 16. Configure this caledar as Organization calendar by default.
Define also another calendar 2015 with periods from January 15 to December 15
Do the same for 2016.
Install 390 tax form module.
Navigate to tax report launcher and realize that Fiscal Calendar is not editable, therefore fiscal calendar from January 15 to December 15 can not be selected.
Proposed SolutionAccess to fiscal calendar and define year 2015-2016 with periods from July 15 to June 16. Configure this caledar as Organization calendar by default.
Define also another calendar 2015 with periods from January 15 to December 15
Do the same for 2016.
Install 390 tax form module.
Navigate to tax report launcher and realize that Fiscal Calendar is editable, therefore a fiscal calendar can be selected, regardless only one fiscal calendar can be assigned to the Organization.

Select the calendar starting from January to December.

Verify that the data contained in 390 tax form is correct.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
caused by design defect 0028040 closedvmromanos Modules It is not possible to obtain proper AEAT reports with Fiscal Calendar defined from July to June 

-  Notes
(0080898)
hgbot (developer)
2015-10-08 17:03

Repository: erp/pmods/org.openbravo.module.aeat390.es
Changeset: 906a4cc31d6ed64cdbf1365b3804158f81db9760
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Oct 08 17:00:14 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat390.es/rev/906a4cc31d6ed64cdbf1365b3804158f81db9760 [^]

Fixed issue 28750: Increased major dependency to Tax Report Launcher 1.1.0

The code already supports the posibility of selecting a calendar different from the Organization's one, so no change required.

---
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
---
(0080899)
hgbot (developer)
2015-10-08 17:05

Repository: erp/pmods/org.openbravo.module.aeat390.cashvat.es
Changeset: da58dc458edfdc375d15856a3ede9bd15adca753
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Oct 08 17:01:22 2015 +0200
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat390.cashvat.es/rev/da58dc458edfdc375d15856a3ede9bd15adca753 [^]

Related to issue 28750: Increased major dependency for AEAT 390 3.1.0

---
M src-db/database/sourcedata/AD_DATASET.xml
M src-db/database/sourcedata/AD_MODULE.xml
M src-db/database/sourcedata/AD_MODULE_DEPENDENCY.xml
---
(0081804)
psanjuan (manager)
2015-11-13 09:36
edited on: 2015-11-13 11:52

Test Plan

Pre-requisites:

All test done for a new organization named "Fiscal Calendar" which do have related a fiscal calendar named "Fiscal Calendar June_May" for which three years have been created:
2013 - this year has periods from June 2013 to May 2014
2014 - this year has periods from June 2014 to May 2015
2015 - this year has periods from June 2015 to May 2016

Make sure, all these periods are opened, and the Organization has this fiscal calendar assigned in the Organization window, besides a default Activity assigned in the "Actividades del IAE" tab.

Go to Fiscal Calendar window and create another calendar named "Fiscal Calendar Jan-Dec" which do also have below two years:
2013 - this year has periods from January 2013 to December 2013
2014 - this year has periods from January 2014 to December 2014
2015 - this year has periods from January 2015 to December 2015

After installing 390 tax form module, apply 390 dataset to Fiscal Calendar organization.

Make sure Spanish tax rates are also applied.

Create a product related to "IVA Normal" tax category and related to a valid sales price list.
Create a customer type business partner named "Customer A" located in Spain.

Test Case 1

Go to sales invoice and create a new one date Dec 2013 for a net amount = 10.00. Make sure that the tax rate selected is "Entregas IVA 21%". Complete and Post the invoice.
Tax Base Amount=10.00
Tax Amount=2.10

Go to Tax Report Launcher window and enter/select below data:
Organization = Fiscal Calendar Org
Report = Modelo 390 v2014 - Declaración Anual del IVA
Calendar = Fiscal Calendar Jan-Dec
Year = 2014
Period = Anually.

Launch the report by just entering a file name in the "Tax Report Launcher Input Parameters". Open the csv file generated. Verify it is empty.

Test Case 2

Go to sales invoice and create a new one date January 2014 for a net amount = 20.00. Make sure that the tax rate selected is "Entregas IVA 21%". Complete and Post the invoice.
Tax Base Amount=20.00
Tax Amount=4.20

Go to sales invoice and create a new one date February 2014 for a net amount = 30.00. Make sure that the tax rate selected is "Entregas IVA 21%". Complete and Post the invoice.
Tax Base Amount=30.00
Tax Amount=6.30

Go to sales invoice and create a new one date March 2014 for a net amount = 40.00. Make sure that the tax rate selected is "Entregas IVA 21%". Complete and Post the invoice.
Tax Base Amount=40.00
Tax Amount=8.40

Go to sales invoice and create a new one date April 2014 for a net amount = 50.00. Make sure that the tax rate selected is "Entregas IVA 21%". Complete and Post the invoice.
Tax Base Amount=50.00
Tax Amount=10.50

Go to sales invoice and create a new one date May 2014 for a net amount = 60.00. Make sure that the tax rate selected is "Entregas IVA 21%". Complete and Post the invoice.
Tax Base Amount=60.00
Tax Amount=12.60

Go to sales invoice and create a new one date June 2014 for a net amount = 70.00. Make sure that the tax rate selected is "Entregas IVA 21%. Complete and Post the invoice.
Tax Base Amount=70.00
Tax Amount=14.70

Go to sales invoice and create a new one date July 2014 for a net amount = 80.00. Make sure that the tax rate selected is "Entregas IVA 21%". Complete and Post the invoice.
Tax Base Amount=80.00
Tax Amount=16.80

Go to sales invoice and create a new one date August 2014 for a net amount = 90.00. Make sure that the tax rate selected is "Entregas IVA 21%". Complete and Post the invoice.
Tax Base Amount=90.00
Tax Amount=18.90

Go to sales invoice and create a new one date September 2014 for a net amount = 100.00. Make sure that the tax rate selected is "Entregas IVA 21%". Complete and Post the invoice.
Tax Base Amount=100.00
Tax Amount=21

Go to sales invoice and create a new one date October 2014 for a net amount = 110.00. Make sure that the tax rate selected is "Entregas IVA 21%". Complete and Post the invoice.
Tax Base Amount=110.00
Tax Amount=23.10

Go to sales invoice and create a new one date November 2014 for a net amount = 120.00. Make sure that the tax rate selected is "Entregas IVA 21%". Complete and Post the invoice.
Tax Base Amount=120.00
Tax Amount=25.20

Go to sales invoice and create a new one date December 2014 for a net amount = 130.00. Make sure that the tax rate selected is "Entregas IVA 21%". Complete and Post the invoice.
Tax Base Amount=130.00
Tax Amount=27.30

Go to sales invoice and create a new one date January 2015 for a net amount = 140.00. Make sure that the tax rate selected is "Entregas IVA 21%". Complete and Post the invoice.
Tax Base Amount=140.00
Tax Amount=29.40

Total Tax Base Amount (2014) = 900.00
Total Tax Amount (2014) = 189.00

Go to Tax Report Launcher window and enter/select below data:
Organization = Fiscal Calendar Org
Report = Modelo 390 v2014 - Declaración Anual del IVA
Calendar = Fiscal Calendar Jan-Dec
Year = 2014
Period = Anually.

Launch the report by just entering a file name in the "Tax Report Launcher Input Parameters". Open the csv file generated. Verify it has the 12 invoices dated on 2014.

Open XML file. Verify below data:

<RegGeneral>
        <BaseImponibleyCuota>
            <RegOrdinario>
                <Tipo21>
                    <BI>900.00</BI>
                    <Cuota>189.00</Cuota>
                </Tipo21>
            </RegOrdinario>
            <TotalBasesyCuotasIVA>
                <TipoX>
                    <BI>900.00</BI>
                    <Cuota>189.00</Cuota>
                </TipoX>
            </TotalBasesyCuotasIVA>
            <TotalCuotasIVA>189.00</TotalCuotasIVA>
        </BaseImponibleyCuota>
        <Deducciones>
            <SumDeducciones>0</SumDeducciones>
        </Deducciones>
        <ResRegGeneral>189.00</ResRegGeneral>
    </RegGeneral>
    <LiqAnual>
        <SumResultados>189.00</SumResultados>
        <ResLiquidacion>189.00</ResLiquidacion>
    </LiqAnual>
    <ResLiquidaciones>
        <PerNoRegGrupos/>
    </ResLiquidaciones>
    <VolOperaciones>
        <OpRegGeneral>900.00</OpRegGeneral>
        <TotalVolOp>900.00</TotalVolOp>
    </VolOperaciones>

Test Plan above verified. Issue can be closed.


- Issue History
Date Modified Username Field Change
2015-01-23 12:51 psanjuan New Issue
2015-01-23 12:51 psanjuan Relationship added caused by 0028749
2015-01-23 12:51 psanjuan Relationship deleted caused by 0028749
2015-01-23 12:52 psanjuan Relationship added caused by 0028040
2015-02-26 12:22 psanjuan Steps to Reproduce Updated View Revisions
2015-02-26 12:22 psanjuan Proposed Solution updated
2015-02-26 12:24 psanjuan Assigned To => psanjuan
2015-10-08 16:23 vmromanos Status new => scheduled
2015-10-08 16:23 vmromanos Assigned To psanjuan => vmromanos
2015-10-08 17:03 hgbot Checkin
2015-10-08 17:03 hgbot Note Added: 0080898
2015-10-08 17:03 hgbot Status scheduled => resolved
2015-10-08 17:03 hgbot Resolution open => fixed
2015-10-08 17:03 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat390.es/rev/906a4cc31d6ed64cdbf1365b3804158f81db9760 [^]
2015-10-08 17:05 hgbot Checkin
2015-10-08 17:05 hgbot Note Added: 0080899
2015-11-13 09:36 psanjuan Note Added: 0081804
2015-11-13 09:39 psanjuan Note Edited: 0081804 View Revisions
2015-11-13 09:40 psanjuan Note Edited: 0081804 View Revisions
2015-11-13 10:14 psanjuan Note Edited: 0081804 View Revisions
2015-11-13 10:31 psanjuan Note Edited: 0081804 View Revisions
2015-11-13 10:32 psanjuan Note Edited: 0081804 View Revisions
2015-11-13 10:54 psanjuan Note Edited: 0081804 View Revisions
2015-11-13 10:55 psanjuan Note Edited: 0081804 View Revisions
2015-11-13 10:55 psanjuan Note Edited: 0081804 View Revisions
2015-11-13 10:56 psanjuan Status resolved => closed
2015-11-13 10:58 psanjuan Note Edited: 0081804 View Revisions
2015-11-13 11:52 psanjuan Note Edited: 0081804 View Revisions


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker