Openbravo Issue Tracking System - Localization Pack: Spain |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028739 | Localization Pack: Spain | AEAT 390 | public | 2015-01-22 18:23 | 2015-02-04 12:55 |
|
Reporter | vmromanos | |
Assigned To | vmromanos | |
Priority | normal | Severity | trivial | Reproducibility | have not tried |
Status | closed | Resolution | invalid | |
Platform | | OS | 20 | OS Version | Debian 5.0 |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Regression date | |
Regression introduced by commit | |
Regression level | |
Review Assigned To | vmromanos |
Support ticket | |
OBNetwork customer | |
Regression introduced in release | |
|
Summary | 0028739: Negative amounts in VOLUME_OPERATIONS and SPECIFIC_OPERATIONS |
Description | According 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 Reproduce | 1. 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 |
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | design defect | 0028858 | | closed | vmromanos | Modelo 390 2015 (to be submitted on Jan 2016) redesign so only the credit notes dated on the corresponding period are included |
|
Attached Files | |
|
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 | bug_revision_view_page.php?rev_id=7523#r7523 |
2015-01-22 18:25 | vmromanos | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=7524#r7524 |
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 | |
Notes |
|
(0073739)
|
hgbot
|
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
|
2015-02-04 12:50
|
|
|
|
|
Finally rejected the issue because the proposed solution wasn't right.
The changes have been reverted from the repository too. |
|
|
|
Correct proposed solution can be found on the issue related. Issue 28858. |
|