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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032595
TypeCategorySeverityReproducibilityDate SubmittedLast Update
backport[Openbravo ERP] 09. Financial managementminoralways2016-03-29 15:162016-04-15 15:02
ReporterngarciaView Statuspublic 
Assigned ToAtulOpenbravo 
PriorityimmediateResolutionfixedFixed in Version3.0PR16Q1.1
StatusclosedFix in branchFixed in SCM revision7a915dae15ed
ProjectionnoneETAnoneTarget Version3.0PR16Q1.1
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toaferraz
Web browser
ModulesCore
Regression level
Regression date2015-11-20
Regression introduced in release
Regression introduced by commithttps://code.openbravo.com/erp/devel/pi/rev/77f1cb4dd278c84913938db669a62c4c52796486 [^]
Triggers an Emergency PackNo
Summary

0032595: Cash VAT field of document header is updated to 'N' when you insert a tax rate of 0

DescriptionCash VAT field of document header is updated to 'N' when you insert a tax rate of 0
Steps To ReproduceAs group admin role:
   Create a Tax Rate and set it as Cash VAT
   Create an exempt tax rate (Rate = 0)
   Create a Sales Order header and check the Cash VAT field is 'N'
   Add a line and select the Cash Vat Tax Rate
   Check the Cash VAT field of the header is modified to 'Y'. This is correct
   Add a new line and select the Exempt tax rate
   Check the Cash VAT field of the header is modified to 'N'. This is not correct
   Try to book the sales order and check the following error message is raised:
     "Any of the tax rates in the document doesn't match the Cash VAT configured at the header"
Proposed SolutionThe update should not be done for withholding tax rates or tax rates with 0 rate with summary level = 'N'
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
blocks defect 0032549 closedAtulOpenbravo Cash VAT field of document header is updated to 'N' when you insert a tax rate of 0 

-  Notes
(0085675)
hgbot (developer)
2016-04-15 14:59

Repository: erp/backports/3.0PR16Q1.1
Changeset: 7a915dae15ed77349d31c68374b667a9670d00a9
Author: Atul Gaware <atul.gaware <at> openbravo.com>
Date: Mon Apr 11 11:29:50 2016 +0530
URL: http://code.openbravo.com/erp/backports/3.0PR16Q1.1/rev/7a915dae15ed77349d31c68374b667a9670d00a9 [^]

Fixes Issue 32595:Cash VAT field of document header is updated to 'N'
when you insert a tax rate of 0

Added condition prior to update the order cash flag vat, to check
whether tax is non withholding tax and non zero tax.

Code is now shifted to C_OrderTax and C_InvoiceTax Triggers instead
of C_OrderLine and C_InvoiceLine Triggers.

---
M src-db/database/model/triggers/C_INVOICELINE_TRG.xml
M src-db/database/model/triggers/C_INVOICETAX_TRG.xml
M src-db/database/model/triggers/C_ORDERLINE_TRG.xml
M src-db/database/model/triggers/C_ORDERTAX_TRG.xml
---
(0085677)
aferraz (manager)
2016-04-15 15:02

Code review OK

- Issue History
Date Modified Username Field Change
2016-04-05 11:41 aferraz Type defect => backport
2016-04-05 11:41 aferraz Target Version => 3.0PR16Q1.1
2016-04-15 14:59 hgbot Checkin
2016-04-15 14:59 hgbot Note Added: 0085675
2016-04-15 14:59 hgbot Status scheduled => resolved
2016-04-15 14:59 hgbot Resolution open => fixed
2016-04-15 14:59 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/backports/3.0PR16Q1.1/rev/7a915dae15ed77349d31c68374b667a9670d00a9 [^]
2016-04-15 15:02 aferraz Review Assigned To => aferraz
2016-04-15 15:02 aferraz Note Added: 0085677
2016-04-15 15:02 aferraz Status resolved => closed
2016-04-15 15:02 aferraz Fixed in Version => 3.0PR16Q1.1


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker