Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0021068 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] 09. Financial management | minor | have not tried | 2012-07-13 12:08 | 2012-09-28 14:39 | |||
Reporter | psarobe | View Status | public | |||||
Assigned To | pramakrishnan | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | bd01edf33b85 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | PostgreSQL | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | pi | SCM revision | ||||||
Merge Request Status | ||||||||
Review Assigned To | dmiguelez | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0021068: Reactivating an invoice that has discounts and price includes taxes, the tax amt sometimes is not correct | |||||||
Description | After completing again de invoice everything is fine and numbers are correct Only happens in postgres | |||||||
Steps To Reproduce | 1. Go to sales invoice window 2. Click new and select hoteles buenas noches 3. Select the price list "Tarifa de ventas". Must be marked as "Price includes taxes" 4. Save the header 5. Add a discount in the discount tab: 10% 6. Move to lines and select "Agua sin gas 1L" 7. Complete the invoice. 8. Reactivate the invoice 9. Move to tax tab and notice the tax amount is not correct: 9.1 The total gross is 1.53 9.2 Tax amount is 0.23 9.3 Taxable amount is 1.29 So tax amount must be 0.24 in order to sum 1.53 | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0050968) fleroux (viewer) 2012-07-29 06:57 |
folks have you tested this fix? if not, can i help testing this? |
(0052564) dmiguelez (viewer) 2012-09-25 13:10 |
Thanks a lot for your help. We've found it really useful. |
(0052565) hgbot (developer) 2012-09-25 13:10 |
Repository: erp/devel/pi Changeset: bd01edf33b85b09616570957afa0662ef35996b1 Author: David Miguelez <david.miguelez <at> openbravo.com> Date: Mon Sep 24 17:48:49 2012 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/bd01edf33b85b09616570957afa0662ef35996b1 [^] Fixes issue 21068: Calls Invoicetax_rounding procedure for fixing tax amount. Contribution from fleroux. --- M src-db/database/model/triggers/C_INVOICELINETAX_TRG.xml --- |
(0052566) dmiguelez (viewer) 2012-09-25 13:11 |
Code Review + Testing OK |
(0052571) dmiguelez (viewer) 2012-09-25 13:34 |
Testing Plan: 1. Go to sales invoice window 2. Click new and select hoteles buenas noches 3. Select the price list "Tarifa de ventas". Must be marked as "Price includes taxes" 4. Save the header 5. Add a discount in the discount tab: 10% 6. Move to lines and select "Agua sin gas 1L" 7. Complete the invoice. 8. Reactivate the invoice 9. Move to tax tab and notice the tax amount is correct: 9.1 The total gross is 1.53 9.2 Tax amount is 0.24 9.3 Taxable amount is 1.29 So 1.53 = 1.29 + 0.24 |
(0052897) hudsonbot (viewer) 2012-09-28 14:39 |
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/6d2f8cffd4b1 [^] Maturity status: Test |
![]() |
|||
Date Modified | Username | Field | Change |
2012-07-13 12:08 | psarobe | New Issue | |
2012-07-13 12:08 | psarobe | Assigned To | => mirurita |
2012-07-13 12:08 | psarobe | Modules | => Core |
2012-07-13 12:08 | psarobe | OBNetwork customer | => No |
2012-07-13 12:09 | psarobe | Relationship added | related to 0020553 |
2012-07-13 14:21 | mirurita | File Added: issue21068_proposedsolution.diff | |
2012-07-29 06:57 | fleroux | Note Added: 0050968 | |
2012-08-01 12:29 | fleroux | Issue Monitored: fleroux | |
2012-09-17 18:13 | pramakrishnan | Assigned To | mirurita => pramakrishnan |
2012-09-25 13:10 | dmiguelez | Note Added: 0052564 | |
2012-09-25 13:10 | hgbot | Checkin | |
2012-09-25 13:10 | hgbot | Note Added: 0052565 | |
2012-09-25 13:10 | hgbot | Status | new => resolved |
2012-09-25 13:10 | hgbot | Resolution | open => fixed |
2012-09-25 13:10 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/bd01edf33b85b09616570957afa0662ef35996b1 [^] |
2012-09-25 13:11 | dmiguelez | Closed by | => dmiguelez |
2012-09-25 13:11 | dmiguelez | Note Added: 0052566 | |
2012-09-25 13:11 | dmiguelez | Status | resolved => closed |
2012-09-25 13:34 | dmiguelez | Note Added: 0052571 | |
2012-09-28 14:39 | hudsonbot | Checkin | |
2012-09-28 14:39 | hudsonbot | Note Added: 0052897 |
Copyright © 2000 - 2009 MantisBT Group |