Openbravo Issue Tracking System - Retail Modules
View Issue Details
0048271Retail ModulesWeb POSpublic2021-12-17 10:542022-01-07 12:59
kchoperena 
rqueralta 
normalmajoralways
scheduledopen 
5
 
 
https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/4a6a736d0ba3a352286d04a83c4a4b48964f8e2c [^]
No
0048271: Error doing a C&R in a terminal that does not have the payment method of the FIN_Paymentmethod_ID in a not paid Layaway
CONTEXT:
Layaway without payments that have in the FIN_Paymentmethod_ID column a payment method that the terminal does not have configured as payment method

If we execute a C&R, the setDefaultPaymentType method of POSUtils.java will throw an exception because the payment method does not exist

1.- Create a layaway in Webpos in a terminal with only solde client configured as the payment method
2.- Run a C&R of the layaway in the same terminal

EXPECTED RESULT:
The setDefaultPaymentType method throws an exception
In the past, the default payment method is searched just using the terminal, organization and currency.

Add another query with the old logic before throw an exception

No tags attached.
diff patch_48271.diff (1,993) 2021-12-21 10:51
https://issues.openbravo.com/file_download.php?file_id=16465&type=bug
Issue History
2021-12-17 10:54kchoperenaNew Issue
2021-12-17 10:54kchoperenaAssigned To => Retail
2021-12-17 10:54kchoperenaRegression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/4a6a736d0ba3a352286d04a83c4a4b48964f8e2c [^]
2021-12-17 10:54kchoperenaTriggers an Emergency Pack => No
2021-12-21 10:51kchoperenaFile Added: patch_48271.diff
2022-01-06 05:16rqueraltaAssigned ToRetail => rqueralta
2022-01-06 05:17rqueraltaStatusnew => scheduled
2022-01-07 12:59hgbotNote Added: 0134152

Notes
(0134152)
hgbot   
2022-01-07 12:59   
Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/682 [^]