Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0021068
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] 09. Financial managementminorhave not tried2012-07-13 12:082012-09-28 14:39
ReporterpsarobeView Statuspublic 
Assigned Topramakrishnan 
PrioritynormalResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revisionbd01edf33b85
ProjectionnoneETAnoneTarget Version
OSAnyDatabasePostgreSQLJava version
OS VersionDatabase versionAnt version
Product VersionpiSCM revision 
Review Assigned Todmiguelez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0021068: Reactivating an invoice that has discounts and price includes taxes, the tax amt sometimes is not correct

DescriptionAfter completing again de invoice everything is fine and numbers are correct

Only happens in postgres
Steps To Reproduce1. 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

TagsNo tags attached.
Attached Filesdiff file icon issue21068_proposedsolution.diff [^] (2,163 bytes) 2012-07-13 14:21 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0020553 closeddmiguelez Total Gross Amount issue 

-  Notes
(0050968)
fleroux (reporter)
2012-07-29 06:57

folks have you tested this fix? if not, can i help testing this?
(0052564)
dmiguelez (developer)
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 (developer)
2012-09-25 13:11

Code Review + Testing OK
(0052571)
dmiguelez (developer)
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 (developer)
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

- Issue History
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: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
Powered by Mantis Bugtracker