Openbravo Issue Tracking System - Openbravo Localizations
View Issue Details
0055220Openbravo LocalizationsLocalization Francepublic2024-04-17 13:312024-04-24 21:09
kousalya_r 
 
normalmajorhave not tried
closedfixed 
5
 
 
0055220: EWI generated when creating a ticket with a cross sale line
When creating a Sale ticket that only has a line that it is a cross sale line generates an EWI raising that it is not possible to save an Order Line related to a warehouse that it is not in its natural tree.

org.openbravo.base.exception.OBException: Error in OrderLoader: Entity T002-GDA/00015 - 11-04-2024 - 24.99 - 10 - 20.65 (OrderLine) with organization T002 - Burjassot references an entity T003 - Warehouse through its property OrderLine.warehouse but this referenced entity belongs to an organization T003 - SedavĂ­ which is not part of the natural tree of T002 - Burjassot
at org.openbravo.retail.posterminal.OrderLoader.saveRecord(OrderLoader.java:531)
at org.openbravo.mobile.core.process.DataSynchronizationProcess.saveRecord(DataSynchronizationProcess.java:214)

When the same ticket includes a line that it is pick and carry the json is processed correctly and the order generated with success.
*
No tags attached.
Issue History
2024-04-17 13:31kousalya_rNew Issue
2024-04-17 13:47hgbotNote Added: 0163336
2024-04-24 21:09hgbotNote Added: 0163704
2024-04-24 21:09hgbotResolutionopen => fixed
2024-04-24 21:09hgbotStatusnew => closed
2024-04-24 21:09hgbotFixed in Version => RR24Q3
2024-04-24 21:09hgbotNote Added: 0163705

Notes
(0163336)
hgbot   
2024-04-17 13:47   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1532 [^]
(0163704)
hgbot   
2024-04-24 21:09   
Merge request merged: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/1532 [^]
(0163705)
hgbot   
2024-04-24 21:09   
Directly closing issue as related merge request is already approved.

Repository: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal [^]
Changeset: 8b372e4c7e3c8e3f276fa7527265436e099f0a4a
Author: Kousalya Ramasamy <kousalya.ramasamy@openbravo.com>
Date: 24-04-2024 19:09:11
URL: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/8b372e4c7e3c8e3f276fa7527265436e099f0a4a [^]

Fixes ISSUE-55220: Adding the cross store admin property for the whole invoice creation process

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