Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
ID | ||||||||||||
0045057 | ||||||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
defect | [Retail Modules] Web POS | major | always | 2020-09-15 16:42 | 2020-10-16 08:37 | |||||||
Reporter | psanjuan | View Status | public | |||||||||
Assigned To | Retail | |||||||||||
Priority | urgent | Resolution | open | Fixed in Version | ||||||||
Status | new | Fix in branch | Fixed in SCM revision | |||||||||
Projection | none | ETA | none | Target Version | ||||||||
OS | Linux 64 bit | Database | PostgreSQL | Java version | 7.x | |||||||
OS Version | Openbravo Appliance 14.04 | Database version | 9.3.x | Ant version | 1.9.x | |||||||
Product Version | SCM revision | |||||||||||
Review Assigned To | ||||||||||||
Regression level | ||||||||||||
Regression date | ||||||||||||
Regression introduced in release | ||||||||||||
Regression introduced by commit | ||||||||||||
Triggers an Emergency Pack | No | |||||||||||
Summary | 0045057: Return sales do not get the correct Tax Rate if the customer has assigned a BP Tax Category | |||||||||||
Description | Return sales do not get the correct Tax Rate if the customer has assigned a BP Tax Category | |||||||||||
Steps To Reproduce | Create 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 Solution | BP Tax Category should be used while calculating sales taxes in returns. | |||||||||||
Tags | No 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 |