Openbravo Issue Tracking System - Localization Pack: Spain | |||||||||||||
View Issue Details | |||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||
0030156 | Localization Pack: Spain | AEAT 390 Cash VAT compatible | public | 2015-06-11 12:29 | 2015-06-12 12:23 | ||||||||
Reporter | vmromanos | ||||||||||||
Assigned To | vmromanos | ||||||||||||
Priority | normal | 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 | |||||||||||||
Support ticket | |||||||||||||
OBNetwork customer | OBPS | ||||||||||||
Regression introduced in release | |||||||||||||
Summary | 0030156: Wrong amounts calculated in scenarios where invoice's amount is higher that order's amount | ||||||||||||
Description | In case an invoice is generated from an order, and the invoice's amount is higher that order's amount, the 390 wrongly calculates the tax %. The reason is that the negative tax amount in Invoice | Tax | Cash VAT tab is added to the total 390 tax amount. | ||||||||||||
Steps To Reproduce | Create a Sales Order dated on 2014 with a 21% Cash VAT tax rate. Total amount 10.000€ Create an invoice from the previous order. Edit the net unit price and set a lower amount (for instance 5.000,00 tax base amount = Line Net Price, therefore tax amount = 1050.00) Complete the invoice and post it. Pay the invoice dated on 2014. Realize that two lines have been created under Cash VAT tab: Percentage // Taxable Amount // Tax Amount -100 // -5000.00 // -1050.00 200 // 10000.00 // 21000.00 Sum up of above two lines is: 100 // 5000.00 // 1050.00 Launch the 390. Verify that the tax amount is not properly calculated. | ||||||||||||
Proposed Solution | |||||||||||||
Additional Information | |||||||||||||
Tags | No tags attached. | ||||||||||||
Relationships |
| ||||||||||||
Attached Files | ![]() https://issues.openbravo.com/file_download.php?file_id=8190&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=8191&type=bug ![]() https://issues.openbravo.com/file_download.php?file_id=8192&type=bug | ||||||||||||
Issue History | |||||||||||||
Date Modified | Username | Field | Change | ||||||||||
2015-06-11 12:29 | vmromanos | New Issue | |||||||||||
2015-06-11 12:29 | vmromanos | Assigned To | => vmromanos | ||||||||||
2015-06-11 12:29 | vmromanos | OBNetwork customer | => Yes | ||||||||||
2015-06-11 12:29 | vmromanos | Issue generated from | 0030155 | ||||||||||
2015-06-11 12:29 | vmromanos | Relationship added | related to 0027484 | ||||||||||
2015-06-11 12:45 | vmromanos | Priority | immediate => normal | ||||||||||
2015-06-11 15:23 | vmromanos | Status | new => scheduled | ||||||||||
2015-06-11 15:23 | hgbot | Checkin | |||||||||||
2015-06-11 15:23 | hgbot | Note Added: 0078210 | |||||||||||
2015-06-11 15:23 | hgbot | Status | scheduled => resolved | ||||||||||
2015-06-11 15:23 | hgbot | Resolution | open => fixed | ||||||||||
2015-06-11 15:23 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/pmods/org.openbravo.module.aeat390.es/rev/f34cff28ee305274ab0ec904b31289b81f399adc [^] | ||||||||||
2015-06-12 11:31 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=8828#r8828 | ||||||||||
2015-06-12 12:15 | psanjuan | Note Added: 0078232 | |||||||||||
2015-06-12 12:15 | psanjuan | Status | resolved => closed | ||||||||||
2015-06-12 12:15 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=8829#r8829 | ||||||||||
2015-06-12 12:17 | psanjuan | File Added: 3902014Antes.xml | |||||||||||
2015-06-12 12:17 | psanjuan | File Added: 3902014Error.xml | |||||||||||
2015-06-12 12:17 | psanjuan | File Added: 3902014Despues.xml | |||||||||||
2015-06-12 12:20 | psanjuan | Note Edited: 0078232 | bug_revision_view_page.php?bugnote_id=0078232#r8831 | ||||||||||
2015-06-12 12:23 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=8832#r8832 | ||||||||||
2015-06-12 12:24 | psanjuan | Note Edited: 0078232 | bug_revision_view_page.php?bugnote_id=0078232#r8833 | ||||||||||
2015-06-12 12:25 | psanjuan | Note Edited: 0078232 | bug_revision_view_page.php?bugnote_id=0078232#r8834 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|