Openbravo Issue Tracking System - POS2
View Issue Details
0056911POS2POSpublic2024-10-28 09:382024-11-20 10:33
psanjuan 
radhakrishnan 
urgentmajoralways
newopen 
30Openbravo Appliance 14.04
 
 
No
0056911: org.hibernate.execption when launching "Issue Order" function in a Sale with 2 deposit invoices
org.hibernate.exeception when launching "Issue Order" function in a Sale with 2 deposit invoices. See image attached.
In livebuilds (modules_pgsql backend)

Configure deposit invoice feature by:
- selecting "Generate Simplified Invoice" and "Enable Deposit Invoice" in the channel touchpoint type"
- enable Prepayment and Partial Payments in the store, and entering the "prepayment percentage", and "prepayment percentage limit" (50 - 50 for instance)
- selecting "After Delivery" invoice term in Arturo Montoro
- entering de prefix for the Deposit Invoice in the channel touchpoint (ie. DI)
- creating a deposit item (resource type) which must be included also in the store in the field "Deposit Item".
- configuring a Deposit Invoice DocumentType as AR_Invoice, and selecting this document type in the POS Order of the Store.

After that:
Create an order for Arturo Montoro, of a product with "Pick up in Store" delivery term.
Pay partially 50%
Complete the order
Go to the Orders menu and select the order.
Pay it completely (50%)
Go to the Orders menu and select the order and the option "Issue Order".
The error attached is shown.
No error should be shown. It should be possible to deliver the order.
No tags attached.
png Screenshot 2024-10-28 092857.png (177,954) 2024-10-28 09:39
https://issues.openbravo.com/file_download.php?file_id=20384&type=bug
png

png Screenshot 2024-10-28 092952.png (68,044) 2024-10-28 09:39
https://issues.openbravo.com/file_download.php?file_id=20385&type=bug
png
Issue History
2024-10-28 09:38psanjuanNew Issue
2024-10-28 09:38psanjuanAssigned To => Retail
2024-10-28 09:38psanjuanTriggers an Emergency Pack => No
2024-10-28 09:39psanjuanSteps to Reproduce Updatedbug_revision_view_page.php?rev_id=28682#r28682
2024-10-28 09:39psanjuanFile Added: Screenshot 2024-10-28 092857.png
2024-10-28 09:39psanjuanFile Added: Screenshot 2024-10-28 092952.png
2024-10-28 09:47psanjuanAssigned ToRetail => Triage Omni OMS
2024-10-28 13:18aferrazAssigned ToTriage Omni OMS => radhakrishnan
2024-10-28 13:19aferrazNote Added: 0171049
2024-11-20 10:33hgbotNote Added: 0172307

Notes
(0171049)
aferraz   
2024-10-28 13:19   
Jira: https://openbravo.atlassian.net/browse/RM-18773 [^]
(0172307)
hgbot   
2024-11-20 10:33   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.localization.portugal.fiscalization/-/merge_requests/120 [^]