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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0028739
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Localization Pack: Spain] AEAT 390trivialhave not tried2015-01-22 18:232015-02-04 12:55
ReportervmromanosView Statuspublic 
Assigned Tovmromanos 
PrioritynormalResolutioninvalidFixed in Version
StatusclosedFix in branchFixed in SCM revision34086731e3ff
ProjectionnoneETAnoneTarget Version
OSLinux 32 bitDatabasePostgreSQLJava version1.6.0_12
OS VersionDebian 5.0Database version8.3.8Ant version1.7.0
Product VersionSCM revision 
Regression date
Regression introduced by commit
Regression level
Review Assigned Tovmromanos
Regression introduced in release
Summary

0028739: Negative amounts in VOLUME_OPERATIONS and SPECIFIC_OPERATIONS

DescriptionAccording to AEAT, if any of the boxes inside the VOLUME_OPERATIONS and SPECIFIC_OPERATIONS groups is a negative amount, then the correspondent box (aka XML tag) shouldn't be included into the generated XML file.

Note that this is a very strange scenario, where a company has invoiced more credit memos than normal invoices.

Right now the automatic XML validation detects any negative value and raises an error. Instead, the process should detect that scenario and avoid including those boxes.
Steps To Reproduce1. Create a sales credit memo for any tax rate (example Entregas IVA 21%) included into the 390 report for an amount bigger than the correspondent to normal invoices (for example 9.999.999€)
2. Post the invoice
3. Launch the 390 report. An error is raised
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to design defect 0028858 closedvmromanos Modelo 390 2015 (to be submitted on Jan 2016) redesign so only the credit notes dated on the corresponding period are included 

-  Notes
(0073739)
hgbot (developer)
2015-01-22 18:50

Repository: erp/pmods/org.openbravo.module.aeat390.es
Changeset: 34086731e3ff8de904ac76426b5333f545c6c469
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Thu Jan 22 18:46:38 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat390.es/rev/34086731e3ff8de904ac76426b5333f545c6c469 [^]

Fixed bug 28739: Negative amounts in VOLUME_OPERATIONS and SPECIFIC_OPERATIONS,

If amount is negative, it's not necessary to include it here according to AEAT. However note that the csv file will reflect these negative transactions

---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/module/aeat390/es/api/cashvat/AEAT390CashVATReadyReport.java
---
(0074076)
hgbot (developer)
2015-02-04 12:50

Repository: erp/pmods/org.openbravo.module.aeat390.es
Changeset: 5a6e8cb7c8e4b071efb8c1907a46ccc342f3cf41
Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com>
Date: Wed Feb 04 12:45:08 2015 +0100
URL: http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat390.es/rev/5a6e8cb7c8e4b071efb8c1907a46ccc342f3cf41 [^]

Issue 28739: Reverted changes because the solution was not right

---
M src-db/database/sourcedata/AD_MODULE.xml
M src/org/openbravo/module/aeat390/es/api/cashvat/AEAT390CashVATReadyReport.java
---
(0074077)
vmromanos (manager)
2015-02-04 12:51

Finally rejected the issue because the proposed solution wasn't right.
The changes have been reverted from the repository too.
(0074078)
psanjuan (manager)
2015-02-04 12:55

Correct proposed solution can be found on the issue related. Issue 28858.

- Issue History
Date Modified Username Field Change
2015-01-22 18:23 vmromanos New Issue
2015-01-22 18:23 vmromanos Assigned To => vmromanos
2015-01-22 18:24 vmromanos Steps to Reproduce Updated View Revisions
2015-01-22 18:25 vmromanos Steps to Reproduce Updated View Revisions
2015-01-22 18:32 vmromanos Status new => scheduled
2015-01-22 18:32 vmromanos fix_in_branch => pi
2015-01-22 18:50 hgbot Checkin
2015-01-22 18:50 hgbot Note Added: 0073739
2015-01-22 18:50 hgbot Status scheduled => resolved
2015-01-22 18:50 hgbot Resolution open => fixed
2015-01-22 18:50 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat390.es/rev/34086731e3ff8de904ac76426b5333f545c6c469 [^]
2015-02-04 12:38 psanjuan Relationship added related to 0028858
2015-02-04 12:50 hgbot Checkin
2015-02-04 12:50 hgbot Note Added: 0074076
2015-02-04 12:50 vmromanos Status resolved => new
2015-02-04 12:50 vmromanos fix_in_branch pi =>
2015-02-04 12:51 vmromanos Review Assigned To => vmromanos
2015-02-04 12:51 vmromanos Note Added: 0074077
2015-02-04 12:51 vmromanos Status new => closed
2015-02-04 12:51 vmromanos Resolution fixed => invalid
2015-02-04 12:55 psanjuan Note Added: 0074078


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker