Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0028956 | Openbravo ERP | 09. Financial management | public | 2015-02-16 17:52 | 2015-02-23 05:11 |
|
Reporter | psanjuan | |
Assigned To | vmromanos | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 20 | OS Version | Ubuntu 8.04.1 |
Product Version | | |
Target Version | | Fixed in Version | pi | |
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. |
Additional Information | |
Tags | No tags attached. |
Relationships | caused by | defect | 0026571 | 3.0PR14Q3 | closed | AtulOpenbravo | Openbravo ERP | Error when paying a "cash vat" invoice with total amount lower than related order's amount | blocks | defect | 0028966 | | closed | vmromanos | Modules | Modulescript required related to issue 28956 |
|
Attached Files | |
|
Issue History |
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 | bug_revision_view_page.php?rev_id=7691#r7691 |
2015-02-16 18:40 | psanjuan | Steps to Reproduce Updated | bug_revision_view_page.php?rev_id=7693#r7693 |
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 | |
Notes |
|
|
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
|
2015-02-17 13:44
|
|
|
|
(0074555)
|
hgbot
|
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
|
2015-02-17 21:22
|
|
|
|
|
|
|
|
|