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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0054639
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Retail APIminoralways2024-02-09 14:342024-07-10 12:02
ReporterngarciaView Statuspublic 
Assigned ToSABARINATH P 
PriorityhighResolutionfixedFixed in Version
StatusclosedFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0054639: Payment amount is duplicated when exporting an order with a payment that includes two lines

DescriptionPayment amount is duplicated when exporting an order with a payment that includes two lines. Instead of getting the payment detail amount it is showing the payment amount
Steps To ReproduceIn https://livebuilds.openbravo.com/context/retail_modules_pgsql_pi [^]

Create a Sales Order in the backoffice with two lines
Pay it
Invoice it in two different invoices, one per each line
Check the payment has two lines

Use the following link to access the JSON of the order:

https://livebuilds.openbravo.com/context/retail_modules_pgsql_pi/ws/org.openbravo.api.ExportService/Order/<orderId> [^]

Check it includes two payments with the amounts of the total payment:

    "payments": [
      {
        "name": "Cash",
        "rate": 1,
        "currency": "EUR",
        "amount": 29.1,
        "paidAmount": 29.1,
        "paymentDate": "2024-02-09",
        "giftCardInstanceNo": ""
      },
      {
        "name": "Cash",
        "rate": 1,
        "currency": "EUR",
        "amount": 29.1,
        "paidAmount": 29.1,
        "paymentDate": "2024-02-09",
        "giftCardInstanceNo": ""
      }
    ],
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0166162)
hgbot (developer)
2024-06-20 14:38

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/287 [^]
(0166863)
hgbot (developer)
2024-07-10 12:02

Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/merge_requests/287 [^]
(0166864)
hgbot (developer)
2024-07-10 12:02

Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.api [^]
Changeset: d95c7e4572b42e047fb1c729f007665c94be84a4
Author: Sabarinath <sabarinath.palanisamy.ext@openbravo.com>
Date: 10-07-2024 05:41:50
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.api/-/commit/d95c7e4572b42e047fb1c729f007665c94be84a4 [^]

Fixed ISSUE-54639: Changed property of paidamount from payment - received amount

---
M src-db/database/sourcedata/OBEI_PROP_MAP_INSTANCE.xml
---

- Issue History
Date Modified Username Field Change
2024-02-09 14:34 ngarcia New Issue
2024-02-09 14:34 ngarcia Assigned To => Triage Platform Conn
2024-02-09 14:34 ngarcia Triggers an Emergency Pack => No
2024-06-06 16:05 adrianromero Assigned To Triage Platform Conn => Retail
2024-06-17 08:36 guillermogil Status new => acknowledged
2024-06-19 11:54 SABARINATH P Assigned To Retail => SABARINATH P
2024-06-19 11:54 SABARINATH P Status acknowledged => scheduled
2024-06-20 14:38 hgbot Note Added: 0166162
2024-07-10 12:02 hgbot Note Added: 0166863
2024-07-10 12:02 hgbot Resolution open => fixed
2024-07-10 12:02 hgbot Status scheduled => closed
2024-07-10 12:02 hgbot Note Added: 0166864


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker