Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0051838 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [POS2] POS | major | have not tried | 2023-03-13 10:16 | 2023-03-15 14:05 | |||
Reporter | ebecerra | View Status | public | |||||
Assigned To | ebecerra | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | |||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | approved | |||||||
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 | 0051838: Trying to do a VR of a ticket with menu with a discount of 100% fails | |||||||
Description | When a menu is added to ticket and then a discount of 100% is applied, then VR cannot be done. The taxes calculation fails because the menu lines have amount of zero and the calculation of line BOM taxes divide by sum of amount (div by zero exception). | |||||||
Steps To Reproduce | Create an order Add a menu Apply a discount of 100% Complete order Search for previous order Try to do VR Error | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
||||||||
|
![]() |
|
(0147472) hgbot (developer) 2023-03-13 10:45 |
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1095 [^] |
(0147551) hgbot (developer) 2023-03-15 14:05 |
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1095 [^] |
(0147552) hgbot (developer) 2023-03-15 14:05 |
Directly closing issue as related merge request is already approved. Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^] Changeset: 8ca007a8d54b797febaf3d5be4a1f4990535bec6 Author: Eduardo Becerra (OB) <eduardo.becerra@openbravo.com> Date: 15-03-2023 13:05:54 URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/8ca007a8d54b797febaf3d5be4a1f4990535bec6 [^] Fixes ISSUE-51838: Fixes calculation of line BOM taxes when amount is zero --- M web/org.openbravo.retail.posterminal/app/model/business-logic/taxes-engine/engine/tax-rules.js --- |
![]() |
|||
Date Modified | Username | Field | Change |
2023-03-13 10:16 | ebecerra | New Issue | |
2023-03-13 10:16 | ebecerra | Assigned To | => Retail |
2023-03-13 10:16 | ebecerra | OBNetwork customer | => No |
2023-03-13 10:16 | ebecerra | Triggers an Emergency Pack | => No |
2023-03-13 10:29 | guilleaer | Summary | When add a menu to ticket and applied a discount of 100% can not be a verified return => Trying to do a VR of a ticket with menu with a discount of 100% fails |
2023-03-13 10:29 | guilleaer | Description Updated | View Revisions |
2023-03-13 10:29 | guilleaer | Steps to Reproduce Updated | View Revisions |
2023-03-13 10:45 | hgbot | Merge Request Status | => open |
2023-03-13 10:45 | hgbot | Note Added: 0147472 | |
2023-03-13 12:06 | guilleaer | Status | new => scheduled |
2023-03-15 14:05 | aferraz | Assigned To | Retail => ebecerra |
2023-03-15 14:05 | hgbot | Merge Request Status | open => approved |
2023-03-15 14:05 | hgbot | Resolution | open => fixed |
2023-03-15 14:05 | hgbot | Status | scheduled => closed |
2023-03-15 14:05 | hgbot | Note Added: 0147551 | |
2023-03-15 14:05 | hgbot | Fixed in Version | => RR23Q2 |
2023-03-15 14:05 | hgbot | Note Added: 0147552 |
Copyright © 2000 - 2009 MantisBT Group |