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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0048271
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Retail Modules] Web POSmajoralways2021-12-17 10:542022-01-07 12:59
ReporterkchoperenaView Statuspublic 
Assigned Torqueralta 
PrioritynormalResolutionopenFixed in Version
StatusscheduledFix 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 commithttps://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/4a6a736d0ba3a352286d04a83c4a4b48964f8e2c [^]
Triggers an Emergency PackNo
Summary

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

DescriptionCONTEXT:
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

Steps To Reproduce1.- 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
Proposed SolutionIn 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

TagsNo tags attached.
Attached Filesdiff file icon patch_48271.diff [^] (1,993 bytes) 2021-12-21 10:51 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(0134152)
hgbot (developer)
2022-01-07 12:59

Merge Request created: https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/merge_requests/682 [^]

- Issue History
Date Modified Username Field Change
2021-12-17 10:54 kchoperena New Issue
2021-12-17 10:54 kchoperena Assigned To => Retail
2021-12-17 10:54 kchoperena Regression introduced by commit => https://gitlab.com/openbravo/product/pmods/org.openbravo.retail.posterminal/-/commit/4a6a736d0ba3a352286d04a83c4a4b48964f8e2c [^]
2021-12-17 10:54 kchoperena Triggers an Emergency Pack => No
2021-12-21 10:51 kchoperena File Added: patch_48271.diff
2022-01-06 05:16 rqueralta Assigned To Retail => rqueralta
2022-01-06 05:17 rqueralta Status new => scheduled
2022-01-07 12:59 hgbot Note Added: 0134152


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker