Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0025386 | Retail Modules | Web POS | public | 2013-12-20 12:33 | 2014-01-14 12:16 |
|
Reporter | migueldejuana | |
Assigned To | marvintm | |
Priority | urgent | Severity | major | Reproducibility | always |
Status | closed | Resolution | duplicate | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | No |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0025386: Tax rate is not well obtained. |
Description | When adding a product, we select the first tax rate ordered by valid from date column desc(Only ordered in the back end, it should be ordered in the front end). This is wrong because we could insert a tax rate which would start in the future and it would be applied before it should be. |
Steps To Reproduce | - Add a tax rate used (IVA 21% for example) and put a future date in valid from date.
- Go to Web POS and add a product with this tax and see the tax applied |
Proposed Solution | - In dataordertaxes.js, filter TaxRate model using orderDate of the order (validFromDate <= orderDate)
- Add orderByClause in this filtering (validFromDate desc) |
Additional Information | |
Tags | No tags attached. |
Relationships | duplicate of | defect | 0025325 | RMP31 | closed | malsasua | Web POS is not taking into account valid from field in taxes |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-12-20 12:33 | migueldejuana | New Issue | |
2013-12-20 12:33 | migueldejuana | Assigned To | => marvintm |
2013-12-20 12:33 | migueldejuana | OBNetwork customer | => No |
2013-12-20 12:33 | migueldejuana | Triggers an Emergency Pack | => No |
2013-12-29 16:36 | dmitry_mezentsev | Note Added: 0063102 | |
2013-12-29 16:36 | dmitry_mezentsev | Severity | critical => major |
2014-01-14 12:16 | malsasua | Relationship added | duplicate of 0025325 |
2014-01-14 12:16 | malsasua | Status | new => closed |
2014-01-14 12:16 | malsasua | Resolution | open => duplicate |