Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028956 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | major | always | 2015-02-16 17:52 | 2015-02-23 05:11 | |||
Reporter | psanjuan | View Status | public | |||||
Assigned To | vmromanos | |||||||
Priority | urgent | Resolution | fixed | Fixed in Version | pi | |||
Status | closed | Fix in branch | pi | Fixed in SCM revision | d6d3d6ca0aac | |||
Projection | none | ETA | none | Target Version | ||||
OS | Linux 32 bit | Database | Oracle | Java version | 1.6 | |||
OS Version | Ubuntu 8.04.1 | Database version | 11.1.0.6.0 | Ant version | 1.7.0 | |||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | umartirena | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | Production - Confirmed Stable | |||||||
Regression date | 2014-05-23 | |||||||
Regression introduced in release | 3.0PR14Q3 | |||||||
Regression introduced by commit | https://code.openbravo.com/erp/devel/pi/rev/cbb97a88d93a77eb501c229068804e7bc1cc4990 [^] | |||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028956: Negative Cash VAT lines created while partially paying an AP/AR Credit Memo | |||||||
Description | Cash VAT lines populated in negative while paying partially an AP/AR Credit Memo. Those lines should also be positive. In case of total payment Cash VAT lines are created positive, which is correct. This scenario have an impact on the way those amounts are being handled on VAT Tax Form as those tax forms consider those lines must be positive. | |||||||
Steps To Reproduce | In F&B España create a vendor configured as a Cash VAT vendor. Create a purchase invoice for that vendor dated on 2015. Add a product, Enter 20 units of that product. Make sure that the Tax Rate used is a Cash VAT tax rate. Complete and post. Partially pay this invoice. Navigate to Tax tab, Cash VAT sub-tab and make sure that the values shown there are positive. Create an AP Credit Memo for that vendor, dated on 2015. Select the same product and enter 1 (positive) unit of that product. Make sure that the Tax Rate used is a Cash VAT tax rate. Complete and post. Partially pay this credit memo. Navigate to Tax tab, Cash VAT sub-tab and realize that the values shown there are negative. That is not correct. | |||||||
Proposed Solution | While partially paying a credit memo that includes Cash VAT, Cash VAT lines should be positive. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|||||||||||||||||
|
![]() |
|
(0074553) vmromanos (viewer) 2015-02-17 13:22 |
Requirements: 1. Fix Core's code in charge of populating Cash VAT Info 2. Create a module script in Cash VAT module to fix wrong data |
(0074554) hgbot (developer) 2015-02-17 13:44 |
Repository: erp/devel/pi Changeset: 17600da4f044972bbd8a1ccf70c7a4c2f14ef069 Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> Date: Mon Feb 16 18:04:56 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/17600da4f044972bbd8a1ccf70c7a4c2f14ef069 [^] Related to issue 28956: Applied Openbravo's code format --- M src/org/openbravo/erpCommon/utility/CashVATUtil.java --- |
(0074555) hgbot (developer) 2015-02-17 13:44 |
Repository: erp/devel/pi Changeset: d6d3d6ca0aaccb3fbadff29549316471e39c3a63 Author: Víctor Martínez Romanos <victor.martinez <at> openbravo.com> Date: Tue Feb 17 13:40:24 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/d6d3d6ca0aaccb3fbadff29549316471e39c3a63 [^] Fixed bug 28956: Negative Cash VAT info when partially paying Credit Memo When there was a partial payment in cash vat, the calculated percentage had the wrong sign (negative, when it should be possitive). Thus the tax and taxable amounts had also the opposite sign. The fix negates the invoice's grand total amount in case of a "reversal" document (i.e. Credit Memo), so the percentage, tax and taxable amounts are OK. Note that the tax and taxable amount sign must honor the correspondent c_invoicetax record. (See testlink test case: "[cashVATe180] Sales Invoice AR Credit Memo (Cash VAT). Partial Payment. Transaction account" for more info) For fixing previous wrong data, a module script will be available in Cash VAT module 1.0.8 or higher --- M src/org/openbravo/erpCommon/utility/CashVATUtil.java --- |
(0074574) umartirena (viewer) 2015-02-17 21:22 |
Code Review + Testing OK |
(0074772) hudsonbot (viewer) 2015-02-23 05:11 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6856352d7235 [^] Maturity status: Test |
(0074773) hudsonbot (viewer) 2015-02-23 05:11 |
A changeset related to this issue has been promoted main and to the Central Repository, after passing a series of tests. Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/6856352d7235 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2015-02-16 17:52 | psanjuan | New Issue | |
2015-02-16 17:52 | psanjuan | Assigned To | => vmromanos |
2015-02-16 17:52 | psanjuan | OBNetwork customer | => No |
2015-02-16 17:52 | psanjuan | Modules | => Core |
2015-02-16 17:52 | psanjuan | Regression level | => Production - Confirmed Stable |
2015-02-16 17:52 | psanjuan | Regression date | => 2014-05-23 |
2015-02-16 17:52 | psanjuan | Regression introduced in release | => 3.0PR14Q3 |
2015-02-16 17:52 | psanjuan | Regression introduced by commit | => https://code.openbravo.com/erp/devel/pi/rev/cbb97a88d93a77eb501c229068804e7bc1cc4990 [^] |
2015-02-16 17:52 | psanjuan | Triggers an Emergency Pack | => No |
2015-02-16 18:40 | psanjuan | Summary | Negative Cash VAT lines while partially paying an AP/AR Credit Memo => Negative Cash VAT lines created while partially paying an AP/AR Credit Memo |
2015-02-16 18:40 | psanjuan | Description Updated | View Revisions |
2015-02-16 18:40 | psanjuan | Steps to Reproduce Updated | View Revisions |
2015-02-16 18:40 | psanjuan | Proposed Solution updated | |
2015-02-17 07:57 | dmitry_mezentsev | Relationship added | caused by 0026571 |
2015-02-17 13:22 | vmromanos | Status | new => scheduled |
2015-02-17 13:22 | vmromanos | Note Added: 0074553 | |
2015-02-17 13:22 | vmromanos | fix_in_branch | => pi |
2015-02-17 13:43 | vmromanos | Relationship added | blocks 0028966 |
2015-02-17 13:44 | hgbot | Checkin | |
2015-02-17 13:44 | hgbot | Note Added: 0074554 | |
2015-02-17 13:44 | hgbot | Checkin | |
2015-02-17 13:45 | hgbot | Note Added: 0074555 | |
2015-02-17 13:45 | hgbot | Status | scheduled => resolved |
2015-02-17 13:45 | hgbot | Resolution | open => fixed |
2015-02-17 13:45 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/d6d3d6ca0aaccb3fbadff29549316471e39c3a63 [^] |
2015-02-17 21:22 | umartirena | Review Assigned To | => umartirena |
2015-02-17 21:22 | umartirena | Note Added: 0074574 | |
2015-02-17 21:22 | umartirena | Status | resolved => closed |
2015-02-17 21:22 | umartirena | Fixed in Version | => pi |
2015-02-23 05:11 | hudsonbot | Checkin | |
2015-02-23 05:11 | hudsonbot | Note Added: 0074772 | |
2015-02-23 05:11 | hudsonbot | Checkin | |
2015-02-23 05:11 | hudsonbot | Note Added: 0074773 |
Copyright © 2000 - 2009 MantisBT Group |