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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045057
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2020-09-15 16:422020-09-15 17:10
ReporterpsanjuanView Statuspublic 
Assigned ToRetail 
PriorityurgentResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSLinux 64 bitDatabasePostgreSQLJava version7.x
OS VersionOpenbravo Appliance 14.04Database version9.3.xAnt version1.9.x
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045057: Return sales do not get the correct Tax Rate if the customer has assigned a BP Tax Category

DescriptionReturn sales do not get the correct Tax Rate if the customer has assigned a BP Tax Category
Steps To ReproduceCreate a BP Tax Category and assign it to VBS Customer.
Create a new sales tax with a 0 rate for this BP Tax Category.
In Openbravo Web POS make a sale for this customer.
Verify that the new created sales tax is shown.
Complete the sale and pay it.
By using verified return menu option, select that sale to return.

Verify that the just created sales tax is not shown, as it seems it is not being filtered by BP Tax Category.
Proposed SolutionBP Tax Category should be used while calculating sales taxes in returns.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0123073)
psanjuan (manager)
2020-09-15 17:08

This is the code failing:
if (line.has('originalTaxExempt') ? line.get('originalTaxExempt') : bpIsExempt) {
  sql = sql + " and c_tax.istaxexempt = 'true'";
} else {
  sql = sql + " and c_tax.c_taxCategory_id = '" + taxCategory + "'";
  if (bpTaxCategory) {
    sql = sql + " and c_tax.c_bp_taxcategory_id = '" + bpTaxCategory + "'";
  } else {
    sql = sql + ' and c_tax.c_bp_taxcategory_id is null';
  }
}

- Issue History
Date Modified Username Field Change
2020-09-15 16:42 psanjuan New Issue
2020-09-15 16:42 psanjuan Assigned To => Retail
2020-09-15 16:42 psanjuan Triggers an Emergency Pack => No
2020-09-15 17:08 psanjuan Note Added: 0123073
2020-09-15 17:10 psanjuan Steps to Reproduce Updated View Revisions
2020-09-15 17:10 psanjuan Proposed Solution updated


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker