Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0057877Openbravo ERPZ. Otherspublic2025-02-05 14:292025-02-21 13:09
fofarril 
fofarril 
normalminorhave not tried
closedfixed 
5
 
 
Core
No
0057877: External Order Loader API - Invoice created with no payments even if the order is fully paid
When an order is imported using the External Order Loader, the invoice that is generated appears as unpaid, even though the order has been paid in full.

Related to: https://openbravo.atlassian.net/browse/RM-20961 [^]
1- Import an order using any of the postman collection examples.
For example
'Import Order - Complete order with promotions and payments, generate shipping'
2- Check the payment details of the generated invoice
No tags attached.
Issue History
2025-02-05 14:29fofarrilNew Issue
2025-02-05 14:29fofarrilAssigned To => fofarril
2025-02-05 14:29fofarrilModules => Core
2025-02-05 14:29fofarrilTriggers an Emergency Pack => No
2025-02-05 14:29fofarrilStatusnew => scheduled
2025-02-05 14:50fofarrilDescription Updatedbug_revision_view_page.php?rev_id=29183#r29183
2025-02-05 22:36hgbotNote Added: 0175186
2025-02-21 13:09hgbotNote Added: 0176020
2025-02-21 13:09hgbotResolutionopen => fixed
2025-02-21 13:09hgbotStatusscheduled => closed
2025-02-21 13:09hgbotFixed in Version => RR25Q2
2025-02-21 13:09hgbotNote Added: 0176021

Notes
(0175186)
hgbot   
2025-02-05 22:36   
Merge Request created: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1907 [^]
(0176020)
hgbot   
2025-02-21 13:09   
Merge request merged: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1907 [^]
(0176021)
hgbot   
2025-02-21 13:09   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 914a62def6ca5d871224079ded0ceb27d764bf16
Author: Francisco Javier Deler O'Farril <francisco.ofarril@doceleguas.com>
Date: 21-02-2025 12:08:58
URL: https://gitlab.com/orisha-group/bu-commerce/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/914a62def6ca5d871224079ded0ceb27d764bf16 [^]

Fixes ISSUE-57877: ExternalOrderLoader - Link payments correctly when creating Invoices

---
M src/org/openbravo/retail/posterminal/OrderLoader.java
M src/org/openbravo/retail/posterminal/utility/InvoiceUtils.java
---