Openbravo Issue Tracking System - Retail Modules |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0055876 | Retail Modules | Web POS | public | 2024-07-01 13:02 | 2024-11-07 06:31 |
|
Reporter | gorkaion | |
Assigned To | kousalya_r | |
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | RR25Q1 | |
Merge Request Status | |
Review Assigned To | |
OBNetwork customer | |
Support ticket | |
Regression level | |
Regression date | |
Regression introduced in release | |
Regression introduced by commit | |
Triggers an Emergency Pack | No |
|
Summary | 0055876: Tax calculation in the WebPOS distrubute the adjustment amount on different lines |
Description | Sometimes, the tax engine needs to perform an adjustment on the lines if "Document based" tax calculation is used, in order to ensure that line amount match with the calculated taxes.
Currently the line adjusted is the one with highest rounding amount in the opposite direction. However if the required adjustment amount is for more than 1 cent the adjustment should be spread on different lines.
For example if the adjustment amount is of 0.02 the 2 lines with highest rounded amount shall be adjusted with 1 cent each. |
Steps To Reproduce | Ensure that the tax calculation base is at document level.
Create a ticket with 10 lines of 0.01 eur each.
POS calculates a tax of 0.00EUR on each line.
At header level the total is 0.10EUR with 0.02EUR tax.
To adjust those 0.02 cents if chooses one of the lines and changes the tax amount to 0.02. These makes the line net amount to be -0.01.
The negative line net amount causes some integrations to fail.
|
Proposed Solution | Instead of adjusting one line the tax engine should have adjusted 2 lines leaving the line net amount of those to 0Eur which is accepted by the integration. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0046071 | | closed | ranjith_qualiantech_com | Tax calculation in the WebPOS should adjust the tax line with the greatest rounded difference | related to | defect | 0056612 | | closed | kousalya_r | Error in tax calculation |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2024-07-01 13:02 | gorkaion | New Issue | |
2024-07-01 13:02 | gorkaion | Assigned To | => Retail |
2024-07-01 13:02 | gorkaion | Triggers an Emergency Pack | => No |
2024-07-01 13:02 | gorkaion | Issue generated from | 0046071 |
2024-07-01 13:02 | gorkaion | Relationship added | related to 0046071 |
2024-07-01 13:21 | marvintm | Assigned To | Retail => Triage Omni OMS |
2024-07-02 08:56 | frank_gonzalez | Note Added: 0166570 | |
2024-07-16 16:07 | aferraz | Type | defect => design defect |
2024-09-02 15:52 | dmitry_mezentsev | Severity | major => minor |
2024-09-02 15:52 | dmitry_mezentsev | Type | design defect => defect |
2024-10-08 12:13 | egoitz | Severity | minor => major |
2024-10-14 10:42 | jonae | Assigned To | Triage Omni OMS => kousalya_r |
2024-10-15 18:37 | hgbot | Note Added: 0170457 | |
2024-10-17 12:34 | hgbot | Note Added: 0170528 | |
2024-10-18 09:25 | hgbot | Note Added: 0170561 | |
2024-10-23 10:06 | hgbot | Note Added: 0170809 | |
2024-10-23 21:00 | hgbot | Note Added: 0170846 | |
2024-10-23 21:00 | hgbot | Resolution | open => fixed |
2024-10-23 21:00 | hgbot | Status | new => closed |
2024-10-23 21:00 | hgbot | Fixed in Version | => RR25Q1 |
2024-10-23 21:00 | hgbot | Note Added: 0170847 | |
2024-10-23 21:00 | hgbot | Note Added: 0170848 | |
2024-10-23 21:00 | hgbot | Note Added: 0170849 | |
2024-10-24 07:14 | hgbot | Note Added: 0170856 | |
2024-10-24 07:31 | hgbot | Note Added: 0170858 | |
2024-10-24 07:31 | hgbot | Note Added: 0170859 | |
2024-10-25 14:33 | hgbot | Note Added: 0170968 | |
2024-10-25 17:38 | hgbot | Note Added: 0170972 | |
2024-10-28 09:22 | aferraz | Relationship added | related to 0056612 |
2024-11-04 16:14 | hgbot | Note Added: 0171333 | |
2024-11-07 06:30 | hgbot | Note Added: 0171598 | |
2024-11-07 06:30 | hgbot | Note Added: 0171599 | |
2024-11-07 06:31 | hgbot | Note Added: 0171600 | |
2024-11-07 06:31 | hgbot | Note Added: 0171601 | |
2024-11-07 06:31 | hgbot | Note Added: 0171602 | |
2024-11-07 06:31 | hgbot | Note Added: 0171603 | |
Notes |
|
|
|
|
(0170457)
|
hgbot
|
2024-10-15 18:37
|
|
|
|
(0170528)
|
hgbot
|
2024-10-17 12:34
|
|
|
|
(0170561)
|
hgbot
|
2024-10-18 09:25
|
|
|
|
(0170809)
|
hgbot
|
2024-10-23 10:06
|
|
|
|
(0170846)
|
hgbot
|
2024-10-23 21:00
|
|
|
|
(0170847)
|
hgbot
|
2024-10-23 21:00
|
|
|
|
(0170848)
|
hgbot
|
2024-10-23 21:00
|
|
|
|
(0170849)
|
hgbot
|
2024-10-23 21:00
|
|
|
|
(0170856)
|
hgbot
|
2024-10-24 07:14
|
|
|
|
(0170858)
|
hgbot
|
2024-10-24 07:31
|
|
|
|
(0170859)
|
hgbot
|
2024-10-24 07:31
|
|
|
|
(0170968)
|
hgbot
|
2024-10-25 14:33
|
|
|
|
(0170972)
|
hgbot
|
2024-10-25 17:38
|
|
|
|
(0171333)
|
hgbot
|
2024-11-04 16:14
|
|
|
|
(0171598)
|
hgbot
|
2024-11-07 06:30
|
|
|
|
(0171599)
|
hgbot
|
2024-11-07 06:30
|
|
|
|
(0171600)
|
hgbot
|
2024-11-07 06:31
|
|
|
|
(0171601)
|
hgbot
|
2024-11-07 06:31
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.taxes [^]
Changeset: 17a5bc9d0759a119bf22b7a4485462bf003785fa
Author: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
Date: 07-11-2024 05:31:07
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.taxes/-/commit/17a5bc9d0759a119bf22b7a4485462bf003785fa [^]
Fixed ISSUE-55876: Fixed Test Data for tax adjustment fix
---
M src-test/org/openbravo/taxes/test/data/TaxesTestData09.java
M src-test/org/openbravo/taxes/test/data/TaxesTestData24.java
M src-test/org/openbravo/taxes/test/data/TaxesTestData26.java
M src-test/org/openbravo/taxes/test/data/TaxesTestData27.java
M src-test/org/openbravo/taxes/test/data/TaxesTestData32.java
M src-test/org/openbravo/taxes/test/data/TaxesTestData34.java
M src-test/org/openbravo/taxes/test/data/TaxesTestData35.java
M src-test/org/openbravo/taxes/test/data/TaxesTestData36.java
M src-test/org/openbravo/taxes/test/data/TaxesTestData59.java
---
|
|
|
(0171602)
|
hgbot
|
2024-11-07 06:31
|
|
|
|
(0171603)
|
hgbot
|
2024-11-07 06:31
|
|
Directly closing issue as related merge request is already approved.
Repository: https://gitlab.com/openbravo/ci/mobile-test [^]
Changeset: a9c272da0c1a99a45c2cdd33b57253febadaa737
Author: Kousalya Ramasamy <k.ramasamy@external.orisha.com>
Date: 07-11-2024 05:31:13
URL: https://gitlab.com/openbravo/ci/mobile-test/-/commit/a9c272da0c1a99a45c2cdd33b57253febadaa737 [^]
Fixed ISSUE-55876: Price Adjustment data fix
---
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/initialchecks/VerifySimpleReturn.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multipricelists/I32217_MPLDiscountOnlyForOneCustomerAndDifferentTaxes.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/multipricelists/MPLDiscountsWithPriceIncludeTaxes.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/prepaymentsAndInvoiceTerms/OMNI080_CancelLayawayServiceAsPerProductUndeliverableProductPrepaymentWithApprovalAfterOrderDelivery.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/sharedpaymentmethods/SPMDiscountsWithPriceIncludeTaxes.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/taxes/MultipleLinesSameProductCascadeTaxes.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/taxes/NormalCascadeAndDependantTaxesI.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/taxes/NormalCascadeAndDependantTaxesII.java
M src-test/org/openbravo/test/mobile/retail/pack/selenium/tests/taxes/TwoSetsTaxesWithDependantTaxes.java
---
|
|